FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(docs): use builtin autodoc hints · python-gitlab/python-gitlab@5e9c943 · GitHub

Repository navigation

Commit 5e9c943

Browse files
committed
chore(docs): use builtin autodoc hints
1 parent b7dde0d commit 5e9c943

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/conf.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@
4242
"sphinx.ext.autodoc",
4343
"sphinx.ext.autosummary",
4444
"ext.docstrings",
45-
"sphinx_autodoc_typehints", # must be loaded after napoleon modules
4645
"sphinxcontrib.autoprogram",
4746
]
4847

48+
autodoc_typehints = "both"
49+
4950
# Add any paths that contain templates here, relative to this directory.
5051
templates_path = ["_templates"]
5152

‎requirements-docs.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ myst-parser
44
sphinx==4.3.1
55
sphinx_rtd_theme
66
sphinxcontrib-autoprogram
7-
sphinx-autodoc-typehints==1.12.0

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL