Always generate private and hidden items in JSON docs of the stdlib#159188
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors r+ rollup=iff Probably has some implications for shipping these on stable/beta channels (though not sure that it's a blocker), but seems reasonable. |
|
Invalid command: Invalid rollup mode |
|
@bors rollup=iffy r+ |
|
@bors r+ rollup=iffy |
…k-Simulacrum
Always generate private and hidden items in JSON docs of the stdlib
This data is needed for downstream tools, e.g. cargo-semver-checks, to analyse the whole stdlib.
For the HTML output it is configurable using `build.library-docs-private-items`, but to avoid adding a separate config for just the JSON format, I think that we can just enable it unconditionally.
An alternative would be to change the flag from a bool to something like
```rust
enum StdDocsPrivateItems {
No,
Yes,
Html,
Json
}
```
|
Looks like we need a drive-by change to fix a trivial lint. |
|
This pull request was unapproved. This PR was contained in a rollup (#159546), which was unapproved. |
|
Oh, that's interesting. Looks like actually documenting private/hidden docs on CI also helps catch bugs in docs! |
|
Some changes occurred in cc @Amanieu, @folkertdev, @sayantn |
|
@bors try jobs=dist-aarch64-linux I tried |
This comment has been minimized.
This comment has been minimized.
Always generate private and hidden items in JSON docs of the stdlib try-job: dist-aarch64-linux
|
Fixed the CI failure. @bors r=Mark-Simulacrum rollup=iffy |
|
💔 Test for e4ac328 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
Always generate private and hidden items in JSON docs of the stdlib try-job: arch64-msvc-1
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
Always generate private and hidden items in JSON docs of the stdlib try-job: aarch64-msvc-1
…k-Simulacrum
Always generate private and hidden items in JSON docs of the stdlib
This data is needed for downstream tools, e.g. cargo-semver-checks, to analyse the whole stdlib.
For the HTML output it is configurable using `build.library-docs-private-items`, but to avoid adding a separate config for just the JSON format, I think that we can just enable it unconditionally.
An alternative would be to change the flag from a bool to something like
```rust
enum StdDocsPrivateItems {
No,
Yes,
Html,
Json
}
```
…uwer Rollup of 6 pull requests Successful merges: - #159188 (Always generate private and hidden items in JSON docs of the stdlib) - #159567 (Update rustc crate crossbeam-epoch to 0.9.20) - #150732 (Convert `-Ctarget-cpu` into a target-modifier for AVR, AMDGCN and NVPTX ) - #151793 (Add mul_add_relaxed methods for floating-point types) - #159549 (restrict const-eval-related 'content' triggers to library/ folder) - #159570 (fix ICE in opsem inhabitedness check)
…uwer Rollup of 5 pull requests Successful merges: - #159188 (Always generate private and hidden items in JSON docs of the stdlib) - #159567 (Update rustc crate crossbeam-epoch to 0.9.20) - #150732 (Convert `-Ctarget-cpu` into a target-modifier for AVR, AMDGCN and NVPTX ) - #159549 (restrict const-eval-related 'content' triggers to library/ folder) - #159570 (fix ICE in opsem inhabitedness check)
|
Unknown argument "dist-x86_64-linux". Did you mean to use |
|
@bors try jobs=dist-x86_64-linux |
|
⌛ Trying commit c84d862 with merge f33fe6c… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/29711723531 |
Always generate private and hidden items in JSON docs of the stdlib try-job: dist-x86_64-linux
…uwer Rollup of 5 pull requests Successful merges: - #159188 (Always generate private and hidden items in JSON docs of the stdlib) - #159567 (Update rustc crate crossbeam-epoch to 0.9.20) - #150732 (Convert `-Ctarget-cpu` into a target-modifier for AVR, AMDGCN and NVPTX ) - #159549 (restrict const-eval-related 'content' triggers to library/ folder) - #159570 (fix ICE in opsem inhabitedness check)
Rollup merge of #159188 - Kobzol:rustdoc-json-private, r=Mark-Simulacrum Always generate private and hidden items in JSON docs of the stdlib This data is needed for downstream tools, e.g. cargo-semver-checks, to analyse the whole stdlib. For the HTML output it is configurable using `build.library-docs-private-items`, but to avoid adding a separate config for just the JSON format, I think that we can just enable it unconditionally. An alternative would be to change the flag from a bool to something like ```rust enum StdDocsPrivateItems { No, Yes, Html, Json } ```
|
Somehow the try job took longer than the actual run? @bors try cancel |
|
Try build cancelled. Cancelled workflows: |
View all comments
This data is needed for downstream tools, e.g. cargo-semver-checks, to analyse the whole stdlib.
For the HTML output it is configurable using
build.library-docs-private-items, but to avoid adding a separate config for just the JSON format, I think that we can just enable it unconditionally.An alternative would be to change the flag from a bool to something like