[Python-modules-commits] [python-django-braces] 05/10: Set path and extension for alabaster theme

Michael Fladischer fladi at moszumanska.debian.org
Sun Jun 19 10:19:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository python-django-braces.

commit 004059e416cad7a29ce0b581fa9a7861301b5e1c
Author: Michael Fladischer <fladi at debian.org>
Date:   Thu Oct 8 11:46:10 2015 -0700

    Set path and extension for alabaster theme
    
    Last-Update: 2015-05-05
    Forwarded: no
    
    Patch-Name: alabaster-path.patch
---
 docs/conf.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 3b0e84d..917fc72 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,6 +15,7 @@ import sys, os
 
 sys.path.insert(0, os.path.abspath('..'))
 import braces
+import alabaster
 from braces import __version__
 
 # If extensions (or modules to document with autodoc) are in another directory,
@@ -29,7 +30,7 @@ from braces import __version__
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['releases']
+extensions = ['releases', 'alabaster']
 
 releases_issue_uri = "https://github.com/brack3t/django-braces/issues/%s"
 releases_release_uri = "https://github.com/brack3t/django-braces/tree/%s"
@@ -108,7 +109,7 @@ html_theme = 'default'
 #html_theme_options = {}
 
 # 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
 # "<project> v<release> documentation".

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-braces.git



More information about the Python-modules-commits mailing list