aboutsummaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/update_gh-pages.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/update_gh-pages.sh b/extra/update_gh-pages.sh
index cf325f63..2771c24e 100755
--- a/extra/update_gh-pages.sh
+++ b/extra/update_gh-pages.sh
@@ -9,14 +9,14 @@ set -e -u -o pipefail
cd rust
cargo doc
mkdir -p /tmp/fatcat-ghpages
-cp -r target/doc/fatcat target/doc/fatcat_api_spec /tmp/fatcat-ghpages
+cp -r target/doc/fatcat target/doc/fatcat_openapi /tmp/fatcat-ghpages
cd ..
git checkout gh-pages
mv fatcat fatcat.old_docs || true
-mv fatcat_api_spec fatcat_api_spec.old_docs || true
+mv fatcat_openapi fatcat_openapi.old_docs || true
mv /tmp/fatcat-ghpages/fatcat .
-mv /tmp/fatcat-ghpages/fatcat_api_spec .
-git add fatcat fatcat_api_spec
+mv /tmp/fatcat-ghpages/fatcat_openapi .
+git add fatcat fatcat_openapi
git commit -m "updating rendered manpage for github docs" || true
git checkout master
rm -r /tmp/fatcat-ghpages