diff --git a/docs/conf.py b/docs/conf.py index 8293d639c..8ae0e1f59 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/docs/requirements.txt b/docs/requirements.txt index 04df2061a..a8a226f79 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -15,5 +15,4 @@ # limitations under the License. # sphinx==3.0.1 -sphinx-autodoc-typehints==1.10.3 sphinx-rtd-theme==0.4.3