Skip to content

Commit

Permalink
Added rdt theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnstRoell committed Jul 25, 2024
1 parent 1baefc3 commit 45c987d
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,40 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'MANTRA'
copyright = '2024, Ernst Röell, Daniel Bin Schmid, Bastian Rieck'
author = 'Ernst Röell, Daniel Bin Schmid, Bastian Rieck'
project = "MANTRA"
copyright = "2024, Ernst Röell, Daniel Bin Schmid, Bastian Rieck"
author = "Ernst Röell, Daniel Bin Schmid, Bastian Rieck"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
'sphinx.ext.autodoc',
"sphinx.ext.autodoc",
"sphinx_rtd_theme",
]

templates_path = ['_templates']
exclude_patterns = ['build', 'Thumbs.db', '.DS_Store']
templates_path = ["_templates"]
exclude_patterns = ["build", "Thumbs.db", ".DS_Store"]


# Ensure that member functions are documented. These are sane defaults.
autodoc_default_options = {
'members': True,
'member-order': 'bysource',
'special-members': '__init__',
'undoc-members': True,
'exclude-members': '__weakref__'
"members": True,
"member-order": "bysource",
"special-members": "__init__",
"undoc-members": True,
"exclude-members": "__weakref__",
}

# Tries to assign some semantic meaning to arguments provided with
# single backtics, such as `x`. This way, we can ignore `func` and
# `class` targets etc. (They still work, though!)
default_role = 'obj'
default_role = "obj"

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]

modindex_common_prefix = ['mantra.']
modindex_common_prefix = ["mantra."]

0 comments on commit 45c987d

Please sign in to comment.