Drop breathe (not working) and directly link doxygen docs

This commit is contained in:
Robert Haschke 2022-11-26 21:39:26 +01:00
parent c9ba6918c8
commit 2cf4f8f046
4 changed files with 12 additions and 11 deletions

View File

@ -2,9 +2,10 @@ PROJECT_NAME = MTC
INPUT = ../include/ ../src/
RECURSIVE = YES
GENERATE_HTML = NO
GENERATE_HTML = YES
GENERATE_LATEX = NO
GENERATE_XML = YES
GENERATE_XML = NO
HTML_OUTPUT = _cpp
XML_OUTPUT = _doxygenxml
XML_PROGRAMLISTING = YES

View File

@ -3,6 +3,12 @@
API reference
-------------
`C++ <_static/index.html>`_
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Python
^^^^^^
.. autosummary::
:toctree: _autosummary
:caption: API
@ -12,5 +18,3 @@ API reference
moveit.task_constructor
pymoveit_mtc.core
pymoveit_mtc.stages
.. doxygenindex::

View File

@ -26,7 +26,6 @@ DIR = Path(__file__).parent.resolve()
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"breathe",
"sphinx_copybutton",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
@ -34,9 +33,6 @@ extensions = [
"sphinx.ext.napoleon",
"sphinx.ext.extlinks",
]
breathe_projects = {"mtc": DIR / "_doxygenxml"}
breathe_default_project = "mtc"
breathe_domain_by_extension = {"h": "cpp"}
autosummary_generate = True
autoclass_content = "both" # Add __init__ doc (ie. params) to class summaries
@ -149,7 +145,7 @@ html_theme = "furo"
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ["_static"]
html_static_path = ["_cpp"]
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
@ -243,4 +239,5 @@ def generate_doxygen_xml(app):
def setup(app):
# Add hook for building doxygen xml when needed
app.connect("builder-inited", generate_doxygen_xml)
# app.connect("builder-inited", generate_doxygen_xml)
pass

View File

@ -1,4 +1,3 @@
breathe
furo
lxml
sphinx