Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
docs: split from the existing doxygen project to document s4u only
[simgrid.git] / docs / source / conf.py
index 452d833..8fd2797 100644 (file)
@@ -49,7 +49,7 @@ extensions = [
 
 todo_include_todos = True
 
-breathe_projects = { 'simgrid': '../../doc/xml' }
+breathe_projects = { 'simgrid': '../build/doxy/xml' }
 breathe_default_project = "simgrid"
 
 # Setup the exhale extension
@@ -63,10 +63,33 @@ exhale_args = {
     "createTreeView":        True,
     # TIP: if using the sphinx-bootstrap-theme, you need
     # "treeViewIsBootstrap": True,
-    "exhaleExecutesDoxygen": False,
-    # "exhaleDoxygenStdin":    "INPUT = ../../include"
+    "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)=
+        """
 }
 
+# For cross-ref generation
+primary_domain = 'cpp'
+
+
 # Add any paths that contain templates here, relative to this directory.
 # templates_path = ['_templates']