some more small release changes
Before adoption: this commit came in with the history the project adopted, so no landing records it.
--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
authored by Armin Ronacher · committed by Armin Ronacher · parent 825e522 · Browse files · 13 files·+201 added−201 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
13 files+201 added−201 removed
- other:+201 added−201 removed
Provenance
- Commit
99e5baa- Tree
6fb28ee- Author
Armin Ronacher <armin.ronacher@active-4.com>- Committer
Armin Ronacher <armin.ronacher@active-4.com>- Parent
825e522
13 files changed+201 added−201 removed
deleted:docs/build/jinjabanner.pngbinary
A binary file, deleted.
deleted:docs/build/jinjalogo.pngbinary
A binary file, deleted.
deleted:docs/build/style.css-196 removed
1-body {2- background-color: #333;3- margin: 0;4- padding: 0;5- font-family: 'Georgia', serif;6- font-size: 15px;7- color: #111;8-}9-10-#content {11- background-color: white;12- background-image: url(watermark.png);13- padding: 10px;14- margin: 25px;15- border: 4px solid #ddd;16-}17-18-h1 {19- margin: 0;20- padding: 0;21- height: 80px;22- background-image: url(jinjabanner.png);23- background-repeat: no-repeat;24-}25-26-h1 span {27- display: none;28-}29-30-h2.subheading {31- margin: -55px 0 35px 200px;32- font-weight: normal;33- font-size: 30px;34- color: #444;35-}36-37-h2.plain {38- margin: 0;39-}40-41-#jinjalogo {42- background-image: url(jinjalogo.png);43- background-repeat: no-repeat;44- width: 400px;45- height: 160px;46-}47-48-#contentwrapper {49- max-width: 700px;50- padding: 0 0 20px 18px;51-}52-53-#contentwrapper h3,54-#contentwrapper h3 a {55- color: #b41717;56- font-size: 26px;57- margin: 20px 0 0 -5px;58-}59-60-#contentwrapper h4,61-#contentwrapper h4 a {62- color: #b41717;63- font-size: 20px;64- margin: 20px 0 0 0;65-}66-67-table.docutils {68- border-collapse: collapse;69- border: 2px solid #aaa;70- margin: 0.5em 1.5em 0.5em 1.5em;71-}72-73-table.docutils td {74- padding: 2px;75- border: 1px solid #ddd;76-}77-78-p, li, dd, dt, blockquote {79- color: #333;80-}81-82-p {83- line-height: 150%;84- margin-bottom: 0;85- margin-top: 10px;86- text-align: justify;87-}88-89-hr {90- border-top: 1px solid #ccc;91- border-bottom: 0;92- border-right: 0;93- border-left: 0;94- margin-bottom: 10px;95- margin-top: 20px;96-}97-98-dl {99- margin-left: 10px;100-}101-102-li, dt {103- margin-top: 5px;104-}105-106-dt {107- font-weight: bold;108-}109-110-th {111- text-align: left;112- padding: 3px;113- background-color: #f2f2f2;114-}115-116-a {117- color: #b41717;118-}119-120-a:hover {121- color: #444;122-}123-124-pre {125- background-color: #f9f9f9;126- border-top: 1px solid #ccc;127- border-bottom: 1px solid #ccc;128- padding: 5px;129- font-size: 13px;130- font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;131-}132-133-tt {134- font-size: 13px;135- font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;136- color: black;137- padding: 1px 2px 1px 2px;138- background-color: #f0f0f0;139-}140-141-cite {142- /* abusing <cite>, it's generated by ReST for `x` */143- font-size: 13px;144- font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;145- font-weight: bold;146- font-style: normal;147-}148-149-div.admonition {150- margin: 10px 0 10px 0;151- padding: 10px;152- border: 1px solid #ccc;153- background-color: #f8f8f8;154-}155-156-div.admonition p.admonition-title {157- margin: -3px 0 5px 0;158- font-weight: bold;159- color: #b41717;160- font-size: 16px;161-}162-163-div.admonition p {164- margin: 0 0 0 40px;165-}166-167-#toc {168- margin: 0 -10px 10px 15px;169- padding: 10px;170- width: 200px;171- float: right;172- background-color: #f8f8f8;173- border: 1px solid #ccc;174- border-right: none;175-}176-177-#toc h2 {178- font-size: 20px;179- margin: 0 0 10px 0;180- padding: 0;181- color: #444;182-}183-184-#toc ul {185- margin: 0 0 0 30px;186- padding: 0;187-}188-189-#toc ul + h2 {190- margin-top: 10px;191-}192-193-#toc ul li {194- padding: 0;195- margin: 2px 0 2px 0;196-}deleted:docs/build/watermark.pngbinary
A binary file, deleted.
added:docs/html/jinjabanner.pngbinary
A binary file, added.
added:docs/html/jinjalogo.pngbinary
A binary file, added.
added:docs/html/style.css+196 added
1+body {2+ background-color: #333;3+ margin: 0;4+ padding: 0;5+ font-family: 'Georgia', serif;6+ font-size: 15px;7+ color: #111;8+}9+10+#content {11+ background-color: white;12+ background-image: url(watermark.png);13+ padding: 10px;14+ margin: 25px;15+ border: 4px solid #ddd;16+}17+18+h1 {19+ margin: 0;20+ padding: 0;21+ height: 80px;22+ background-image: url(jinjabanner.png);23+ background-repeat: no-repeat;24+}25+26+h1 span {27+ display: none;28+}29+30+h2.subheading {31+ margin: -55px 0 35px 200px;32+ font-weight: normal;33+ font-size: 30px;34+ color: #444;35+}36+37+h2.plain {38+ margin: 0;39+}40+41+#jinjalogo {42+ background-image: url(jinjalogo.png);43+ background-repeat: no-repeat;44+ width: 400px;45+ height: 160px;46+}47+48+#contentwrapper {49+ max-width: 700px;50+ padding: 0 0 20px 18px;51+}52+53+#contentwrapper h3,54+#contentwrapper h3 a {55+ color: #b41717;56+ font-size: 26px;57+ margin: 20px 0 0 -5px;58+}59+60+#contentwrapper h4,61+#contentwrapper h4 a {62+ color: #b41717;63+ font-size: 20px;64+ margin: 20px 0 0 0;65+}66+67+table.docutils {68+ border-collapse: collapse;69+ border: 2px solid #aaa;70+ margin: 0.5em 1.5em 0.5em 1.5em;71+}72+73+table.docutils td {74+ padding: 2px;75+ border: 1px solid #ddd;76+}77+78+p, li, dd, dt, blockquote {79+ color: #333;80+}81+82+p {83+ line-height: 150%;84+ margin-bottom: 0;85+ margin-top: 10px;86+ text-align: justify;87+}88+89+hr {90+ border-top: 1px solid #ccc;91+ border-bottom: 0;92+ border-right: 0;93+ border-left: 0;94+ margin-bottom: 10px;95+ margin-top: 20px;96+}97+98+dl {99+ margin-left: 10px;100+}101+102+li, dt {103+ margin-top: 5px;104+}105+106+dt {107+ font-weight: bold;108+}109+110+th {111+ text-align: left;112+ padding: 3px;113+ background-color: #f2f2f2;114+}115+116+a {117+ color: #b41717;118+}119+120+a:hover {121+ color: #444;122+}123+124+pre {125+ background-color: #f9f9f9;126+ border-top: 1px solid #ccc;127+ border-bottom: 1px solid #ccc;128+ padding: 5px;129+ font-size: 13px;130+ font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;131+}132+133+tt {134+ font-size: 13px;135+ font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;136+ color: black;137+ padding: 1px 2px 1px 2px;138+ background-color: #f0f0f0;139+}140+141+cite {142+ /* abusing <cite>, it's generated by ReST for `x` */143+ font-size: 13px;144+ font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;145+ font-weight: bold;146+ font-style: normal;147+}148+149+div.admonition {150+ margin: 10px 0 10px 0;151+ padding: 10px;152+ border: 1px solid #ccc;153+ background-color: #f8f8f8;154+}155+156+div.admonition p.admonition-title {157+ margin: -3px 0 5px 0;158+ font-weight: bold;159+ color: #b41717;160+ font-size: 16px;161+}162+163+div.admonition p {164+ margin: 0 0 0 40px;165+}166+167+#toc {168+ margin: 0 -10px 10px 15px;169+ padding: 10px;170+ width: 200px;171+ float: right;172+ background-color: #f8f8f8;173+ border: 1px solid #ccc;174+ border-right: none;175+}176+177+#toc h2 {178+ font-size: 20px;179+ margin: 0 0 10px 0;180+ padding: 0;181+ color: #444;182+}183+184+#toc ul {185+ margin: 0 0 0 30px;186+ padding: 0;187+}188+189+#toc ul + h2 {190+ margin-top: 10px;191+}192+193+#toc ul li {194+ padding: 0;195+ margin: 2px 0 2px 0;196+}added:docs/html/watermark.pngbinary
A binary file, added.
modified:docs/src/designerdoc.txt+1 added-1 removed
279 unmodified lines280 With Jinja 1.2 onwards it's possible to replace basic if/else blocks with the281 inline `if` / `else` expression. The following two examples evaluate to the282 same:283 284-.. source:: jinja284+.. sourcecode:: jinja285 286 {{ "something" if expr else "otherthing" }}287 288 {% if expr %}something{% else %}otherthing{% endif %}277 unmodified linesmodified:docs/src/frameworks.txt+1 added-1 removed
221 unmodified lines222 You can use it in the template like this then::223 224 {{ render_author_details('John Doe') }}225 226-``clean_inclusion (func, template[, name[, run_processors]]) ``226+``clean_inclusion (func, template[, name[, run_processors]])``227 Works like `context_inclusion` but doesn't use the calles228 context but an empty context. If `run_processors` is `True`229 it will lookup the context for a `request` object and pass230 it to the render function to apply context processors.7 unmodified linesmodified:docs/generate.py+1 added-1 removed
315 unmodified lines316 finally:317 f.close()318 319 320-def main(dst='build/', preproc=False, *sources):320+def main(dst='html/', preproc=False, *sources):321 run(os.path.realpath(dst), str(preproc).lower() == 'true', sources)322 323 324 if __name__ == '__main__':1 unmodified linemodified:MANIFEST.in+1 added-1 removed
1 include Makefile CHANGES LICENSE AUTHORS TODO ez_setup.py2-include docs/build/*.html2+include docs/html/*3 include docs/src/*.txt4 recursive-include tests *modified:setup.py+1 added-1 removed
77 unmodified lines78 ],79 keywords=['python.templating.engines'],80 packages=['jinja', 'jinja.translators'],81 data_files=[82- ('docs', list(list_files('docs/build'))),82+ ('docs/html', list(list_files('docs/html'))),83 ('docs/txt', list(list_files('docs/src')))84 ],85 entry_points='''86 [python.templating.engines]21 unmodified lines