docs: updated sphinx conf file to deal with md files; added copy button

This commit is contained in:
wakonig_k 2023-07-26 22:53:09 +02:00
parent 21d371a80b
commit 7f48ce6aa1
2 changed files with 7 additions and 3 deletions

View File

@ -36,12 +36,14 @@ extensions = [
# "sphinx.ext.coverage",
"sphinx.ext.napoleon",
"sphinx_toolbox.collapse",
"sphinx_copybutton",
"myst_parser",
]
autosummary_generate = True # Turn on sphinx.ext.autosummary
# add_module_names = True # Remove namespaces from class/method signatures
# autodoc_inherit_docstrings = True # If no docstring, inherit from base class
# set_type_checking_flag = True # Enable 'expensive' imports for sphinx_autodoc_typehints
add_module_names = False # Remove namespaces from class/method signatures
autodoc_inherit_docstrings = True # If no docstring, inherit from base class
set_type_checking_flag = True # Enable 'expensive' imports for sphinx_autodoc_typehints
autoclass_content = "both" # Include both class docstring and __init__
# Add any paths that contain templates here, relative to this directory.

View File

@ -3,4 +3,6 @@ sphinx_copybutton
recommonmark
sphinx-toolbox
sphinx_rtd_theme
sphinx-copybutton
myst-parser
bec_server