Skip to content

Tried adding rustdoc args to no effect :-/ #154

@carols10cents

Description

@carols10cents

It's entirely possible we're doing something wrong, but I don't know what that something could be.

We're trying to document private items on crates.io's library crate, cargo_registry. We've specified this in Cargo.toml:

[project.metadata.docs.rs]
rustdoc-args = ["--no-defaults --passes collapse-docs --passes unindent-comments"]

And then published version 0.2.0, but I don't see private things like the DOCUMENTATION_BLACKLIST constant in the docs :(

When I run this command locally, I do see the private items in the generated docs:

cargo rustdoc --lib -- --no-defaults --passes collapse-docs --passes unindent-comments

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions