summaryrefslogtreecommitdiff
path: root/dev-python/pyhamcrest/files/sphinx-rtd.patch
blob: 2974c98a56a3a0f90cc95956d99e06d8cb1145c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/doc/conf.py b/doc/conf.py
index fb5d79e..7d3571b 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -13,6 +13,7 @@
 
 import sys, os
 import six
+import sphinx_rtd_theme
 
 # 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
@@ -106,6 +107,7 @@ html_theme = 'sphinx_rtd_theme'
 
 # Add any paths that contain custom themes here, relative to this directory.
 #html_theme_path = []
+html_theme_path = [ sphinx_rtd_theme.get_html_theme_path() ]
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".