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 
21 read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
22 
23 if read_the_docs_build:
24  subprocess.call('mkdir -p _build/html/doxygen/; doxygen', shell=True)
25 
26 
27 # -- Project information -----------------------------------------------------
28 
29 project = 'mvsim'
30 copyright = u'2020, Jose Luis Blanco Claraco'
31 author = u'Jose Luis Blanco Claraco'
32 
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  'vcs_pageview_mode': '',
42  'style_nav_header_background': 'white',
43  # Toc options
44  'collapse_navigation': True,
45  'sticky_navigation': True,
46  'navigation_depth': 4,
47  'includehidden': True,
48  'titles_only': False
49 }
50 
51 html_theme = "sphinx_rtd_theme"
52 
53 # -- General configuration ---------------------------------------------------
54 
55 # To tell readthedocs.org to use index.rst as main doc:
56 master_doc = 'index'
57 
58 # Add any Sphinx extension module names here, as strings. They can be
59 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
60 # ones.
61 extensions = [
62  'sphinx_rtd_theme',
63  'sphinx.ext.mathjax'
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']


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:51