Copy autodocs to hand-implemented methods in RepoExtManual

This commit is contained in:
Felix Krull 2018-10-09 23:11:18 +02:00 committed by Colin Walters
parent f8c4c83c9c
commit a32f209285

View File

@ -20,6 +20,11 @@ generate-libostree: gir/libostree update-docs
# docs
update-docs: tools/bin/gir tools/bin/rustdoc-stripper
tools/bin/gir -c conf/libostree.toml -m doc
sed -i \
-e "s/trait RepoExt::fn list_refs/trait RepoExtManual::fn list_refs/" \
-e "s/trait RepoExt::fn list_refs_ext/trait RepoExtManual::fn list_refs_ext/" \
-e "s/trait RepoExt::fn traverse_commit/trait RepoExtManual::fn traverse_commit/" \
libostree/vendor.md
tools/bin/rustdoc-stripper -g -o libostree/vendor.md
rm libostree/vendor.md