Skip to content
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

cargo doc: Optionally generate foo/index.html with foo/ links, instead of foo.html #1017

Closed
SimonSapin opened this issue Dec 6, 2014 · 2 comments

Comments

@SimonSapin
Copy link
Contributor

If rust-lang/rust#19600 happens, it should be exposed by cargo doc. A command-line switch should be available so that cargo doc can default to generating longer links that work for file://… local viewing, but e.g. a Travis-CI script can generate nicer-looking links for HTTP(S) publication.

@alexcrichton
Copy link
Member

I believe this is more of a rustdoc issue than a Cargo issue as Cargo isn't the one generating any of these links, so I think this would be better placed in rust-lang/rust instead of here.

@SimonSapin
Copy link
Contributor Author

The rustdoc issue is rust-lang/rust#19600, as linked from the first message. Assuming that one gets fixed, this issue is about exposing it somehow to cargo doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants