summaryrefslogtreecommitdiff
path: root/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli.py')
-rwxr-xr-xcli.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli.py b/cli.py
index ba31cc4..b7dc56f 100755
--- a/cli.py
+++ b/cli.py
@@ -15,7 +15,7 @@ import logging.config
here = Path(__file__).abspath().dirname()
-logging.config.dictConfig(yaml.load((here / 'log.yaml').open()))
+logging.config.dictConfig(yaml.load((here / 'log.yaml').open(), Loader=yaml.FullLoader))
logger = logging.getLogger(__name__)
@@ -84,11 +84,11 @@ def pack():
sh('unzip -l dist/*.whl')
-@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)
+#@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)
@cli.command()