view tasks.py @ 912:cd236a6af9f6

data: Add access to route metadata in the templating data. It's available under `route`. Also, rename `slug` to `rel_url`, because it's confusing when `slug` could be the route metadata of the same name as provided by the default page source. The old `slug` is still there for backwards compatibility though.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 28 Apr 2017 10:05:14 -0700
parents 79aefe82c6b6
children
line wrap: on
line source

from invoke import Collection, task, run
from garcon.benchsite import genbenchsite
from garcon.changelog import genchangelog
from garcon.documentation import gendocs
from garcon.messages import genmessages
from garcon.pypi import makerelease


ns = Collection()
ns.add_task(genbenchsite, name='benchsite')
ns.add_task(genchangelog, name='changelog')
ns.add_task(gendocs, name='docs')
ns.add_task(genmessages, name='messages')
ns.add_task(makerelease, name='release')