5 from m2r
import MdInclude
6 from recommonmark.transform
import AutoStructify
9 on_readthedocs = os.environ.get(
"READTHEDOCS",
None) ==
"True"
14 author =
"The Acts authors"
15 copyright =
"2014–2020 CERN for the benefit of the Acts project"
25 "sphinx_markdown_tables",
28 ".rst":
"restructuredtext",
37 primary_domain =
"cpp"
38 highlight_language =
"cpp"
45 if not on_readthedocs:
46 import sphinx_rtd_theme
48 html_theme =
"sphinx_rtd_theme"
50 sphinx_rtd_theme.get_html_theme_path(),
53 html_theme_options = {
54 "collapse_navigation":
False,
55 "navigation_depth": 2,
56 "prev_next_buttons_location":
None,
57 "style_external_links":
True,
59 html_logo =
"figures/acts_logo_white.svg"
66 html_copy_source =
False
67 html_show_sourcelink =
False
68 html_show_sphinx =
False
73 "Acts":
"_build/doxygen-xml",
75 breathe_default_project =
"Acts"
76 breathe_domain_by_extension = {
81 breathe_default_members = [
89 "containmentFolder":
"api",
90 "rootFileName":
"api.rst",
91 "rootFileTitle":
"API",
92 "createTreeView":
True,
93 "exhaleUseDoxyfile":
True,
96 "doxygenStripFromPath":
"..",
102 extensions.append(
"exhale")
103 exhale_args[
"exhaleExecutesDoxygen"] =
True
104 elif tags.has(
"use_exhale"):
106 extensions.append(
"exhale")
107 exhale_args[
"exhaleExecutesDoxygen"] =
False
113 app.add_config_value(
114 "recommonmark_config",
117 "enable_inline_math":
True,
121 app.add_transform(AutoStructify)
123 app.add_config_value(
"no_underscore_emphasis",
False,
"env")
124 app.add_config_value(
"m2r_parse_relative_links",
False,
"env")
125 app.add_config_value(
"m2r_anonymous_references",
False,
"env")
126 app.add_config_value(
"m2r_disable_inline_math",
False,
"env")
127 app.add_directive(
"mdinclude", MdInclude)