From b744e953dee947c543efc75aa8bb938c55ef837e Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Wed, 22 Apr 2015 17:39:23 +0100 Subject: [PATCH] Don't use spelling extension on read the docs --- docs/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 3b9afb9a3e..52c2ae42b6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,9 +50,11 @@ os.environ['DATABASE_ENGINE'] = 'django.db.backends.sqlite3' # ones. extensions = [ 'sphinx.ext.autodoc', - 'sphinxcontrib.spelling', ] +if not on_rtd: + extensions.append('sphinxcontrib.spelling') + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']