Rollup merge of #83055 - aDotInTheVoid:selective-strip-item-doc, r=jyn514
[rustdoc] Don't document stripped items in JSON renderer.
Fixes #80664, see [my comment there](https://github.com/rust-lang/rust/issues/80664#issuecomment-797557948) for why
Note that we already do something similar in `convert_item`:
bb4cdf8ec0/src/librustdoc/json/conversions.rs (L28-L31)
``@rustbot`` modify labels: +T-rustdoc +A-rustdoc-json
r? ``@jyn514``
cc ``@CraftSpider``
This commit is contained in:
commit
0502815529
11 changed files with 98 additions and 7 deletions
|
|
@ -290,6 +290,8 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
|
|||
"html"
|
||||
}
|
||||
|
||||
const RUN_ON_MODULE: bool = true;
|
||||
|
||||
fn init(
|
||||
mut krate: clean::Crate,
|
||||
options: RenderOptions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue