Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
452d833e7bb6d0ca36ea1237a74572ff31620def
[simgrid.git] / docs / source / conf.py
1 # -*- coding: utf-8 -*-
2 #
3 # Configuration file for the Sphinx documentation builder.
4 #
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
8
9 # -- Path setup --------------------------------------------------------------
10
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.
14 #
15 # import os
16 # import sys
17 # sys.path.insert(0, os.path.abspath('.'))
18
19
20 # -- Project information -----------------------------------------------------
21
22 project = u'SimGrid'
23 copyright = u'2018, The SimGrid Team'
24 author = u'The SimGrid Team'
25
26 # The short X.Y version
27 version = u'3.21'
28 # The full version, including alpha/beta/rc tags
29 release = u'3.21'
30
31
32 # -- General configuration ---------------------------------------------------
33
34 # If your documentation needs a minimal Sphinx version, state it here.
35 #
36 # needs_sphinx = '1.0'
37
38 # Add any Sphinx extension module names here, as strings. They can be
39 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
40 # ones.
41 extensions = [
42     'sphinx.ext.todo',
43 #    'sphinx.ext.coverage',
44     'sphinx.ext.mathjax',
45 #    'sphinx.ext.ifconfig',
46     'breathe',
47     'exhale',
48 ]
49
50 todo_include_todos = True
51
52 breathe_projects = { 'simgrid': '../../doc/xml' }
53 breathe_default_project = "simgrid"
54
55 # Setup the exhale extension
56 exhale_args = {
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": False,
67     # "exhaleDoxygenStdin":    "INPUT = ../../include"
68 }
69
70 # Add any paths that contain templates here, relative to this directory.
71 # templates_path = ['_templates']
72
73 # The suffix(es) of source filenames.
74 # You can specify multiple suffix as a list of string: ['.rst', '.md']
75 source_suffix = '.rst'
76
77 # The master toctree document.
78 master_doc = 'index'
79
80 # The language for content autogenerated by Sphinx. Refer to documentation
81 # for a list of supported languages.
82 #
83 # This is also used if you do content translation via gettext catalogs.
84 # Usually you set "language" from the command line for these cases.
85 language = None
86
87 # List of patterns, relative to source directory, that match files and
88 # directories to ignore when looking for source files.
89 # This pattern also affects html_static_path and html_extra_path .
90 exclude_patterns = []
91
92 # The name of the Pygments (syntax highlighting) style to use.
93 pygments_style = 'sphinx'
94
95
96 # -- Options for HTML output -------------------------------------------------
97
98 # The theme to use for HTML and HTML Help pages.  See the documentation for
99 # a list of builtin themes.
100 #
101 html_theme = 'sphinx_rtd_theme'
102
103 # Theme options are theme-specific and customize the look and feel of a theme
104 # further.  For a list of options available for each theme, see the
105 # documentation.
106 #
107 # html_theme_options = {}
108
109 # Add any paths that contain custom static files (such as style sheets) here,
110 # relative to this directory. They are copied after the builtin static files,
111 # so a file named "default.css" will overwrite the builtin "default.css".
112 # html_static_path = ['_static']
113
114 # Custom sidebar templates, must be a dictionary that maps document names
115 # to template names.
116 #
117 # The default sidebars (for documents that don't match any pattern) are
118 # defined by theme itself.  Builtin themes are using these templates by
119 # default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
120 # 'searchbox.html']``.
121 #
122 # html_sidebars = {'**': ['localtoc.html', 'relations.html', 'searchbox.html']}
123
124 # -- Options for HTMLHelp output ---------------------------------------------
125
126 # Output file base name for HTML help builder.
127 htmlhelp_basename = 'SimGrid-doc'
128
129 # -- Options for GitLab integration ------------------------------------------
130
131 html_context = {
132     "display_gitlab": True, # Integrate Gitlab
133     "gitlab_host": "framagit.org", 
134     "gitlab_user": "simgrid",
135     "gitlab_repo": "simgrid",
136     "gitlab_version": "master", # Version
137     "conf_py_path": "/docs/source/", # Path in the checkout to the docs root
138 }