chore: Move *.rst files to docs/ folder

Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
Wolfgang Walther
2022-01-30 13:35:55 +01:00
committed by Wolfgang Walther
parent 0ae86b7e74
commit a85dfe9558
45 changed files with 17 additions and 11 deletions
+5 -5
View File
@@ -2,12 +2,12 @@
from livereload import Server, shell
from subprocess import call
## Build docs at startup
call(['sphinx-build', '-b', 'html', '-a', '-n', '.', '_build'])
call(['sphinx-build', '-b', 'html', '-a', '-n', 'docs', '_build'])
server = Server()
server.watch('*.rst', shell('sphinx-build -b html -a -n . _build'))
server.watch('tutorials/*.rst', shell('sphinx-build -b html -a -n . _build'))
server.watch('how-tos/*.rst', shell('sphinx-build -b html -a -n . _build'))
server.watch('releases/*.rst', shell('sphinx-build -b html -a -n . _build'))
server.watch('*.rst', shell('sphinx-build -b html -a -n docs _build'))
server.watch('tutorials/*.rst', shell('sphinx-build -b html -a -n docs _build'))
server.watch('how-tos/*.rst', shell('sphinx-build -b html -a -n docs _build'))
server.watch('releases/*.rst', shell('sphinx-build -b html -a -n docs _build'))
# For custom port and host
# server.serve(root='_build/', host='192.168.1.2')
server.serve(root='_build/')