-
Notifications
You must be signed in to change notification settings - Fork 13.3k
manpage out of date #25689
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
Comments
@rillian would you like to send a PR updating the man page (they're in https://github.com/rust-lang/rust/tree/master/man), or should someone else? |
I prepared pull requests. We should probably figure out a way to update or generate these as part of the build though. |
Yeah, it least using a template to plugin the version number automatically would help. |
Quick update to fix two manpage issues I noticed in rust-lang#25689.
Quick update to fix two manpage issues I noticed in rust-lang#25689.
Quick update to fix two manpage issues I noticed in rust-lang#25689.
Changing to A-build as the immediate documenation situation has been addressed. |
Current Line 1 in a76698b
@steveklabnik, is there perhaps work underway, planned or desired to autoproduce the man pages? |
@sanmai-NL, there's no such effort underway. As a first step, I'd be interested in a patch that just fills in the version automatically. In the long-term I'm not sure if producing the full man pages is desirable or not, but relates to the problem of man pages being useless on windows. A reason the man pages aren't updated much may be that they are rarely seen. If this information was written as part of the published documentation, so more people could use it, then converted to man pages it may get more contributions. |
IIRC, there was some work in Cargo to do generated manpages. |
Reasons to keep the man pages:
I agree that writing man pages manually is undesirable. Have you seen Docker Engine's man page production workflow? I personally would prefer that you'd start using Asciidoctor, since that's basically the best OSS technical documentation system around, and it can render man pages as well as DocBook, responsive (X)HTML5, PDF, etc. What about thinking differently, not along the lines of superseding the man pages with ‘the published documentation’ but rather considering them part of ‘the documentation’ and accounted for as such. |
The recent man page work on cargo first used ASCIIDOC, but we rejected it in favor of keeping the consistency of Markdown everywhere. On Jun 13, 2016, 10:28 +0200, Sander [email protected], wrote:
|
This is meant to resolve rust-lang#25689.
template month/year, version into man pages while building dist tarball  This is meant to resolve #25689. r? @alexcrichton
In the 1.0.0 release (and master) the rustc and rustdoc man pages say they document version '0.13.0 March 2014'.
Looks like some of the contents are stable as well, e.g. the rust manpage suggests '-C target-cpu=help' for which rustc --help gives 'llc -mcpu=help'.
The text was updated successfully, but these errors were encountered: