Skip to content

Commit

Permalink
Leave docs-v2.sh in the project
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamBergamin committed Jul 5, 2024
1 parent e182fcb commit 5c0e206
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/docs-v2.sh
Original file line number Diff line number Diff line change
@@ -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 -

0 comments on commit 5c0e206

Please sign in to comment.