소스 검색

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