1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
From 004059e416cad7a29ce0b581fa9a7861301b5e1c Mon Sep 17 00:00:00 2001
From: Michael Fladischer <fladi@debian.org>
Date: Thu, 8 Oct 2015 11:46:10 -0700
Subject: 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".
|