Tested-by: Marge <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178> Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
10 lines
326 B
Python
Executable file
10 lines
326 B
Python
Executable file
#!/usr/bin/env python
|
|
from subprocess import call
|
|
|
|
# initial make
|
|
call(["python", "-m", "sphinx", ".", "/tmp/_build"])
|
|
from livereload import Server, shell # noqa: E402
|
|
|
|
server = Server()
|
|
server.watch("..", shell("python -m sphinx . /tmp/_build"))
|
|
server.serve(root="/tmp/_build/", liveport=35730, port=8001, host="0.0.0.0")
|