-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Rustdoc could (have an option to) create a top-level index page #16103
Comments
👍 |
/cc me |
This could also some try to integrate with any standalone markdown files, e.g. projects might have a tutorial or some specific feature guides just like the main repo. |
Triage: no change. We have been discussing a Cargo feature which would let you build standalone files with Rustdoc, so I'm not sure if maybe that isn't a better approach anyway. Maybe. |
👍 |
I'm thinking this could be solved in addition to a way for cargo to build arbitrary docs. For example.
Here the |
Link to the associated issue: rust-lang/cargo#739 |
Triage: no change. @rust-lang/rustdoc do we ever plan on implementing this? |
That is actually a good idea! It's a shame I never came across it earlier. Adding it. |
Update: This was implemented in #54543, which is currently being tested by bors. |
And it has been merged so I'm closing it. |
Currently rustdoc creates
doc/foo/index.html
doc/bar/index.html
(etc.) for cratesfoo
,bar
, along withdoc/searchIndex.js
. We could provide a way to create a human readabledoc/index.html
summarising all the crates in a folder (like how the search index works).This could even take a markdown/html file as input to provide a longer description (theoretically this may allow Rust's current
index.md
top-level file to be properly integrated into the crate docs, although this may not be desirable, which is why this functionality should be optional).The text was updated successfully, but these errors were encountered: