Add support for building and hosting mdBook content #1293
Labels
C-enhancement
Category: This is a new feature
E-hard
Effort: This will require a lot of work
S-needs-design
Status: There's a problem here, but no obvious solution; or the solution raises other questions
Motivation
One of the best aspects of docs.rs is that it encourages developers to create high-quality API-focused documentation by removing roadblocks around building and hosting the generated content.
I think it would be wonderful to extend this concept to building and hosting longer-form documentation produced by mdBook. This will encourage developers to produce this style of content as a complement to the rustdoc-generated documentation.
Guide-level explanation
Add this to your Cargo.toml:
Push your code to crates.io
After a bit, visit
https://docs.rs/book/crate-name/x.y.z
Drawbacks
Unresolved questions
https://docs.rs/book/crate-name/x.y.z
https://docs.rs/crate-name/book/x.y.z
https://docs.rs/crate-name/x.y.z/book-name
(wherebook-name
is the name of the book, not a hard-coded string)Future possibilities
Please feel free to edit this summary comment!
The text was updated successfully, but these errors were encountered: