mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
Add back API docs merge to Makefile
I guess we can't do it as part of the crate, so we do it separately.
This commit is contained in:
parent
587c6d4778
commit
2b76bf8330
@ -42,8 +42,9 @@ libostree_nightly:
|
||||
docs:
|
||||
stage: docs
|
||||
script:
|
||||
- make merge-lgpl-docs
|
||||
- cd libostree
|
||||
- cargo doc --verbose --features "dox lgpl-docs"
|
||||
- cargo doc --verbose --features dox
|
||||
artifacts:
|
||||
paths:
|
||||
- target/doc
|
||||
|
@ -21,6 +21,15 @@ generate-libostree-sys: gir/libostree-sys
|
||||
generate-libostree: gir/libostree
|
||||
|
||||
|
||||
# -- LGPL docs generation --
|
||||
tools/bin/rustdoc-stripper:
|
||||
cargo install --root tools -- rustdoc-stripper
|
||||
|
||||
merge-lgpl-docs: tools/bin/gir tools/bin/rustdoc-stripper
|
||||
tools/bin/gir -c conf/libostree.toml -m doc
|
||||
tools/bin/rustdoc-stripper -g -o target/vendor.md
|
||||
|
||||
|
||||
# -- gir file management --
|
||||
update-gir-files: \
|
||||
remove-gir-files \
|
||||
|
@ -3,6 +3,7 @@ work_mode = "normal"
|
||||
library = "OSTree"
|
||||
version = "1.0"
|
||||
target_path = "../libostree"
|
||||
doc_target_path = "../target/vendor.md"
|
||||
deprecate_by_min_version = true
|
||||
|
||||
girs_dir = "../gir-files"
|
||||
|
Loading…
Reference in New Issue
Block a user