conf.py
Go to the documentation of this file.
1 import sys
2 import os
3 import exhale
4 # Configuration file for the Sphinx documentation builder.
5 #
6 # This file only contains a selection of the most common options. For a full
7 # list see the documentation:
8 # https://www.sphinx-doc.org/en/master/usage/configuration.html
9 
10 # -- Path setup --------------------------------------------------------------
11 
12 # If extensions (or modules to document with autodoc) are in another directory,
13 # add these directories to sys.path here. If the directory is relative to the
14 # documentation root, use os.path.abspath to make it absolute, like shown here.
15 #
16 # import os
17 # import sys
18 # sys.path.insert(0, os.path.abspath('../include/fields2cover'))
19 
20 
21 # -- Project information -----------------------------------------------------
22 
23 project = 'Fields2Cover'
24 copyright = '2020-2024, Wageningen University'
25 author = 'Wageningen University'
26 
27 # The full version, including alpha/beta/rc tags
28 release = 'latest'
29 
30 primary_domain = 'cpp'
31 highlight_language = 'cpp'
32 
33 
34 # -- General configuration ---------------------------------------------------
35 
36 # Add any Sphinx extension module names here, as strings. They can be
37 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
38 # ones.
39 extensions = [
40  'sphinx.ext.autodoc',
41  'sphinx.ext.intersphinx',
42  'sphinx.ext.autosectionlabel',
43  'sphinx.ext.todo',
44  'sphinx.ext.coverage',
45  'sphinx.ext.mathjax',
46  'sphinx.ext.ifconfig',
47  'sphinx.ext.viewcode',
48  'sphinx_sitemap',
49  'sphinx_code_tabs',
50  'sphinx.ext.inheritance_diagram',
51  "exhale",
52  "breathe",
53  "m2r2"
54 ]
55 
56 
57 source_suffix = [".rst", ".md"]
58 
59 breathe_projects = {"Fields2Cover": "../build/docs/doc_doxygen/xml/index.xml"}
60 breathe_default_project = "Fields2Cover"
61 #breathe_default_members = ('members', 'undoc-members')
62 exhale_args = {
63  "containmentFolder" : "./api/",
64  "rootFileName" : "f2c_library.rst",
65  "rootFileTitle" : "API",
66  "doxygenStripFromPath" : ".."
67 }
68 
69 # Add any paths that contain templates here, relative to this directory.
70 templates_path = ['_templates']
71 
72 # List of patterns, relative to source directory, that match files and
73 # directories to ignore when looking for source files.
74 # This pattern also affects html_static_path and html_extra_path.
75 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
76 
77 
78 # -- Options for HTML output -------------------------------------------------
79 
80 # The theme to use for HTML and HTML Help pages. See the documentation for
81 # a list of builtin themes.
82 #
83 html_theme = 'sphinx_rtd_theme'
84 
85 # Add any paths that contain custom static files (such as style sheets) here,
86 # relative to this directory. They are copied after the builtin static files,
87 # so a file named "default.css" will overwrite the builtin "default.css".
88 #html_static_path = ['_static']
89 
90 html_baseurl = 'https://fields2cover.github.io/'
91 html_logo = "figures/logo_fields2cover.png"
92 html_favicon = "figures/favicon/favicon.ico"
93 html_theme_options = {
94  'logo_only': True,
95  'display_version': False,
96 }
97 github_url = 'https://www.github.com/Fields2Cover/Fields2Cover'
98 
99 import time
100 def setup(app):
101  time.sleep(3)
102 
103 
104 
105 
conf.setup
def setup(app)
Definition: conf.py:100


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31