some small documentation style fixes
Before adoption: this commit came in with the history the project adopted, so no landing records it.
--HG-- branch : trunk
authored by Armin Ronacher · committed by Armin Ronacher · parent 9d472df · Browse files · 3 files·+72 added−51 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+72 added−51 removed
- other:+72 added−51 removed
Provenance
- Commit
6b44952- Tree
0a8a33d- Author
Armin Ronacher <armin.ronacher@active-4.com>- Committer
Armin Ronacher <armin.ronacher@active-4.com>- Parent
9d472df
3 files changed+72 added−51 removed
modified:docs/_static/style.css+30 added-2 removed
6 unmodified lines7 color: #eee;8 }9 10 div.footer {11- padding: 5px;11+ padding: 8px;12+ font-size: 11px;13 text-align: center;14 }15 16 div.footer a {94 unmodified lines111 color: #333;112 }113 114 p {114- line-height: 150%;115+ line-height: 20px;116 margin-bottom: 0;117 margin-top: 10px;118 text-align: justify;119 }16 unmodified lines136 }137 138 dt {139 font-weight: bold;140+ color: #000;141 }142 143+dd {144+ margin-top: 10px;145+ line-height: 20px;146+}147+148 th {149 text-align: left;150 padding: 3px;151 background-color: #f2f2f2;108 unmodified lines260 table.indextable td {261 vertical-align: top;262 width: 50%;263 }264+265+table.indextable dl dd {266+ font-size: 11px;267+}268+269+table.indextable dl dd a {270+ color: #000;271+}272+273+dl.function dt,274+dl.class dt {275+ font-weight: normal;276+}277+278+dt .descname {279+ font-weight: bold;280+}281+282+dl dt big {283+ font-size: 100%;284+}modified:docs/_templates/genindex.html+28 added-36 removed
12345567897891011111213141516171819202122232425262728293031323334351314151617181920212223242526272829303132333435363738394041424336{% extends "layout.html" %}{% title = 'Index' %}{% block body %}
<h1 id="index">Index</h1> <h1 id="index">Index</h1>
{% for key, dummy in genindexentries -%} <a href="#{{ key }}"><strong>{{ key }}</strong></a> {% if not loop.last %}| {% endif %} {%- endfor %} {% for key, dummy in genindexentries -%} <a href="#{{ key }}"><strong>{{ key }}</strong></a> {% if not loop.last %}| {% endif %} {%- endfor %} <hr>
<hr /> {% for key, entries in genindexentries %} <h2 id="{{ key }}">{{ key }}</h2> <table class="indextable"><tr> {%- for column in entries|slice(2) %}{% if column %} <td><dl> {%- for entryname, (links, subitems) in column %} <dt>{% if links %}<a href="{{ links[0] }}">{{ entryname|e }}</a> {% for link in links[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor %} {%- else %}{{ entryname|e }}{% endif %}</dt> {%- if subitems %} <dd><dl> {%- for subentryname, subentrylinks in subitems %} <dt><a href="{{ subentrylinks[0] }}">{{ subentryname|e }}</a> {%- for link in subentrylinks[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor -%} </dt> {%- endfor %} </dl></dd> {%- endif -%} {%- endfor %} </dl></td> {%- endif %}{% endfor %} </tr></table> {% endfor %}
{% for key, entries in genindexentries %}<h2 id="{{ key }}">{{ key }}</h2><table class="indextable"><tr><td><dl>{%- breakat = genindexcounts[loop.index0] // 2 %}{%- numcols = 1 %}{%- numitems = 0 %}{% for entryname, (links, subitems) in entries %}<dt>{%- if links -%}<a href="{{ links[0] }}">{{ entryname|e }}</a> {%- for link in links[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor -%} {%- else -%}{{ entryname|e }} {%- endif -%}</dt> {%- if subitems %} <dd><dl> {%- for subentryname, subentrylinks in subitems %} <dt><a href="{{ subentrylinks[0] }}">{{ subentryname|e }}</a> {%- for link in subentrylinks[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor -%} </dt> {%- endfor %} </dl></dd> {%- endif -%}{%- numitems = numitems + 1 + len(subitems) -%}{%- if numcols < 2 and numitems > breakat -%}{%- numcols = numcols+1 -%}</dl></td><td><dl>{%- endif -%}{%- endfor %}</dl></td></tr></table>{% endfor %}
{% endblock %}modified:docs/_templates/layout.html+14 added-13 removed
1234567678910116 unmodified lines181920212222232425252627282927282930313132333334353536373838394041414243444519 unmodified lines65666768696970717273<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <title>Jinja2 Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css"> <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css"> {%- if builder != 'htmlhelp' %} <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '{{ pathto("", 1) }}',6 unmodified lines {%- endif %} {%- if use_opensearch and builder != 'htmlhelp' %} <link rel="search" type="application/opensearchdescription+xml" title="Search within {{ docstitle }}" href="{{ pathto('_static/opensearch.xml', 1) }}"/> href="{{ pathto('_static/opensearch.xml', 1) }}"> {%- endif %} {%- if hasdoc('about') %} <link rel="author" title="About these documents" href="{{ pathto('about') }}" /> <link rel="author" title="About these documents" href="{{ pathto('about') }}"> {%- endif %} <link rel="contents" title="Global table of contents" href="{{ pathto('contents') }}" /> <link rel="index" title="Global index" href="{{ pathto('genindex') }}" /> <link rel="search" title="Search" href="{{ pathto('search') }}" /> <link rel="contents" title="Global table of contents" href="{{ pathto('contents') }}"> <link rel="index" title="Global index" href="{{ pathto('genindex') }}"> <link rel="search" title="Search" href="{{ pathto('search') }}"> {%- if hasdoc('copyright') %} <link rel="copyright" title="Copyright" href="{{ pathto('copyright') }}" /> <link rel="copyright" title="Copyright" href="{{ pathto('copyright') }}"> {%- endif %} <link rel="top" title="{{ docstitle }}" href="{{ pathto('index') }}" /> <link rel="top" title="{{ docstitle }}" href="{{ pathto('index') }}"> {%- if parents %} <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" /> <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}"> {%- endif %} {%- if next %} <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" /> <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}"> {%- endif %} {%- if prev %} <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" /> <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}"> {%- endif %} </head> <body> <div id="content">19 unmodified lines {% block body %}{% endblock %} </div> </div> <div class="footer"> © Copyright 2008 by the <a href="http://pocoo.org/">Pocoo Team</a>. © Copyright 2008 by the <a href="http://pocoo.org/">Pocoo Team</a>, documentation generated by <a href="http://sphinx.pocoo.org/">Sphinx</a> </div> </body></html>