mirror of https://github.com/apache/superset.git
docs: Disable sphinx-autodoc-typehints (#9846)
* Update requirements.txt * Update conf.py * Update conf.py
This commit is contained in:
parent
1a775e2612
commit
91f6e708eb
|
@ -31,9 +31,6 @@ import shlex
|
|||
import sys
|
||||
|
||||
import sphinx_rtd_theme
|
||||
from pandas._typing import ArrayLike # Somehow required for type-checking.
|
||||
|
||||
from superset import security_manager # Somehow required for type-checking.
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
|
@ -48,7 +45,7 @@ from superset import security_manager # Somehow required for type-checking.
|
|||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx_autodoc_typehints"]
|
||||
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ["_templates"]
|
||||
|
@ -307,7 +304,3 @@ texinfo_documents = [
|
|||
|
||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
||||
# texinfo_no_detailmenu = False
|
||||
|
||||
# -- Options for sphinx-autodoc-typehints -------------------------------------
|
||||
|
||||
set_type_checking_flag = True
|
||||
|
|
|
@ -15,5 +15,4 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
sphinx==3.0.1
|
||||
sphinx-autodoc-typehints==1.10.3
|
||||
sphinx-rtd-theme==0.4.3
|
||||
|
|
Loading…
Reference in New Issue