Fix links; add readme task

master
Steven Loria 8 years ago
parent c73aae7dbd
commit 190b1b3bb8
  1. 1
      .gitignore
  2. 6
      README.rst
  3. 8
      tasks.py

1
.gitignore vendored

@ -39,6 +39,7 @@ output/*/index.html
# Sphinx
docs/_build
README.html
# Cookiecutter
output/

@ -78,9 +78,9 @@ Changelog
0.11.1 (11/06/2016)
*******************
- Correctly pass first parameter to ``Flask`` according to the 0.11 `docs <http://flask.pocoo.org/docs/0.11/api/#application-object>`. Thanks `aliavni <https://github.com/aliavni>`.
- Remove setuptools and wheel as dependencies to fix deployment on Heroku. Thanks `Cabalist <https://github.com/Cabalist>`.
- Make User.password a Binary field for compatibility with new versions of bcrypt. Thanks again `Cabalist <https://github.com/Cabalist>`.
- Correctly pass first parameter to ``Flask`` according to the 0.11 `docs <http://flask.pocoo.org/docs/0.11/api/#application-object>`_. Thanks `@aliavni <https://github.com/aliavni>`_.
- Remove setuptools and wheel as dependencies to fix deployment on Heroku. Thanks `@Cabalist <https://github.com/Cabalist>`_.
- Make User.password a Binary field for compatibility with new versions of bcrypt. Thanks again `@Cabalist <https://github.com/Cabalist>`_.
0.11.0 (09/10/2016)
*******************

@ -4,6 +4,7 @@
import os
import json
import shutil
import webbrowser
from invoke import task
@ -44,3 +45,10 @@ def test(ctx):
os.chdir(COOKIE)
_run_flask_command(ctx, 'lint')
_run_flask_command(ctx, 'test')
@task
def readme(ctx, browse=False):
ctx.run("rst2html.py README.rst > README.html")
if browse:
webbrowser.open_new_tab('README.html')

Loading…
Cancel
Save