doc: Added proper sidebar to index page

This commit is contained in:
Tobias Bieniek 2013-12-12 18:37:32 +01:00
parent e14e966da9
commit b4842b20f6
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<h3>About pytest</h3>
<p>
pytest is a mature full-featured Python testing tool that helps
you write better programs.
</p>
<h3>Other Formats</h3>
<p>
You can download the documentation in other formats as well:
</p>
<ul>
<li><a href="http://pytest.org/latest/pytest.pdf">as PDF</a>
</ul>
<h3>Useful Links</h3>
<ul>
<li><a href="http://pytest.org">The pytest Website</a></li>
<li><a href="https://pypi.python.org/pypi/pytest">pytest @ PyPI</a></li>
<li><a href="https://bitbucket.org/hpk42/pytest/">pytest @ Bitbucket</a></li>
<li><a href="https://bitbucket.org/hpk42/pytest/issues">Issue Tracker</a></li>
</ul>

View File

@ -153,6 +153,20 @@ html_static_path = ['_static']
#html_sidebars = {} #html_sidebars = {}
#html_sidebars = {'index': 'indexsidebar.html'} #html_sidebars = {'index': 'indexsidebar.html'}
html_sidebars = {
'index': [
'sidebarintro.html',
'sourcelink.html',
'searchbox.html'
],
'**': [
'localtoc.html',
'relations.html',
'sourcelink.html',
'searchbox.html'
]
}
# Additional templates that should be rendered to pages, maps page names to # Additional templates that should be rendered to pages, maps page names to
# template names. # template names.
#html_additional_pages = {} #html_additional_pages = {}