chore: Run postgrest-style on docs files

This prevents CI from failing after the merge.
This commit is contained in:
Wolfgang Walther
2024-02-17 13:43:11 +01:00
parent 8aa8e682a2
commit 7f410f3be0
3 changed files with 90 additions and 89 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
#!/usr/bin/env python
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", ".", "_build"])
server = Server()
server.watch('**/*.rst', shell('sphinx-build -b html -a -n . _build'))
server.watch("**/*.rst", shell("sphinx-build -b html -a -n . _build"))
# For custom port and host
# server.serve(root='_build/', host='192.168.1.2')
server.serve(root='_build/')
server.serve(root="_build/")