From 2ebfa7e68d99bb58cf965d89527a467d27e3d00d Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Wed, 22 Sep 2010 10:52:02 -0300 Subject: [PATCH] Removed unneeded code (since autodoc is not used in Sphinx doc) --- docs/Makefile | 3 --- docs/conf.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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']