import sys
import os
import sphinx_rtd_theme


source_path = os.path.normpath(
    os.path.join(
        os.path.abspath(
            os.path.split(__file__)[0])))

try:
    from conf_base import *
except ImportError:
    sys.path.append(source_path)
    from conf_base import *

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
templates_path = [os.path.join(source_path, 'phdoc_static')]
html_static_path = [os.path.join(source_path, 'phdoc_static')]

if not os.path.exists(templates_path[0]):
    raise FileNotFoundError(templates_path[0])

blog_root = "http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx3/"

[(18, 'sphinx_rtd_theme.get_html_theme_path', 'sphinx_rtd_theme.get_html_theme_path', False, 'import sphinx_rtd_theme\n'), (19, 'os.path.join', 'os.path.join', False, 'import os\n'), (20, 'os.path.join', 'os.path.join', False, 'import os\n'), (22, 'os.path.exists', 'os.path.exists', False, 'import os\n'), (14, 'sys.path.append', 'sys.path.append', False, 'import sys\n'), (9, 'os.path.split', 'os.path.split', False, 'import os\n')]