File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 22#
33# For the full list of built-in configuration values, see the documentation:
44# https://www.sphinx-doc.org/en/master/usage/configuration.html
5+ import os
6+ import subprocess
57
68# -- Project information -----------------------------------------------------
79# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
4547suppress_warnings = [
4648 "myst.header"
4749]
48- myst_heading_anchors = 6
50+ myst_heading_anchors = 6
4951
5052# -- Options for HTML output -------------------------------------------------
5153# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
5254
5355html_theme = 'furo'
5456html_static_path = ['_static' ]
57+
58+ # -- Read the Doc Hook -------------------------------------------------------
59+ if os .environ .get ("READTHEDOCS" ) == "True" :
60+ def generate_doxygen_xml (_ ):
61+ subprocess .call ('cd doc; doxygen' , shell = True )
62+
63+
64+ def setup (app ):
65+ app .connect ('builder-inited' , generate_doxygen_xml )
You can’t perform that action at this time.
0 commit comments