Commit 7f86a1da authored by Maximilian Schanner's avatar Maximilian Schanner
Browse files

New theme + nbsphinx

parent 4758c6e7
......@@ -36,8 +36,7 @@
# -- Project information -----------------------------------------------------
from pymagglobal.core import __all__ as core_members
copyright = f'2020 Helmholtz Centre Potsdam GFZ, ' \
+ f'German Research Centre for Geosciences, Potsdam, Germany'
copyright = f'2020 Helmholtz Centre Potsdam GFZ'
project = 'pymagglobal'
author = 'Schanner, M. A. and Mauerberger, S. and Korte, M.'
......@@ -50,7 +49,8 @@ extensions = ['sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'sphinx.ext.linkcode',
'sphinxarg.ext']
'sphinxarg.ext',
'nbsphinx',]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
......@@ -75,7 +75,13 @@ def linkcode_resolve(domain, info):
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'classic'
html_theme = 'alabaster'
html_theme_options = {
'fixed_sidebar': True,
'sidebar_width': '225px',
'extra_nav_links': {'The Repository':
'https://git.gfz-potsdam.de/sec23/korte/pymagglobal/'},
}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment