about summary refs log tree commit diff
path: root/src/bootstrap/builder.rs
diff options
context:
space:
mode:
authorLuca Palmieri <rust@lpalmieri.com>2022-09-14 13:49:05 +0200
committerLuca Palmieri <rust@lpalmieri.com>2022-09-17 21:58:34 +0200
commit235dccef2b8012e7d9da87f4b6091912d802cff2 (patch)
tree5bc6336a2eaba7770223d3e83a724656ef53c78f /src/bootstrap/builder.rs
parent9da4644d5685aa0c4daa4aea6ddc9eb834ae51cc (diff)
downloadrust-235dccef2b8012e7d9da87f4b6091912d802cff2.tar.gz
rust-235dccef2b8012e7d9da87f4b6091912d802cff2.zip
Add a new component, `rust-json-docs`, to distribute the JSON-formatted documentation for std crates in nightly toolchains.
We also add a new flag to `x doc`, `--json`, to render the JSON-formatted version alongside the HTML-formatted one.
Diffstat (limited to 'src/bootstrap/builder.rs')
-rw-r--r--src/bootstrap/builder.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 14e8ebd6876..3d5933f1f14 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -708,6 +708,7 @@ impl<'a> Builder<'a> {
             Kind::Dist => describe!(
                 dist::Docs,
                 dist::RustcDocs,
+                dist::JsonDocs,
                 dist::Mingw,
                 dist::Rustc,
                 dist::Std,