Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/RMK_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ common\_models submodule
:show-inheritance:

common\_variables submodule
------------------------
---------------------------

.. automodule:: RMK_support.common_variables
:members:
Expand Down Expand Up @@ -132,4 +132,4 @@ tex\_parsing submodule
.. automodule:: RMK_support.tex_parsing
:members:
:undoc-members:
:show-inheritance:
:show-inheritance:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/thumbnail_ReMKiT1D_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 29 additions & 12 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,62 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'ReMKiT1D Python Support'
copyright = '2023, Stefan Mijin'
author = 'Stefan Mijin'
release = '2.0.0'
project = "ReMKiT1D Python Support"
copyright = "2023, UKAEA"
author = "Stefan Mijin"
release = "2.0.0"

import os
import sys
sys.path.insert(0, os.path.abspath('../..'))

sys.path.insert(0, os.path.abspath("../.."))

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

extensions = ['sphinx.ext.autodoc','sphinx.ext.napoleon','sphinx.ext.mathjax',"nbsphinx","nbsphinx_link"]
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.mathjax",
"nbsphinx",
"nbsphinx_link",
]
napoleon_google_docstring = True
nbsphinx_execute = 'never'
nbsphinx_execute = "never"

templates_path = ['_templates']
templates_path = ["_templates"]
exclude_patterns = []

add_module_names = False

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

html_theme = 'pydata_sphinx_theme'
html_static_path = ['_static']
html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]

html_sidebars = {"**": ["globaltoc.html"]}

html_theme_options = {
"navbar_start": ["navbar-logo"],
"navbar_align": "left",
"primary_sidebar_end": [],
"navigation_depth": 0,
"show_nav_level": 3
"show_nav_level": 3,
"logo": {
"text": "",
"image_light": "_static/thumbnail_ReMKiT1D_black.png",
"image_dark": "_static/thumbnail_ReMKiT1D_white.png",
},
}


def skip(app, what, name, obj, would_skip, options):
if name == "__init__":
return False
return would_skip


def setup(app):
app.connect("autodoc-skip-member", skip)
app.connect("autodoc-skip-member", skip)

Loading