-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Integrate mdbook into rustdoc #66249
Comments
There has long been a suggestion for "integrate mdbook into rustdoc and/or |
I think this is a good idea and something we might want to have on the long-term. However it brings some questions:
|
@kinnison also raised the question of what to do with these links in reexported symbols (when they reference some file local to the repo that isn't in the one that reexports). |
This is |
@jyn514 sorta; you can take it that way, or you can take it as "be able to make mdbooks with rustdoc too", that is, expanding rustdoc to not just be for API documentation, but for all documentation in your project. |
Related: rust-lang/mdBook#1356 |
There is a related bug to this against Cargo as well: rust-lang/cargo#739 |
It doesn't seem to be possible to include external markdown files without using
include_file!
. By this I mean your file would have to be included in your code hierarchy and it's not possible to have it as a separate hierarchy.This could be useful for getting-started (even though usually included in the README), debugging-tips, or various tutorials.
A few ideas where this could be used:
The text was updated successfully, but these errors were encountered: