summaryrefslogtreecommitdiff
path: root/doc/_templates
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-01-18 23:17:11 +0100
committerGeorg Brandl <georg@python.org>2013-01-18 23:17:11 +0100
commit819ec24ef527014c8ca7d5809c58eb6a0aa6c731 (patch)
treeef5d22ca417dabd5efc8fca36527e522a0e2d204 /doc/_templates
parent716cf552857d9021feaa5ca622c2bfc090dfe742 (diff)
downloadsphinx-819ec24ef527014c8ca7d5809c58eb6a0aa6c731.tar.gz
New doc design "sphinx13".
Diffstat (limited to 'doc/_templates')
-rw-r--r--doc/_templates/index.html26
-rw-r--r--doc/_templates/indexsidebar.html11
-rw-r--r--doc/_templates/layout.html23
3 files changed, 13 insertions, 47 deletions
diff --git a/doc/_templates/index.html b/doc/_templates/index.html
index 8db89ab5..9b57be2a 100644
--- a/doc/_templates/index.html
+++ b/doc/_templates/index.html
@@ -17,25 +17,23 @@
documentation of Python projects, but C/C++ is already supported as well,
and it is planned to add special support for other languages as well. Of
course, this site is also created from reStructuredText sources using
- Sphinx!
- </p>
- <p>
- Sphinx is under constant development. The following features are present,
- work fine and can be seen &#8220;in action&#8221; in the Python docs:
+ Sphinx! The following features should be highlighted:
</p>
<ul>
<li><b>Output formats:</b> HTML (including Windows HTML Help), LaTeX (for
- printable PDF versions), manual pages, plain text</li>
+ printable PDF versions), Texinfo, manual pages, plain text</li>
<li><b>Extensive cross-references:</b> semantic markup and automatic links
for functions, classes, citations, glossary terms and similar pieces of
information</li>
<li><b>Hierarchical structure:</b> easy definition of a document tree, with
automatic links to siblings, parents and children</li>
- <li><b>Automatic indices:</b> general index as well as a module index</li>
+ <li><b>Automatic indices:</b> general index as well as a language-specific
+ module indices</li>
<li><b>Code handling:</b> automatic highlighting using the <a
href="http://pygments.org">Pygments</a> highlighter</li>
<li><b>Extensions:</b> automatic testing of code snippets, inclusion of
- docstrings from Python modules (API docs), and more</li>
+ docstrings from Python modules (API docs), and
+ <a href="{{ pathto('ext') }}">more</a></li>
</ul>
<p>
Sphinx uses <a href="http://docutils.sf.net/rst.html">reStructuredText</a>
@@ -44,7 +42,7 @@
suite, the <a href="http://docutils.sf.net/">Docutils</a>.
</p>
- <h2>Documentation</h2>
+ <h2 style="margin-bottom: 0">Documentation</h2>
<table class="contentstable" align="center" style="margin-left: 30px"><tr>
<td width="50%">
@@ -86,14 +84,4 @@
<p>There is a <a href="http://sphinx-users.jp/doc10/">Japanese translation</a>
of this documentation, thanks to Yoshiki Shibukawa.</p>
- <h2>Get Sphinx</h2>
- <p>
- Sphinx is available as an <a
- href="http://peak.telecommunity.com/DevCenter/EasyInstall">easy-install</a>able
- package on the <a href="http://pypi.python.org/pypi/Sphinx">Python Package
- Index</a>.
- </p>
- <p>The code can be found in a Mercurial repository, at
- <tt>http://bitbucket.org/birkenfeld/sphinx/</tt>.</p>
-
{% endblock %}
diff --git a/doc/_templates/indexsidebar.html b/doc/_templates/indexsidebar.html
index c479abcb..f9aa2abf 100644
--- a/doc/_templates/indexsidebar.html
+++ b/doc/_templates/indexsidebar.html
@@ -1,5 +1,5 @@
-<p class="logo"><a href="http://pocoo.org/">
- <img src="{{ pathto("_static/pocoo.png", 1) }}" /></a></p>
+<p class="logo">A <a href="http://pocoo.org/">
+ <img src="{{ pathto("_static/pocoo.png", 1) }}" /></a> project</a></p>
<h3>Download</h3>
{% if version.endswith('(hg)') %}
@@ -22,9 +22,10 @@ are also available.</p>
<p>Join the <a href="http://groups.google.com/group/sphinx-users">Google group</a>:</p>
<form action="http://groups.google.com/group/sphinx-users/boxsubscribe"
- style="padding-left: 1em">
- <input type="text" name="email" value="your@email"/>
- <input type="submit" name="sub" value="Subscribe" />
+ style="padding-left: 0.5em">
+ <input type="text" name="email" value="your@email" style="font-size: 90%; width: 120px"
+ onfocus="$(this).val('');"/>
+ <input type="submit" name="sub" value="Subscribe" style="font-size: 90%; width: 70px"/>
</form>
<p>or come to the <tt>#pocoo</tt> channel on FreeNode.</p>
<p>You can also open an issue at the
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
deleted file mode 100644
index 6e609e1a..00000000
--- a/doc/_templates/layout.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends "!layout.html" %}
-
-{% block extrahead %}
-{{ super() }}
-{%- if not embedded %}
-<style type="text/css">
- table.right { float: right; margin-left: 20px; }
- table.right td { border: 1px solid #ccc; }
-</style>
-{%- endif %}
-{% endblock %}
-
-{% block rootrellink %}
- <li><a href="{{ pathto('index') }}">Sphinx home</a>&nbsp;|&nbsp;</li>
- <li><a href="{{ pathto('contents') }}">Documentation</a>
- &raquo;</li>
-{% endblock %}
-
-{% block header %}
-<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
-<img src="{{ pathto("_static/sphinx.png", 1) }}" alt="Sphinx logo" />
-</div>
-{% endblock %}