Преглед изворни кода

Fix theme path (out-of-tree-builds)

Closes GH-164
Nils Maier пре 12 година
родитељ
комит
caf7213bad
3 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      doc/manual-src/en/conf.py.in
  2. 1 1
      doc/manual-src/pt/conf.py.in
  3. 1 1
      doc/manual-src/ru/conf.py.in

+ 1 - 1
doc/manual-src/en/conf.py.in

@@ -99,7 +99,7 @@ html_theme = 'sphinx_rtd_theme'
 #html_theme_options = {}
 
 # Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = ['../../sphinx_themes']
+html_theme_path = ['@srcdir@/../../sphinx_themes']
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".

+ 1 - 1
doc/manual-src/pt/conf.py.in

@@ -99,7 +99,7 @@ html_theme = 'sphinx_rtd_theme'
 #html_theme_options = {}
 
 # Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = ['../../sphinx_themes']
+html_theme_path = ['@srcdir@/../../sphinx_themes']
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".

+ 1 - 1
doc/manual-src/ru/conf.py.in

@@ -99,7 +99,7 @@ html_theme = 'sphinx_rtd_theme'
 #html_theme_options = {}
 
 # Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = ['../../sphinx_themes']
+html_theme_path = ['@srcdir@/../../sphinx_themes']
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".