From 63f5eeeae95ea2e6041fbd9f62dcbfe960bc53c9 Mon Sep 17 00:00:00 2001
From: Randy Barlow <randy@electronsweatshop.com>
Date: Mon, 20 Mar 2017 17:46:30 -0400
Subject: [PATCH] Allow the docs to build with alabaster on EL 7.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
---
docs/conf.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index a8c004a..4d4e255 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -10,6 +10,7 @@
#
# All configuration values have a default; values that are commented out
# serve to show the default.
+import alabaster
import datetime
import os
import sys
@@ -27,7 +28,7 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['cornice.ext.sphinxext', 'sphinx.ext.autodoc',
+extensions = ['alabaster', 'cornice.ext.sphinxext', 'sphinx.ext.autodoc',
'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode']
# Add any paths that contain templates here, relative to this directory.
@@ -102,7 +103,7 @@ html_theme = 'alabaster'
# 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".
--
1.8.3.1