Skip to content

fix: resolve cargo doc collision and rustdoc warnings#71

Merged
chaliy merged 2 commits intomainfrom
claude/fix-doc-collision-T490I
Feb 2, 2026
Merged

fix: resolve cargo doc collision and rustdoc warnings#71
chaliy merged 2 commits intomainfrom
claude/fix-doc-collision-T490I

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Feb 2, 2026

Summary

  • Disable doc generation for CLI binary to fix collision with library docs
  • Fix rustdoc warnings for private module links, unescaped brackets, and bare URLs

Test plan

  • cargo doc --no-deps completes without warnings
  • No filename collision warning

https://claude.ai/code/session_01LNHxiWJ83at7dSeCMi8Bax

The binary target `bashkit` in bashkit-cli was colliding with the
library crate `bashkit` when generating documentation, both outputting
to /target/doc/bashkit/index.html.

Setting `doc = false` on the binary target resolves this since the
CLI is just a thin wrapper and the library contains the actual API docs.

https://claude.ai/code/session_01LNHxiWJ83at7dSeCMi8Bax
- Remove doc link to private `fs` module in lib.rs
- Escape brackets in array syntax examples in ast.rs
- Wrap bare URLs in backticks in allowlist.rs

https://claude.ai/code/session_01LNHxiWJ83at7dSeCMi8Bax
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@chaliy chaliy merged commit f59c065 into main Feb 2, 2026
7 checks passed
@chaliy chaliy deleted the claude/fix-doc-collision-T490I branch February 2, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants