ci (docs): document private items

This commit is contained in:
naskya 2024-05-25 03:28:37 +09:00 committed by Eana Hufwe
parent b510ec2ef3
commit af0480d70c

View file

@ -286,7 +286,7 @@ cargo:doc:
- cp ci/cargo/config.toml /usr/local/cargo/config.toml
- npm install --global netlify-cli
script:
- cargo doc --no-deps
- cargo doc --no-deps --document-private-items
- printf '<meta http-equiv="refresh" content="0; url=%s">' 'backend_rs' > target/doc/index.html
- cd target/doc
- netlify deploy --prod --site="${CARGO_DOC_SITE_ID}" --dir=.