Преглед на файлове

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".