File: serve-doc.py

package info (click to toggle)
mistune 3.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 856 kB
  • sloc: python: 4,006; makefile: 26; sh: 6
file content (5 lines) | stat: -rw-r--r-- 137 bytes parent folder | download | duplicates (2)
1
2
3
4
5
from livereload import Server, shell

app = Server()
app.watch("docs", shell("make build-docs"), delay=2)
app.serve(root="build/_html/")