summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-05-27 12:38:51 +0000
committergbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-05-27 12:38:51 +0000
commitc6539723165e2ea2ed6ed31f728dc975ce7f96bc (patch)
treef7c27f30f1648b907373f356bdfdecc883bdf047
parent7c86f6623279052ea372ff758c5fff2ebb8aac62 (diff)
downloaddocutils-c6539723165e2ea2ed6ed31f728dc975ce7f96bc.tar.gz
Little facelift on the index page.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5166 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r--sandbox/py-rest-doc/sphinx/style/default.css4
-rw-r--r--sandbox/py-rest-doc/sphinx/templates/index.html64
2 files changed, 34 insertions, 34 deletions
diff --git a/sandbox/py-rest-doc/sphinx/style/default.css b/sandbox/py-rest-doc/sphinx/style/default.css
index 0c9553d9e..f3a3696f3 100644
--- a/sandbox/py-rest-doc/sphinx/style/default.css
+++ b/sandbox/py-rest-doc/sphinx/style/default.css
@@ -340,8 +340,8 @@ table.contentstable {
width: 90%;
}
-table.contentstable td {
- line-height: 130%;
+table.contentstable p.biglink {
+ line-height: 150%;
}
a.biglink {
diff --git a/sandbox/py-rest-doc/sphinx/templates/index.html b/sandbox/py-rest-doc/sphinx/templates/index.html
index 9c0438326..b2360da77 100644
--- a/sandbox/py-rest-doc/sphinx/templates/index.html
+++ b/sandbox/py-rest-doc/sphinx/templates/index.html
@@ -13,53 +13,53 @@
<p style="margin-top: 20px"><strong>Parts of the documentation:</strong></p>
<table class="contentstable" align="center"><tr>
<td width="50%">
- <p><a class="biglink" href="{{ pathto("whatsnew/2.6.rst") }}">What's new in Python 2.6?</a><br>
- <span class="linkdescr">(changes since previous major release)</span></p>
- <p><a class="biglink" href="{{ pathto("tutorial/index.rst") }}">Tutorial</a><br>
- <span class="linkdescr">(start here)</span></p>
- <p><a class="biglink" href="{{ pathto("reference/index.rst") }}">Language Reference</a><br>
- <span class="linkdescr">(describes syntax, language elements and builtins)</span></p>
- <p><a class="biglink" href="{{ pathto("modules/index.rst") }}">Library Reference</a><br>
- <span class="linkdescr">(keep this under your pillow)</span></p>
- <p><a class="biglink" href="{{ pathto("macmodules/index.rst") }}">Macintosh Library Modules</a><br>
- <span class="linkdescr">(this too, if you use a Macintosh)</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("whatsnew/2.6.rst") }}">What's new in Python 2.6?</a><br>
+ <span class="linkdescr">changes since previous major release</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("tutorial/index.rst") }}">Tutorial</a><br>
+ <span class="linkdescr">start here</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("reference/index.rst") }}">Language Reference</a><br>
+ <span class="linkdescr">describes syntax, language elements and builtins</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("modules/index.rst") }}">Library Reference</a><br>
+ <span class="linkdescr">keep this under your pillow</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("macmodules/index.rst") }}">Macintosh Library Modules</a><br>
+ <span class="linkdescr">this too, if you use a Macintosh</span></p>
</td><td width="50%">
- <p><a class="biglink" href="{{ pathto("extending/index.rst") }}">Extending and Embedding</a><br>
- <span class="linkdescr">(tutorial for C/C++ programmers)</span></p>
- <p><a class="biglink" href="{{ pathto("c-api/index.rst") }}">Python/C API</a><br>
- <span class="linkdescr">(reference for C/C++ programmers)</span></p>
- <p><a class="biglink" href="{{ pathto("install/index.rst") }}">Installing Python Modules</a><br>
- <span class="linkdescr">(information for installers &amp; sys-admins)</span></p>
- <p><a class="biglink" href="{{ pathto("distutils/index.rst") }}">Distributing Python Modules</a><br>
- <span class="linkdescr">(sharing modules with others)</span></p>
- <p><a class="biglink" href="{{ pathto("documenting/index.rst") }}">Documenting Python</a><br>
- <span class="linkdescr">(guide for documentation authors)</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("extending/index.rst") }}">Extending and Embedding</a><br>
+ <span class="linkdescr">tutorial for C/C++ programmers</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("c-api/index.rst") }}">Python/C API</a><br>
+ <span class="linkdescr">reference for C/C++ programmers</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("install/index.rst") }}">Installing Python Modules</a><br>
+ <span class="linkdescr">information for installers &amp; sys-admins</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("distutils/index.rst") }}">Distributing Python Modules</a><br>
+ <span class="linkdescr">sharing modules with others</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("documenting/index.rst") }}">Documenting Python</a><br>
+ <span class="linkdescr">guide for documentation authors</span></p>
</td></tr>
</table>
<p style="margin-top: 20px"><strong>Indices and tables:</strong></p>
<table class="contentstable" align="center"><tr>
<td width="50%">
- <p><a class="biglink" href="{{ pathto("modindex.rst") }}">Global Module Index</a><br>
- <span class="linkdescr">(quick access to all modules)</span></p>
- <p><a class="biglink" href="{{ pathto("genindex.rst") }}">General Index</a><br>
- <span class="linkdescr">(all functions, classes, terms)</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("modindex.rst") }}">Global Module Index</a><br>
+ <span class="linkdescr">quick access to all modules</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("genindex.rst") }}">General Index</a><br>
+ <span class="linkdescr">all functions, classes, terms</span></p>
</td><td width="50%">
- <p><a class="biglink" href="{{ pathto("search.rst") }}">Search page</a><br>
- <span class="linkdescr">(search this documentation)</span></p>
- <p><a class="biglink" href="{{ pathto("contents.rst") }}">Complete Table of Contents</a><br>
- <span class="linkdescr">(lists all sections and subsections)</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("search.rst") }}">Search page</a><br>
+ <span class="linkdescr">search this documentation</span></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("contents.rst") }}">Complete Table of Contents</a><br>
+ <span class="linkdescr">lists all sections and subsections</span></p>
</td></tr>
</table>
<p style="margin-top: 20px"><strong>Meta information:</strong></p>
<table class="contentstable" align="center"><tr>
<td width="50%">
- <p><a class="biglink" href="{{ pathto("bugs.rst") }}">Reporting bugs</a></p>
- <p><a class="biglink" href="{{ pathto("about.rst") }}">About the documentation</a></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("bugs.rst") }}">Reporting bugs</a></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("about.rst") }}">About the documentation</a></p>
</td><td width="50%">
- <p><a class="biglink" href="{{ pathto("license.rst") }}">History and License of Python</a></p>
- <p><a class="biglink" href="{{ pathto("copyright.rst") }}">Copyright</a></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("license.rst") }}">History and License of Python</a></p>
+ <p class="biglink"><a class="biglink" href="{{ pathto("copyright.rst") }}">Copyright</a></p>
</td></tr>
</table>