| {{#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}} |