]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
doc: Added links and about sections to the index sidebar
authorTobias Bieniek <Tobias.Bieniek@gmx.de>
Wed, 3 Jul 2013 16:39:09 +0000 (18:39 +0200)
committerTobias Bieniek <Tobias.Bieniek@gmx.de>
Wed, 3 Jul 2013 16:39:09 +0000 (18:39 +0200)
doc/_templates/sidebar-about.html [new file with mode: 0644]
doc/_templates/sidebar-links.html [new file with mode: 0644]
doc/conf.py

diff --git a/doc/_templates/sidebar-about.html b/doc/_templates/sidebar-about.html
new file mode 100644 (file)
index 0000000..48a0e7b
--- /dev/null
@@ -0,0 +1,4 @@
+<h3>About</h3>
+<p>
+  Babel is a collection of tools for internationalizing Python applications.
+</p>
diff --git a/doc/_templates/sidebar-links.html b/doc/_templates/sidebar-links.html
new file mode 100644 (file)
index 0000000..91c486d
--- /dev/null
@@ -0,0 +1,6 @@
+<h3>Useful Links</h3>
+<ul>
+  <li><a href="http://pypi.python.org/pypi/Babel">Babel @ PyPI</a></li>
+  <li><a href="http://github.com/mitsuhiko/babel">Babel @ github</a></li>
+  <li><a href="http://github.com/mitsuhiko/babel/issues">Issue Tracker</a></li>
+</ul>
index 5589bc6314f1757d72986103863ac8e4a9c0a17f..52f4d11cde31514639946f655523d341c64249ca 100644 (file)
@@ -133,7 +133,8 @@ html_static_path = ['_static']
 
 # Custom sidebar templates, maps document names to template names.
 html_sidebars = {
-    'index':    ['localtoc.html', 'searchbox.html'],
+    'index':    ['sidebar-about.html', 'localtoc.html', 'sidebar-links.html',
+                 'searchbox.html'],
     '**':       ['sidebar-logo.html', 'localtoc.html', 'relations.html',
                  'searchbox.html']
 }