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 
24 if read_the_docs_build:
25  subprocess.call('mkdir -p _build/html/doxygen/; doxygen', shell=True)
26 
27 
28 # -- Project information -----------------------------------------------------
29 
30 project = 'mvsim'
31 author = u'Jose Luis Blanco Claraco'
32 copyright = datetime.date.today().strftime("%Y") + u', ' + author
33 
34 html_theme_options = {
35  # 'canonical_url': '',
36  'analytics_id': 'UA-21128561-9', # Provided by Google in your dashboard
37  'logo_only': False,
38  'display_version': True,
39  'prev_next_buttons_location': 'bottom',
40  'style_external_links': False,
41  'style_nav_header_background': 'white',
42  # Toc options
43  'collapse_navigation': True,
44  'sticky_navigation': True,
45  'navigation_depth': 4,
46  'includehidden': True,
47  'titles_only': False
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 ]
65 
66 # Add any paths that contain templates here, relative to this directory.
67 templates_path = ['_templates']
68 
69 # List of patterns, relative to source directory, that match files and
70 # directories to ignore when looking for source files.
71 # This pattern also affects html_static_path and html_extra_path.
72 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
73 
74 
75 # -- Options for HTML output -------------------------------------------------
76 
77 # The theme to use for HTML and HTML Help pages. See the documentation for
78 # a list of builtin themes.
79 #
80 html_theme = 'sphinx_rtd_theme'
81 html_theme_path = ["_themes", ]
82 
83 # Add any paths that contain custom static files (such as style sheets) here,
84 # relative to this directory. They are copied after the builtin static files,
85 # so a file named "default.css" will overwrite the builtin "default.css".
86 html_static_path = ['_static']
87 
88 
89 rst_epilog = """
90 .. role:: raw-html(raw)
91  :format: html
92 """


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:19