blob: 218cacfa0723e97f92ed13c5688d71319f7ba49b [file] [log] [blame] [view]
{{#option "`--output-format`"}}
The output type for the documentation emitted. Valid values:
* `html` (default): Emit the documentation in HTML format.
* `json`: Emit the documentation in the [experimental JSON format](https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc_json_types).
This option is only available on the [nightly channel](https://doc.rust-lang.org/book/appendix-07-nightly-rust.html)
and requires the `-Z unstable-options` flag to enable.
{{/option}}