Skip to content

rustdoc man page out of date #13622

Closed
@exscape

Description

@exscape

The following options are shown in rustdoc --help but not in man rustdoc:

--version           print rustdoc's version
--cfg               pass a --cfg to rustc
--test              run code examples as tests
--test-args ARGS    arguments to pass to the test runner
--markdown-css FILES
                    CSS files to include via <link> in a rendered Markdown
                    file
--markdown-in-header FILES
                    files to include inline in the <head> section of a
                    rendered Markdown file
--markdown-before-content FILES
                    files to include inline between <body> and the content
                    of a rendered Markdown file
--markdown-after-content FILES
                    files to include inline between the content and
                    </body> of a rendered Markdown file

Indeed, the man page doesn't in any way mention the ability to test documentation or modify the output (except for choosing between HTML and JSON).

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