Skip to content

Commit

Permalink
Add invoke task for serving documentation.
Browse files Browse the repository at this point in the history
Less typing, and a bit more obvious for anyone else.
  • Loading branch information
xiongchiamiov committed Sep 8, 2013
1 parent 44edb3e commit 567b175
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks.py
Expand Up @@ -8,6 +8,11 @@ def test():
def doc():
run('cd docs && make html')

@task
def docserve():
print 'Serving docs on localhost:8000...'
run('cd docs/_build/html && python -m SimpleHTTPServer')

@task
def publish():
run('./setup.py sdist upload')
Expand Down

0 comments on commit 567b175

Please sign in to comment.