From 8dce0c5560ab30d114598f3fe24c2707e1218267 Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Sat, 27 Jun 2015 01:42:28 +0200 Subject: [PATCH] sfinx conf --- docs/conf.py | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9559962..eb573f5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,6 +16,7 @@ import sys import os import shlex +import alabaster # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -31,9 +32,9 @@ import shlex # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'alabaster', 'sphinx.ext.todo', ] - # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -116,10 +117,24 @@ html_theme = 'alabaster' # 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 = { + 'description': "A multiprocessing task queue for Django", + 'github_user': 'koed00', + 'github_repo': 'django-q', + 'gittip_user': 'koed00', + 'travis_button': True, +} +html_sidebars = { + '**': [ + 'about.html', + 'navigation.html', + 'searchbox.html', + 'donate.html', + ] +} # Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] +html_theme_path = [alabaster.get_path()] + # The name for this set of Sphinx documents. If None, it defaults to # " v documentation".