Skip to content

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

DOC make local docs use the same theme as readthedocs.org

Mikhail Korobov7dcd7f3ca7ce
diff --git a/docs/conf.py b/docs/conf.py
index fdd3025db..2c1935003 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -42,7 +42,7 @@ master_doc = 'index'
# General information about the project.
project = u'Scrapy'
-copyright = u'2008-2014, Scrapy developers'
+copyright = u'2008-2015, Scrapy developers'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -95,10 +95,23 @@ pygments_style = 'sphinx'
# Options for HTML output
# -----------------------
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+html_theme = 'sphinx_rtd_theme'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = []
+
+
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
# given in html_static_path.
-html_style = 'scrapydoc.css'
+# html_style = 'scrapydoc.css'
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".