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.
published_docs
1 parent 373ac08 commit ddf8d10Copy full SHA for ddf8d10
documentation/put.sh
@@ -92,7 +92,8 @@ up=".."
92
93
# unused_doc_comments,unused_attribute: caused by false positives from doc(cfg(...)) attributes.
94
export RUSTFLAGS="--cfg published_docs -A unused_imports -A dead_code -A unexpected_cfgs -A unused_doc_comments -A unused_attributes"
95
-# export RUSTDOCFLAGS=...
+# All doc(cfg(...)) attributes are gated behind `published_docs` cfg – therefore it must be supplied as well.
96
+export RUSTDOCFLAGS="--cfg published_docs"
97
98
# shellcheck disable=SC2086
99
cargo +nightly doc -p $mainCrate $features --no-deps --target-dir $up/target
0 commit comments