This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 91f6e70  docs: Disable sphinx-autodoc-typehints (#9846)
91f6e70 is described below

commit 91f6e708eb12413c291261c9b0ad93add12ace1e
Author: John Bodley <[email protected]>
AuthorDate: Wed May 20 06:59:59 2020 -0700

    docs: Disable sphinx-autodoc-typehints (#9846)
    
    * Update requirements.txt
    
    * Update conf.py
    
    * Update conf.py
---
 docs/conf.py          | 9 +--------
 docs/requirements.txt | 1 -
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 8293d63..8ae0e1f 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 04df206..a8a226f 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

Reply via email to