diff --git a/docs/source/conf.py b/docs/source/conf.py index ccc406344654b7cd51554b92176e0e0c84e0d6e2..afcc9c5cb8ad1596711922c290f43845c9b2c26d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -36,9 +36,15 @@ release = '0.6.0' # ones. extensions = [ 'sphinx.ext.autodoc', + 'sphzinx.ext.mathjax', + 'sphinx.ext.mathjax', 'sphinx.ext.viewcode', - 'myst_parser' + 'myst_parser', + 'sphinx.ext.autosectionlabel', ] +autosectionlabel_prefix_document = True +autosectionlabel_maxdepth = 2 + autodoc_default_options = { 'member-order': 'bysource', # Keep the order of members as they appear in the source code 'undoc-members': True, # Do not show undocumented members