Skip to content

Commit

Permalink
Remove sphinx_autodoc_typehints, fix Notebook duplicate label error
Browse files Browse the repository at this point in the history
  • Loading branch information
markheik committed Jun 21, 2022
1 parent 479f507 commit 6d003e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@
"IPython.sphinxext.ipython_console_highlighting",
"m2r2",
"sphinx.ext.autodoc",
"sphinx_autodoc_typehints",
"sphinx.ext.autosummary",
]
add_module_names = False
# Autodoc settings
autodoc_default_options = {"show-inheritance": True}

autodoc_typehints = "both"
autodoc_typehints_format = "short"
autosummary_generate = True
set_type_checking_flag = False

Expand All @@ -53,6 +54,7 @@

# Make sure the target is unique
autosectionlabel_prefix_document = True
autosectionlabel_maxdepth = 2

nbsphinx_execute = "never"

Expand Down Expand Up @@ -106,4 +108,4 @@
spelling_word_list_filename='spelling_wordlist.txt'
# Show suggestion in console output
spelling_show_suggestions=False
spelling_exclude_patterns=['examples/*']
spelling_exclude_patterns=['examples/*.nblink']

0 comments on commit 6d003e7

Please sign in to comment.