-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Update rustdoc man page #42180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update rustdoc man page #42180
Conversation
It still includes the section about output formats, including JSON output. |
man/rustdoc.1
Outdated
don't include table of contents | ||
.TP | ||
\fB\-h\fR, \fB\-\-extend\-css\fR | ||
to redefine some css rules with a given file to generate doc with your own theme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be in sync with #41700
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't expect it to be merged before it so perfect. :D
9129752
to
b59dbb0
Compare
Updated. |
man/rustdoc.1
Outdated
.TP | ||
\fB\-V\fR, \fB\-\-version\fR | ||
Print rustdoc's version | ||
|
||
.SH "OUTPUT FORMATS" | ||
|
||
The rustdoc tool can generate output in either an HTML or JSON format. | ||
The rustdoc tool can generate output in either an HTML or Markdown format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rustdoc can't create Markdown files, can't it? I was under the impression that the only thing rustdoc can output is the regular HTML pages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum indeed, confused with the markdown input.
b59dbb0
to
d9eacb1
Compare
Updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! r=me after this.
man/rustdoc.1
Outdated
Print help | ||
\fB\-\-markdown\-no\-toc\fR | ||
don't include table of contents | ||
.TP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated lines
d9eacb1
to
4785441
Compare
@bors: r=QuietMisdreavus rollup |
📌 Commit 4785441 has been approved by |
…reavus Update rustdoc man page r? @rust-lang/docs r? @rust-lang/dev-tools
☀️ Test successful - status-appveyor, status-travis |
r? @rust-lang/docs
r? @rust-lang/dev-tools