conf.py
Go to the documentation of this file.
1 # Configuration file for the Sphinx documentation builder.
2 #
3 # This file only contains a selection of the most common options. For a full
4 # list see the documentation:
5 # https://www.sphinx-doc.org/en/master/usage/configuration.html
6 
7 # -- Path setup --------------------------------------------------------------
8 
9 # If extensions (or modules to document with autodoc) are in another directory,
10 # add these directories to sys.path here. If the directory is relative to the
11 # documentation root, use os.path.abspath to make it absolute, like shown here.
12 #
13 # import os
14 # import sys
15 # sys.path.insert(0, os.path.abspath('.'))
16 
17 import sphinx_rtd_theme
18 import subprocess
19 import os
20 import datetime
21 
22 # read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
23 # if read_the_docs_build:
24 
25 # Build doxygen docs too:
26 subprocess.call('mkdir -p _build/html/doxygen/; doxygen', shell=True)
27 
28 
29 # -- Project information -----------------------------------------------------
30 
31 project = 'mvsim'
32 author = u'Jose Luis Blanco Claraco'
33 copyright = datetime.date.today().strftime("%Y") + u', ' + author
34 
35 html_theme_options = {
36  # 'canonical_url': '',
37  'analytics_id': 'UA-21128561-9', # Provided by Google in your dashboard
38  'logo_only': False,
39  'display_version': True,
40  'prev_next_buttons_location': 'bottom',
41  'style_external_links': False,
42  # 'style_nav_header_background': 'white',
43  # Toc options
44  # 'collapse_navigation': False,
45  # 'sticky_navigation': False,
46  # 'navigation_depth': 4,
47  # 'includehidden': True,
48 }
49 
50 html_theme = "sphinx_rtd_theme"
51 
52 # -- General configuration ---------------------------------------------------
53 
54 # To tell readthedocs.org to use index.rst as main doc:
55 master_doc = 'index'
56 
57 # Add any Sphinx extension module names here, as strings. They can be
58 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
59 # ones.
60 extensions = [
61  'sphinx_rtd_theme',
62  'sphinx.ext.mathjax',
63  'sphinx_design',
64  'sphinx.ext.autosectionlabel',
65  'sphinxcontrib.bibtex',
66 ]
67 
68 bibtex_bibfiles = ['refs.bib']
69 
70 # Add any paths that contain templates here, relative to this directory.
71 templates_path = ['_templates']
72 
73 # List of patterns, relative to source directory, that match files and
74 # directories to ignore when looking for source files.
75 # This pattern also affects html_static_path and html_extra_path.
76 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
77 
78 
79 # -- Options for HTML output -------------------------------------------------
80 
81 # The theme to use for HTML and HTML Help pages. See the documentation for
82 # a list of builtin themes.
83 #
84 html_theme = 'sphinx_rtd_theme'
85 html_theme_path = ["_themes", ]
86 
87 # Add any paths that contain custom static files (such as style sheets) here,
88 # relative to this directory. They are copied after the builtin static files,
89 # so a file named "default.css" will overwrite the builtin "default.css".
90 html_static_path = ["_build/html/doxygen/"] # '_static'
91 
92 
93 rst_epilog = """
94 .. role:: raw-html(raw)
95  :format: html
96 """


mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:07