diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-07-29 19:19:44 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:41 -0300 |
commit | d7710810050f10b23364ad0507596140b975082f (patch) | |
tree | 97c38d48c166f92491e1a8dcfc3a5e8f09c42632 /doc | |
parent | 609f6bc8898f0df4f789e834e2f2e5c97be9866d (diff) |
Cosmetic changes on docs.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/_templates/index.html | 6 | ||||
-rw-r--r-- | doc/_themes/pysidedocs/layout.html | 10 | ||||
-rw-r--r-- | doc/_themes/pysidedocs/static/pysidedocs.css | 27 |
3 files changed, 34 insertions, 9 deletions
diff --git a/doc/_templates/index.html b/doc/_templates/index.html index 4c50ab32a..e1fb247ae 100644 --- a/doc/_templates/index.html +++ b/doc/_templates/index.html @@ -65,5 +65,11 @@ <p>A collection of <a href="{{ pathto("tutorials/index") }}">tutorials</a> and "walkthrough" guides are provided with PySide to help new users get started with PySide development. These documents were ported from C++ to Python and cover a range of topics, from basic use of widgets to step-by-step <a href="{{ pathto("tutorials/index") }}">tutorials</a> that show how an application is put together.</p> + <h2>Other stuff</h2> + + <ul> + <li class="toctree-l1"><a class="reference internal" href="pysideapi2.html">PySide API 2</a></li> + <li class="toctree-l1"><a class="reference internal" href="pysideversion.html">Getting PySide and Qt version</a></li> + </ul> </div> {% endblock %} diff --git a/doc/_themes/pysidedocs/layout.html b/doc/_themes/pysidedocs/layout.html index 9b6abe74d..23f7d78fe 100644 --- a/doc/_themes/pysidedocs/layout.html +++ b/doc/_themes/pysidedocs/layout.html @@ -79,17 +79,11 @@ <div id="header_container"> <div id="logo"><a href="http://www.pyside.org"><img alt="PySide" src="{{ pathto('_static/pysidelogo.png', 1) }}" width="199" height="102" /></a></div> <ul id="relbar"> - {%- for rellink in rellinks %} - <li class="right"> - <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags }}" - {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a> - {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li> - {%- endfor %} {%- block rootrellink %} - <li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }}</li> + <li><a href="{{ pathto( 'index' ) }}">{{ shorttitle|e }}</a></li> {%- endblock %} {%- for parent in parents %} - <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li> + <li>{{ reldelim1 }} <a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a></li> {%- endfor %} {%- block relbaritems %} {% endblock %} </ul> diff --git a/doc/_themes/pysidedocs/static/pysidedocs.css b/doc/_themes/pysidedocs/static/pysidedocs.css index 36f4edd52..c3b1a8eb6 100644 --- a/doc/_themes/pysidedocs/static/pysidedocs.css +++ b/doc/_themes/pysidedocs/static/pysidedocs.css @@ -92,7 +92,7 @@ h1 { padding-bottom: 15px; padding-top: 15px; border-bottom: 1px solid #c2c2c2; - text-transform:uppercase; +/* text-transform:uppercase; */ margin-right: -100px; position: relative; left: -50px; @@ -443,3 +443,28 @@ tt.descname { -webkit-border-radius:10px; -khtml-border-radius:10px; } + +.pysidetoc ul { + list-style: none; + padding: 0px; + margin: 0px; +} + +.pysidetoc em { + font-style: normal; +} + +.pysidetoc strong { + display: block; + padding: 5px; + border: 1px solid #ddd; + background-color: #f4f4f4; + -moz-border-radius:6px; + -webkit-border-radius:6px; + -khtml-border-radius:6px; +} + +.hide { + display: none; +} + |