correctly generate the bindings docs

This commit is contained in:
Bilal Elmoussaoui 2020-06-19 19:17:40 +02:00
parent 48b2aab053
commit 6c61af4b89
No known key found for this signature in database
GPG key ID: 1FFF9F28D4E0F10E

View file

@ -20,6 +20,10 @@ build:
pages:
stage: deploy
script:
# generate the docs
- cargo run --release -- -c ./libhandy/Gir.toml -d ./gir-files --doc-target-path docs.md -m doc
- cargo install rustdoc-stripper
- rustdoc-stripper -g -o ./libhandy/docs.md
- cargo doc -p libhandy --all-features
- mv target/doc/ public
artifacts: