rust/src/doc/rustdoc
bors bb97203e37 Auto merge of #124611 - Urgau:rustdoc-stdin, r=GuillaumeGomez
Add `-` (stdin) support in rustdoc

This PR adds support for the special `-` input which threats the input as coming from *stdin* instead of being a filepath.

Doing this also makes `rustdoc` consistent with `rustc` and ~~every~~ other tools. Full [motivation](https://github.com/rust-lang/rust/pull/124611#issuecomment-2094234876).

Fixes https://github.com/rust-lang/rust/issues/123671
r? `@fmease`
2024-05-18 10:53:47 +00:00
..
src Auto merge of #124611 - Urgau:rustdoc-stdin, r=GuillaumeGomez 2024-05-18 10:53:47 +00:00
.gitignore add a new mdbook for rustdoc 2017-05-31 12:46:17 -04:00
book.toml doc(rustdoc): redirect more urls 2022-10-27 00:17:16 +08:00
README.md Stabilize extended_key_value_attributes 2021-05-18 01:01:36 -04:00

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.