summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2013-04-09 22:37:39 -0400
committerJulian Berman <Julian@GrayVines.com>2013-04-09 22:37:39 -0400
commit45fe8eecaf4f9ec3f2996f057d4ddcb44b17ea7a (patch)
tree285b4af3045cf6918f2b1796e25867ba91aff3cb /docs
parent3bc8adf4b68150b7aa9b540e7868c9eb55d3d849 (diff)
downloadjsonschema-45fe8eecaf4f9ec3f2996f057d4ddcb44b17ea7a.tar.gz
String stringety string.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 5a85d42..5505844 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -2,6 +2,7 @@
#
# This file is execfile()d with the current directory set to its containing dir.
+from textwrap import dedent
import sys, os
# If extensions (or modules to document with autodoc) are in another directory,
@@ -67,10 +68,10 @@ pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
-doctest_global_setup = (
- "from __future__ import print_function\n"
- "from jsonschema import *"
-)
+doctest_global_setup = dedent("""
+ from __future__ import print_function
+ from jsonschema import *
+""")
# -- Options for HTML output ---------------------------------------------------