From a32f2092856f39f784aea2c5ffbf479ce34eb3e5 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Tue, 9 Oct 2018 23:11:18 +0200 Subject: [PATCH] Copy autodocs to hand-implemented methods in RepoExtManual --- rust-bindings/rust/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rust-bindings/rust/Makefile b/rust-bindings/rust/Makefile index 0754a879..c1dfa142 100644 --- a/rust-bindings/rust/Makefile +++ b/rust-bindings/rust/Makefile @@ -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