include Makefile CHANGES LICENSE AUTHORS TODO ez_setup.py
-include docs/build/*.html
+include docs/html/*
include docs/src/*.txt
recursive-include tests *
f.close()
-def main(dst='build/', preproc=False, *sources):
+def main(dst='html/', preproc=False, *sources):
run(os.path.realpath(dst), str(preproc).lower() == 'true', sources)
inline `if` / `else` expression. The following two examples evaluate to the
same:
-.. source:: jinja
+.. sourcecode:: jinja
{{ "something" if expr else "otherthing" }}
{{ render_author_details('John Doe') }}
-``clean_inclusion (func, template[, name[, run_processors]]) ``
+``clean_inclusion (func, template[, name[, run_processors]])``
Works like `context_inclusion` but doesn't use the calles
context but an empty context. If `run_processors` is `True`
it will lookup the context for a `request` object and pass
keywords=['python.templating.engines'],
packages=['jinja', 'jinja.translators'],
data_files=[
- ('docs', list(list_files('docs/build'))),
+ ('docs/html', list(list_files('docs/html'))),
('docs/txt', list(list_files('docs/src')))
],
entry_points='''