From: Tobias Bieniek Date: Wed, 3 Jul 2013 16:39:09 +0000 (+0200) Subject: doc: Added links and about sections to the index sidebar X-Git-Tag: 1.0~137^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ffdac8790c0be497fa571c32a351239767c482c;p=thirdparty%2Fbabel.git doc: Added links and about sections to the index sidebar --- diff --git a/doc/_templates/sidebar-about.html b/doc/_templates/sidebar-about.html new file mode 100644 index 00000000..48a0e7b7 --- /dev/null +++ b/doc/_templates/sidebar-about.html @@ -0,0 +1,4 @@ +

About

+

+ Babel is a collection of tools for internationalizing Python applications. +

diff --git a/doc/_templates/sidebar-links.html b/doc/_templates/sidebar-links.html new file mode 100644 index 00000000..91c486d5 --- /dev/null +++ b/doc/_templates/sidebar-links.html @@ -0,0 +1,6 @@ +

Useful Links

+ diff --git a/doc/conf.py b/doc/conf.py index 5589bc63..52f4d11c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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'] }