Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Removed unneeded code (since autodoc is not used in Sphinx doc)

Pablo Hoffman2ebfa7e68d99
diff --git a/docs/Makefile b/docs/Makefile
index 0982644c7..c6e4dd64d 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -3,9 +3,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
-# Required for autodoc
-export SCRAPY_SETTINGS_DISABLED = 1
-
# You can set these variables from the command line.
PYTHON = python
SPHINXOPTS =
diff --git a/docs/conf.py b/docs/conf.py
index 41fb5139c..1ce11cde2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,7 @@ sys.path.append(path.join(path.dirname(path.dirname(__file__)), "scrapy"))
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['scrapydocs', 'sphinx.ext.autodoc']
+extensions = ['scrapydocs']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']