summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-07-29 19:19:44 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-08-02 17:42:44 -0300
commit774f01761b57642ee0e2a24573acd25aafb6659e (patch)
tree6aa7159d134af90500e9eefb8363e7b58550c3bc /doc
parent74754b1e137933263ff018a930f55a27c4cf2db2 (diff)
downloadpyside-774f01761b57642ee0e2a24573acd25aafb6659e.tar.gz
pyside-774f01761b57642ee0e2a24573acd25aafb6659e.tar.xz
pyside-774f01761b57642ee0e2a24573acd25aafb6659e.zip
Cosmetic changes on docs.
Diffstat (limited to 'doc')
-rw-r--r--doc/_templates/index.html6
-rw-r--r--doc/_themes/pysidedocs/layout.html10
-rw-r--r--doc/_themes/pysidedocs/static/pysidedocs.css27
3 files changed, 34 insertions, 9 deletions
diff --git a/doc/_templates/index.html b/doc/_templates/index.html
index 4c50ab3..e1fb247 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 9b6abe7..23f7d78 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 36f4edd..c3b1a8e 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;
+}
+