1 # -*- coding: utf-8 -*-
3 # Configuration file for the Sphinx documentation builder.
5 # This file does only contain a selection of the most common options. For a
6 # full list see the documentation:
7 # http://www.sphinx-doc.org/en/master/config
9 # -- Path setup --------------------------------------------------------------
11 # If extensions (or modules to document with autodoc) are in another directory,
12 # add these directories to sys.path here. If the directory is relative to the
13 # documentation root, use os.path.abspath to make it absolute, like shown here.
17 # sys.path.insert(0, os.path.abspath('.'))
20 # -- Project information -----------------------------------------------------
23 copyright = u'2018, The SimGrid Team'
24 author = u'The SimGrid Team'
26 # The short X.Y version
28 # The full version, including alpha/beta/rc tags
32 # -- General configuration ---------------------------------------------------
34 # If your documentation needs a minimal Sphinx version, state it here.
36 # needs_sphinx = '1.0'
38 # Add any Sphinx extension module names here, as strings. They can be
39 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
43 # 'sphinx.ext.coverage',
45 # 'sphinx.ext.ifconfig',
50 todo_include_todos = True
52 breathe_projects = { 'simgrid': '../build/doxy/xml' }
53 breathe_default_project = "simgrid"
55 # Setup the exhale extension
57 # These arguments are required
58 "containmentFolder": "./api",
59 "rootFileName": "library_root.rst",
60 "rootFileTitle": "SimGrid Full API",
61 "doxygenStripFromPath": "..",
62 # Suggested optional arguments
63 "createTreeView": True,
64 # TIP: if using the sphinx-bootstrap-theme, you need
65 # "treeViewIsBootstrap": True,
66 "exhaleExecutesDoxygen": True,
67 "exhaleDoxygenStdin": """
68 INPUT = ../../include/simgrid/s4u
74 XBT_EXPORT_NO_IMPORT= \
75 XBT_IMPORT_NO_EXPORT= \
76 XBT_PUBLIC_DATA=extern \
81 XBT_ATTRIB_NORETURN= \
83 XBT_ATTRIB_DEPRECATED_v322(m)= \
84 XBT_ATTRIB_DEPRECATED_v323(m)= \
85 XBT_ATTRIB_DEPRECATED_v324(m)=
89 # For cross-ref generation
90 primary_domain = 'cpp'
93 # Add any paths that contain templates here, relative to this directory.
94 # templates_path = ['_templates']
96 # The suffix(es) of source filenames.
97 # You can specify multiple suffix as a list of string: ['.rst', '.md']
98 source_suffix = '.rst'
100 # The master toctree document.
103 # The language for content autogenerated by Sphinx. Refer to documentation
104 # for a list of supported languages.
106 # This is also used if you do content translation via gettext catalogs.
107 # Usually you set "language" from the command line for these cases.
110 # List of patterns, relative to source directory, that match files and
111 # directories to ignore when looking for source files.
112 # This pattern also affects html_static_path and html_extra_path .
113 exclude_patterns = []
115 # The name of the Pygments (syntax highlighting) style to use.
116 pygments_style = 'sphinx'
119 # -- Options for HTML output -------------------------------------------------
121 # The theme to use for HTML and HTML Help pages. See the documentation for
122 # a list of builtin themes.
124 html_theme = 'sphinx_rtd_theme'
126 # Theme options are theme-specific and customize the look and feel of a theme
127 # further. For a list of options available for each theme, see the
130 # html_theme_options = {}
132 # Add any paths that contain custom static files (such as style sheets) here,
133 # relative to this directory. They are copied after the builtin static files,
134 # so a file named "default.css" will overwrite the builtin "default.css".
135 # html_static_path = ['_static']
137 # Custom sidebar templates, must be a dictionary that maps document names
140 # The default sidebars (for documents that don't match any pattern) are
141 # defined by theme itself. Builtin themes are using these templates by
142 # default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
143 # 'searchbox.html']``.
145 # html_sidebars = {'**': ['localtoc.html', 'relations.html', 'searchbox.html']}
147 # -- Options for HTMLHelp output ---------------------------------------------
149 # Output file base name for HTML help builder.
150 htmlhelp_basename = 'SimGrid-doc'
152 # -- Options for GitLab integration ------------------------------------------
155 "display_gitlab": True, # Integrate Gitlab
156 "gitlab_host": "framagit.org",
157 "gitlab_user": "simgrid",
158 "gitlab_repo": "simgrid",
159 "gitlab_version": "master", # Version
160 "conf_py_path": "/docs/source/", # Path in the checkout to the docs root