diff options
| author | jryannel <juergen@ryannel.org> | 2017-04-03 20:18:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-03 20:18:23 +0200 |
| commit | c82d515e541c31019784e884e50d093fb955d49a (patch) | |
| tree | 14d81aaf05495739fcf250152d97626fde952743 /cli.py | |
| parent | 7e116e10bf9ee1ef19c12e7c3d24f7ba3b8e9800 (diff) | |
yaml based inline annotations (#31)
* added support for inline yaml based annotations
* CLI supports now livereloading of the documentation
* updated the documentation to cover more annoations insights
* added support for inline yaml based annotations
* CLI supports now livereloading of the documentation
* updated the documentation to cover more annoations insights
* clarified that there should be one annotation per line
Diffstat (limited to 'cli.py')
| -rwxr-xr-x | cli.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -11,6 +11,8 @@ import os import yaml import logging import logging.config +from livereload import Server, shell + here = os.path.dirname(__file__) @@ -173,5 +175,12 @@ def upload(): sh('twine upload dist/*') +@cli.command() +def docs_serve(): + server = Server() + server.watch('docs/*.rst', shell('make html', cwd='docs')) + server.serve(root='docs/_build/html', open_url=True) + + if __name__ == '__main__': cli() |
