diff garcon/documentation.py @ 990:22cf13b86cc3

cm: Upgrade Garcon tasks to the latest PyInvoke version.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 19 Nov 2017 14:29:52 -0800
parents d4b9d86d3d6f
children bd6cc78666b7
line wrap: on
line diff
--- a/garcon/documentation.py	Sun Nov 19 14:29:17 2017 -0800
+++ b/garcon/documentation.py	Sun Nov 19 14:29:52 2017 -0800
@@ -16,7 +16,7 @@
     'venv_dir': "The directory of the virtual environment to use to run "
                 "PieCrust."
     })
-def gendocs(tmp_dir=None, out_dir=None, root_url=None, venv_dir=None):
+def gendocs(ctx, tmp_dir=None, out_dir=None, root_url=None, venv_dir=None):
     base_dir = os.path.abspath(
             os.path.join(os.path.dirname(__file__), '..'))
     os.chdir(base_dir)