]> AND Public Git Repository - simgrid.git/blobdiff - docs/source/conf.py
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More content to the S4U tuto
[simgrid.git] / docs / source / conf.py
index e5bcf6c9b055e9a20ade2ad6b0f19ace642853d1..70f52387589307ef9eeb1f9a4e79fd6037b8c791 100644 (file)
@@ -39,6 +39,7 @@ release = u'3.21'
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
+    'sphinx.ext.todo',
 #    'sphinx.ext.coverage',
     'sphinx.ext.mathjax',
 #    'sphinx.ext.ifconfig',
@@ -46,7 +47,9 @@ extensions = [
     'exhale',
 ]
 
-breathe_projects = { 'simgrid': '../../doc/xml' }
+todo_include_todos = True
+
+breathe_projects = { 'simgrid': '../build/doxy/xml' }
 breathe_default_project = "simgrid"
 
 # Setup the exhale extension
@@ -61,9 +64,33 @@ exhale_args = {
     # TIP: if using the sphinx-bootstrap-theme, you need
     # "treeViewIsBootstrap": True,
     "exhaleExecutesDoxygen": True,
-    "exhaleDoxygenStdin":    "INPUT = ../../include"
+    "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']