fixed docs folder not included in readthedocs build

float_support
Anton Lydike 4 years ago
parent 40559f00b4
commit e8870420d3

@ -9,6 +9,11 @@ if ! command -v 'sphinx-apidoc'; then
pip install sphinx pip install sphinx
fi fi
# delete old help folder
rm -rf sphinx-docs/source/help
cp -r docs sphinx-docs/source/help
if [[ $1 == 'generate' ]]; then if [[ $1 == 'generate' ]]; then
PYTHONPATH=../../ sphinx-apidoc -e -f -o . ../../riscemu ../../riscemu/colors.py ../../riscemu/__main__.py PYTHONPATH=../../ sphinx-apidoc -e -f -o . ../../riscemu ../../riscemu/colors.py ../../riscemu/__main__.py
echo "only generating, not building..." echo "only generating, not building..."
@ -16,9 +21,6 @@ if [[ $1 == 'generate' ]]; then
exit 0 exit 0
fi fi
# delete old help folder
rm -rf sphinx-docs/source/help
cp -r docs sphinx-docs/source/help
PYTHONPATH=. sphinx-apidoc -e -f -o sphinx-docs/source riscemu riscemu/colors.py riscemu/__main__.py PYTHONPATH=. sphinx-apidoc -e -f -o sphinx-docs/source riscemu riscemu/colors.py riscemu/__main__.py

Loading…
Cancel
Save