mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
Enabling Coach Documentation to be run even when environments are not installed (#326)
This commit is contained in:
24
docs_raw/build_docs.sh
Executable file
24
docs_raw/build_docs.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "installing requirements..."
|
||||
|
||||
pip3 install Sphinx
|
||||
pip3 install recommonmark
|
||||
pip3 install sphinx_rtd_theme
|
||||
pip3 install sphinx-autobuild
|
||||
pip3 install sphinx-argparse
|
||||
|
||||
echo "Making docs..."
|
||||
|
||||
make html
|
||||
|
||||
echo "Copying new docs into coach/docs/"
|
||||
|
||||
cp source/_static/css/custom.css build/html/_static/css/
|
||||
rm -rf ../docs/
|
||||
mkdir ../docs
|
||||
touch ../docs/.nojekyll
|
||||
cp -R build/html/* ../docs/
|
||||
rm -r build
|
||||
|
||||
echo "Finished!"
|
||||
Reference in New Issue
Block a user