We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc2bfa commit 900af41Copy full SHA for 900af41
src/bootstrap/doc.rs
@@ -465,7 +465,11 @@ impl Step for Std {
465
fn run(self, builder: &Builder<'_>) {
466
let stage = self.stage;
467
let target = self.target;
468
- let out = builder.doc_out(target);
+ let out = match self.format {
469
+ DocumentationFormat::HTML => builder.doc_out(target),
470
+ DocumentationFormat::JSON => builder.json_doc_out(target),
471
+ };
472
+
473
t!(fs::create_dir_all(&out));
474
475
builder.ensure(SharedAssets { target: self.target });
0 commit comments