mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
24 lines
428 B
Bash
Executable File
24 lines
428 B
Bash
Executable File
#!/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!" |