mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
6c242a0da4
Add possibility to generate rustdoc JSON output to stdout Fixes #127165. I think it's likely common to want to get rustdoc json output directly instead of reading it from a file so I added this option to allow it. It's unstable and only works with `--output-format=json`. r? `@aDotInTheVoid`
Rustdoc
This is documentation for rustdoc itself, written in mdbook format.
To build the book, use x.py doc src/doc/rustdoc.
To run doctests, use x.py test src/doc/rustdoc.