From a30ee7af387ef895cceb5e32eb794a5b05766498 Mon Sep 17 00:00:00 2001 From: adamgayoso Date: Fri, 3 Mar 2023 12:46:06 -0800 Subject: [PATCH] use sphinx autodoc --- docs/conf.py | 3 +-- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9e55624..7180fcc 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,7 +51,6 @@ "sphinx.ext.autosummary", "sphinx.ext.napoleon", "sphinxcontrib.bibtex", - "sphinx_autodoc_typehints", "sphinx.ext.mathjax", "sphinx.ext.extlinks", *[p.stem for p in (HERE / "extensions").glob("*.py")], @@ -61,6 +60,7 @@ autosummary_generate = True autodoc_member_order = "bysource" default_role = "literal" +autodoc_typehints = "description" bibtex_reference_style = "author_year" napoleon_google_docstring = True napoleon_numpy_docstring = True @@ -79,7 +79,6 @@ nb_output_stderr = "remove" nb_execution_mode = "off" nb_merge_streams = True -typehints_defaults = "braces" source_suffix = { ".rst": "restructuredtext", diff --git a/pyproject.toml b/pyproject.toml index cd2a3eb..44497a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,6 @@ docs = [ "ipython", "myst-nb", "sphinx-book-theme", - "sphinx-autodoc-typehints", "sphinx-copybutton", "sphinxcontrib-bibtex", "ipykernel",