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, 19, 18, 57), 'sphinx_rtd_theme.get_html_theme_path', 'sphinx_rtd_theme.get_html_theme_path', ({}, {}), '()', False, 'import sphinx_rtd_theme\n'), ((19, 18, 19, 59), 'os.path.join', 'os.path.join', ({(19, 31, 19, 42): 'source_path', (19, 44, 19, 58): '"""phdoc_static"""'}, {}), "(source_path, 'phdoc_static')", False, 'import os\n'), ((20, 20, 20, 61), 'os.path.join', 'os.path.join', ({(20, 33, 20, 44): 'source_path', (20, 46, 20, 60): '"""phdoc_static"""'}, {}), "(source_path, 'phdoc_static')", False, 'import os\n'), ((22, 7, 22, 40), 'os.path.exists', 'os.path.exists', ({(22, 22, 22, 39): 'templates_path[0]'}, {}), '(templates_path[0])', False, 'import os\n'), ((14, 4, 14, 32), 'sys.path.append', 'sys.path.append', ({(14, 20, 14, 31): 'source_path'}, {}), '(source_path)', False, 'import sys\n'), ((9, 12, 9, 35), 'os.path.split', 'os.path.split', ({(9, 26, 9, 34): '__file__'}, {}), '(__file__)', False, 'import os\n')]