aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-20 15:05:27 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-20 15:05:27 -0600
commit81a68fc96d0845f5ee812665405276a935d05a79 (patch)
tree0478a737c0db71df5bee8f1b02d2a89713590867 /docs/conf.py
parent74169660e47b760f82c0653b4210b3bc5d3bf46b (diff)
parent78456c71627d9234a4668ce2fb36e12525cae6b1 (diff)
downloadcryptography-81a68fc96d0845f5ee812665405276a935d05a79.tar.gz
cryptography-81a68fc96d0845f5ee812665405276a935d05a79.tar.bz2
cryptography-81a68fc96d0845f5ee812665405276a935d05a79.zip
Merge branch 'master' into urandom-engine
* master: (58 commits) Moar backtick. Add to changelog. move some dashes around :) experiment to disable duplicate cc test runs on osx and speed up travis Remove register_cipher_adapter from the interface and the documentation. expand tox backend example On OS X at build time compile the CC bindings remove an extraneous linefeed reformat bindings and remove GCM for the moment add cipher bindings for CommonCrypto doc updates hmac support for commoncrypto added versionadded changelog to note addition of commoncrypto backend with hash support fix docs doc updates update docs for name attribute fix copy mistake in docs increase indent and note the value of the attribute in the docs move HashMethods to top level ...
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index a42dcb22..3486fb38 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,6 +19,11 @@ try:
except ImportError:
sphinx_rtd_theme = None
+try:
+ from sphinxcontrib import spelling
+except ImportError:
+ spelling = None
+
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@@ -38,9 +43,11 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'cryptography-docs',
- 'sphinxcontrib.spelling',
]
+if spelling is not None:
+ extensions.append('sphinxcontrib.spelling')
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -263,3 +270,5 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
+
+epub_theme = 'epub'