Add sphinx-autobuild to gitpod setup

pull/908/head
Tim Head 2020-06-08 13:25:02 +02:00
rodzic bf3f46776a
commit 1d96628d4d
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -1,9 +1,10 @@
tasks: tasks:
- init: | - init: |
pip3 install sphinx-autobuild
pip3 install -r docs/doc-requirements.txt pip3 install -r docs/doc-requirements.txt
pip3 install -e. pip3 install -e.
command: | command: |
cd docs && make html && cd build/html && python3 -m http.server 8080 sphinx-autobuild docs/source/ docs/build/html/
name: Sphinx preview name: Sphinx preview
ports: ports:
- port: 8080 - port: 8000