From: Armin Ronacher Date: Sat, 17 Nov 2007 20:56:19 +0000 (+0100) Subject: some more small release changes X-Git-Tag: 2.0rc1~236 X-Git-Url: http://git.tremily.us/?p=jinja2.git;a=commitdiff_plain;h=99e5baa28f94c2dcd7d2bc4ddaa4095f86f58d42 some more small release changes --HG-- branch : trunk rename : docs/build/jinjabanner.png => docs/html/jinjabanner.png rename : docs/build/jinjalogo.png => docs/html/jinjalogo.png rename : docs/build/style.css => docs/html/style.css rename : docs/build/watermark.png => docs/html/watermark.png --- diff --git a/MANIFEST.in b/MANIFEST.in index 181a4aa..d94a6da 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ include Makefile CHANGES LICENSE AUTHORS TODO ez_setup.py -include docs/build/*.html +include docs/html/* include docs/src/*.txt recursive-include tests * diff --git a/docs/generate.py b/docs/generate.py index 6b6b0ac..8d9f3a0 100755 --- a/docs/generate.py +++ b/docs/generate.py @@ -317,7 +317,7 @@ def run(dst, preproc, sources=(), handle_file=handle_file): 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) diff --git a/docs/build/jinjabanner.png b/docs/html/jinjabanner.png similarity index 100% rename from docs/build/jinjabanner.png rename to docs/html/jinjabanner.png diff --git a/docs/build/jinjalogo.png b/docs/html/jinjalogo.png similarity index 100% rename from docs/build/jinjalogo.png rename to docs/html/jinjalogo.png diff --git a/docs/build/style.css b/docs/html/style.css similarity index 100% rename from docs/build/style.css rename to docs/html/style.css diff --git a/docs/build/watermark.png b/docs/html/watermark.png similarity index 100% rename from docs/build/watermark.png rename to docs/html/watermark.png diff --git a/docs/src/designerdoc.txt b/docs/src/designerdoc.txt index 978565a..cc0cbde 100644 --- a/docs/src/designerdoc.txt +++ b/docs/src/designerdoc.txt @@ -281,7 +281,7 @@ With Jinja 1.2 onwards it's possible to replace basic if/else blocks with the inline `if` / `else` expression. The following two examples evaluate to the same: -.. source:: jinja +.. sourcecode:: jinja {{ "something" if expr else "otherthing" }} diff --git a/docs/src/frameworks.txt b/docs/src/frameworks.txt index 88aafea..96a1cfa 100644 --- a/docs/src/frameworks.txt +++ b/docs/src/frameworks.txt @@ -223,7 +223,7 @@ Available methods on the `register` object: {{ 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 diff --git a/setup.py b/setup.py index 772e1ea..b09a380 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ setup( 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='''