From 5c0e20614b0c0d294caacba226a0e2b0d0889703 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 5 Jul 2024 10:20:27 -0400 Subject: [PATCH] Leave docs-v2.sh in the project --- scripts/docs-v2.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/docs-v2.sh diff --git a/scripts/docs-v2.sh b/scripts/docs-v2.sh new file mode 100644 index 000000000..035efc434 --- /dev/null +++ b/scripts/docs-v2.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +script_dir=`dirname $0` +cd ${script_dir}/.. + +sphinx-build -E -c ./docs-src-v2/_themes/slack/ -b html docs-src-v2 docs-v2 \ + && touch ./docs-v2/.nojekyll \ + && cd docs-v2/ \ + && mv _static/* assets/ \ + && find . -name '*.html' | xargs sed -i '' 's/_static/assets/'g \ + && cd -