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

johnbodley pushed a commit to branch john-bodley--disable-autodoc-typehints
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to 
refs/heads/john-bodley--disable-autodoc-typehints by this push:
     new f2f3906  Update conf.py
f2f3906 is described below

commit f2f39060bd5c8e4322ad3e80a868ffbd0387e9ed
Author: John Bodley <4567245+john-bod...@users.noreply.github.com>
AuthorDate: Tue May 19 10:16:18 2020 -0700

    Update conf.py
---
 docs/conf.py | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 8293d63..5251ecd 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.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

Reply via email to