Switch to modd for live docs build

This commit is contained in:
Adrian Sampson 2017-12-21 11:39:08 -05:00
parent d939c3e648
commit 6a65722b37
2 changed files with 7 additions and 10 deletions

7
docs/modd.conf Normal file
View file

@ -0,0 +1,7 @@
**/*.rst {
prep: make html
}
_build/html/** {
daemon: devd -m _build/html
}

View file

@ -1,10 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division, absolute_import, print_function
from livereload import Server, shell
server = Server()
server.watch('*.rst', shell('make html'))
server.serve(root='_build/html')