diff core-javascript/conf.py @ 213:0ea90a1819c2 default tip

Custom theming
author Radomir Dopieralski <radomir.dopieralski@allegro.pl>
date Wed, 27 Jun 2012 16:35:54 +0200
parents 7b81c64941f9
children
line wrap: on
line diff
--- a/core-javascript/conf.py	Wed Jun 27 16:35:01 2012 +0200
+++ b/core-javascript/conf.py	Wed Jun 27 16:35:54 2012 +0200
@@ -91,22 +91,28 @@
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = 'default'
+html_theme = 'bs'
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
 # documentation.
 #html_theme_options = {}
+html_theme_options = {
+    # Add links to the main menu
+    'main_menu': [('Core', 'index')],
+    'main_menu': [('js2py', '../index')],
+    'selected': '',
+}
 
 # Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
+html_theme_path = ['../themes']
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".
 #html_title = None
 
 # A shorter title for the navigation bar.  Default is the same as html_title.
-#html_short_title = None
+html_short_title = 'js4py'
 
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.