Helpful sidebar

This commit is contained in:
Steve Johnson 2013-10-08 16:34:24 -07:00
parent 6fea2a5ad3
commit 36b370e465
4 changed files with 22 additions and 3 deletions

View File

@ -5,5 +5,6 @@ from livereload.compiler import shell
Task.add('*.rst', shell('make html'))
Task.add('*/*.rst', shell('make html'))
Task.add('_static/*.css', shell('make clean html'))
Task.add('_templates/*', shell('make clean html'))
Task.add('Makefile', shell('make html'))
Task.add('conf.py', shell('make html'))

18
docs/_templates/sidebarhelp.html vendored Normal file
View File

@ -0,0 +1,18 @@
<h3>Need help?</h3>
<p>
You can seek realtime assistance via IRC at
<a href="irc://irc.freenode.net#pil">irc://irc.freenode.net#pil</a>. You can
also post to the
<a href="http://mail.python.org/mailman/listinfo/image-sig">
Image-SIG mailing list</a>. And, of course, there's
<a href="http://stackoverflow.com/questions/tagged/pillow">
Stack Overflow</a>.
</p>
<p>
If you've discovered a bug, you can
<a href="https://github.com/python-imaging/Pillow/issues/new">open an issue
on Github</a>.
</p>

View File

@ -46,8 +46,9 @@ html_static_path = ['_static']
html_theme_options = {}
html_sidebars = {
'**': ['localtoc.html', 'sourcelink.html', 'searchbox.html'],
'index': ['searchbox.html'],
'**': ['localtoc.html', 'sourcelink.html', 'sidebarhelp.html',
'searchbox.html'],
'index': ['sidebarhelp.html', 'searchbox.html'],
}
# Output file base name for HTML help builder.

View File

@ -21,7 +21,6 @@ aware that it was last updated for PIL 1.1.5.
handbook/guides.rst
handbook/appendices.rst
PIL
plugins
Indices and tables
==================