mirror of
https://github.com/gumyr/build123d.git
synced 2026-04-26 06:41:30 -07:00
Fixed missing type hints
This commit is contained in:
parent
34c022aee8
commit
ff71ec4066
1 changed files with 11 additions and 4 deletions
15
docs/conf.py
15
docs/conf.py
|
|
@ -42,7 +42,7 @@ for line in setup_cfg:
|
|||
extensions = [
|
||||
"sphinx.ext.napoleon",
|
||||
"sphinx.ext.autodoc",
|
||||
# "sphinx_autodoc_typehints",
|
||||
"sphinx_autodoc_typehints",
|
||||
"sphinx.ext.doctest",
|
||||
]
|
||||
|
||||
|
|
@ -61,9 +61,16 @@ napoleon_use_rtype = True
|
|||
napoleon_use_keyword = True
|
||||
napoleon_custom_sections = None
|
||||
|
||||
|
||||
autodoc_typehints = ["description"]
|
||||
autodoc_typehints = ["signature"]
|
||||
# autodoc_typehints = ["description"]
|
||||
# autodoc_typehints = ["both"]
|
||||
|
||||
autodoc_default_options = {
|
||||
"members": True,
|
||||
"undoc-members": True,
|
||||
"member-order": "bysource",
|
||||
}
|
||||
|
||||
autodoc_mock_imports = ["cadquery", "pkg_resources", "OCP"]
|
||||
|
||||
# Sphinx settings
|
||||
|
|
@ -90,4 +97,4 @@ html_theme = "sphinx_rtd_theme"
|
|||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
#html_static_path = ["_static"]
|
||||
# html_static_path = ["_static"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue