diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-29 17:07:24 -0700 | 
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-29 17:07:24 -0700 | 
| commit | af82d5eaeda02561b29adec38d40bf22c3a8e23b (patch) | |
| tree | cb2c17730bff614b5f97d839f24966c73b4ba3bb /docs/conf.py | |
| parent | acfdd61e8e67b8d2df2d4662631e8f8e1c1bc0c0 (diff) | |
| download | cryptography-af82d5eaeda02561b29adec38d40bf22c3a8e23b.tar.gz cryptography-af82d5eaeda02561b29adec38d40bf22c3a8e23b.tar.bz2 cryptography-af82d5eaeda02561b29adec38d40bf22c3a8e23b.zip  | |
Made a sphinx extension which emits the hazardous materials danger admonition
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index a368ac70..8e0fc7be 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,10 +11,13 @@  # All configuration values have a default; values that are commented out  # serve to show the default. +import os +import sys +  # 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  # documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('.'))  # -- General configuration ---------------------------------------------------- @@ -28,6 +31,7 @@ extensions = [      'sphinx.ext.doctest',      'sphinx.ext.intersphinx',      'sphinx.ext.viewcode', +    'cryptography-docs',  ]  # Add any paths that contain templates here, relative to this directory.  | 
