-# Setup the exhale extension
-exhale_args = {
- # These arguments are required
- "containmentFolder": "./api",
- "rootFileName": "library_root.rst",
- "rootFileTitle": "SimGrid Full API",
- "doxygenStripFromPath": "..",
- # Suggested optional arguments
- "createTreeView": True,
- # TIP: if using the sphinx-bootstrap-theme, you need
- # "treeViewIsBootstrap": True,
- "exhaleExecutesDoxygen": True,
- "exhaleDoxygenStdin": """
- INPUT = ../../include/simgrid/s4u
- GENERATE_XML = YES
- PREDEFINED += \
- __cplusplus \
- DOXYGEN \
- XBT_PUBLIC= \
- XBT_EXPORT_NO_IMPORT= \
- XBT_IMPORT_NO_EXPORT= \
- XBT_PUBLIC_DATA=extern \
- XBT_PUBLIC= \
- XBT_INLINE= \
- XBT_ALWAYS_INLINE= \
- XBT_PRIVATE= \
- XBT_ATTRIB_NORETURN= \
- XBT_ATTRIB_UNUSED= \
- XBT_ATTRIB_DEPRECATED_v322(m)= \
- XBT_ATTRIB_DEPRECATED_v323(m)= \
- XBT_ATTRIB_DEPRECATED_v324(m)=
- """
-}
+# Setup the autodoxy extension
+doxygen_xml = os.path.join(os.path.dirname(__file__), "..", "build", "xml")