summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2013-04-17 23:39:52 -0400
committerJulian Berman <Julian@GrayVines.com>2013-04-17 23:41:11 -0400
commitac9b9c624e8dcb3ee41f6cbf40dc4260e1770054 (patch)
treed9153ab959c8b13a3f6ca3fda8756f100efdf981 /docs/conf.py
parentcc09cafc1d357c4a5f05efc023055bae5f396bc2 (diff)
downloadjsonschema-ac9b9c624e8dcb3ee41f6cbf40dc4260e1770054.tar.gz
Add a JSON Schema documentation role.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index b0ca102..cce3f2f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -23,8 +23,11 @@ extensions = [
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
+ 'jsonschema_role',
]
+cache_path = "_cache"
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -58,7 +61,7 @@ version = release.partition("-")[0]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
-exclude_patterns = ['_build']
+exclude_patterns = ['_build', "_cache", "_static", "_templates"]
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None