X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a39a45af5e19dfb8b8ed2cb084b3a6b518d179e4..a6e4771564d3d041955f630ce71e6123a911ce78:/docs/source/conf.py diff --git a/docs/source/conf.py b/docs/source/conf.py index a092cde562..9f3d260b78 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -13,8 +13,10 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # import os, subprocess -# import sys -# sys.path.insert(0, os.path.abspath('.')) + +# Search for our extensions too +import sys +sys.path.append(os.path.abspath('_ext')) # -- Project information ----------------------------------------------------- @@ -40,15 +42,16 @@ release = u'3.21' extensions = [ 'sphinx.ext.todo', # 'sphinx.ext.coverage', - 'sphinx.ext.mathjax', +# 'sphinx.ext.mathjax', # 'sphinx.ext.ifconfig', 'breathe', 'exhale', + 'hidden_code_block', ] todo_include_todos = True -breathe_projects = { 'simgrid': '../build/doxy/xml' } +breathe_projects = { 'simgrid': '../build/xml' } breathe_default_project = "simgrid" # Setup the exhale extension @@ -61,33 +64,8 @@ exhale_args = { "doxygenStripFromPath": "..", # Suggested optional arguments "createTreeView": True, - # TIP: if using the sphinx-bootstrap-theme, you need - # "treeViewIsBootstrap": True, - "exhaleExecutesDoxygen": True, - "exhaleDoxygenStdin": """ - INPUT = ../../include/simgrid/s4u ../../include/simgrid/forward.h ../../include/simgrid/xbt - FULL_PATH_NAMES = NO # Don't leak the path on which it was built - GENERATE_XML = YES - XML_PROGRAMLISTING = NO # No program listings, please - - 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)= - - """ + "exhaleExecutesDoxygen": False, + # "exhaleUseDoxyfile": True, }