summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-03-01 23:40:19 +0530
committerGitHub <noreply@github.com>2023-03-01 23:40:19 +0530
commit38461f8b8aa3979f5008005c049cd84c4e216ace (patch)
tree0ac0e63d89df1ef9545f2de885dfe474494d0d61 /tests/rustdoc-js-std/parser-errors.js
parentf03e5345aa5bbee3c35a394238431b1267f7ab93 (diff)
parent317be6172af280ab0f8565f2fb5ffa2bcd3b2712 (diff)
downloadrust-38461f8b8aa3979f5008005c049cd84c4e216ace.tar.gz
rust-38461f8b8aa3979f5008005c049cd84c4e216ace.zip
Rollup merge of #108394 - ferrocene:pa-open, r=ozkanonur
Make `x doc --open` work on every book

Before this PR, the `--open` flag had to be configured explicitly for every book, and most of them didn't configure it, resulting in the flag silently failing in all but two books.

In this PR, the code to check for the `--open` flag is in the underlying `RustbookSrc` step rather than all the individual steps. This is done by passing the parent step as a field of `RustbookSrc`, so that we can check for the correct step in `maybe_open_in_browser`.

This was part of a larger change that in the end wasn't worth it. Still, I think it could be useful as-is.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions