diff --git a/doc/manual-src/en/conf.py.in b/doc/manual-src/en/conf.py.in
index e8a608fb..713353f7 100644
--- a/doc/manual-src/en/conf.py.in
+++ b/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".
diff --git a/doc/manual-src/pt/conf.py.in b/doc/manual-src/pt/conf.py.in
index 5e49cd8e..ddfc1f10 100644
--- a/doc/manual-src/pt/conf.py.in
+++ b/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".
diff --git a/doc/manual-src/ru/conf.py.in b/doc/manual-src/ru/conf.py.in
index d1263841..bf6263bf 100644
--- a/doc/manual-src/ru/conf.py.in
+++ b/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".