Skip to content

Commit

Permalink
Remove custom autodoc typehint extension
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Nov 14, 2021
1 parent 8ff71e7 commit ed0d3cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
release = ""
language = None
master_doc = "index"
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx_autodoc_typehints"]
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"]

This comment has been minimized.

Copy link
@terencehonles

terencehonles Nov 15, 2021

Contributor

You may need to add sphinx.ext.autodoc.typehints not sure if you don't need to do that now, but you may want to check the difference between with and without the extension.

source_suffix = [".rst", ".md"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
pygments_style = "sphinx"
autodoc_typehints = "description"

if "readthedocs.org" in os.getcwd().split("/"):
with open("index.rst", "w") as fh:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"build",
"wheel",
"mypy",
"sphinx-autodoc-typehints"
]
},
packages=find_packages(exclude=["test"]),
Expand Down

0 comments on commit ed0d3cc

Please sign in to comment.