diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-01-06 06:09:28 +0000 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-01-06 06:09:28 +0000 |
| commit | c5359db539cad96a83c411d1c059cd4e78b86a46 (patch) | |
| tree | 73c350d0ef16aa8bfeceb912a954e6218572cc4c /docs/conf.py | |
| parent | 1d6c608c2726be7a9e4c14d83fd8373a6db83146 (diff) | |
| download | passlib-c5359db539cad96a83c411d1c059cd4e78b86a46.tar.gz | |
removing bps deps, all UTs pass
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/conf.py b/docs/conf.py index 782bb79..20c1b3b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,12 +15,11 @@ # serve to show the default. import sys, os -from bps import * # 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.append(filepath("_exts").abspath) +##sys.path.append(os.path.abspath(os.path.join(__file__,"..","_exts"))) # -- General configuration ----------------------------------------------------- @@ -29,9 +28,9 @@ from bps import * extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.todo', - 'bps.unstable.bpsdoc.index_styles', - 'bps.unstable.bpsdoc.relbar_toc', - 'bps.unstable.bpsdoc.nested_sections', +## 'bps.unstable.bpsdoc.index_styles', +## 'bps.unstable.bpsdoc.relbar_toc', +## 'bps.unstable.bpsdoc.nested_sections', ] # Add any paths that contain templates here, relative to this directory. @@ -48,7 +47,7 @@ master_doc = 'contents' index_doc = 'index' # General information about the project. -project = u'BPS' +project = u'PassLib' copyright = u'2004-2009, Assurance Technologies, LLC' # The version info for the project you're documenting, acts as replacement for @@ -58,9 +57,9 @@ copyright = u'2004-2009, Assurance Technologies, LLC' # version: The short X.Y version. # release: The full version, including alpha/beta/rc tags. -from bps import __version__ as release -from bps.unstable import main_version -version = main_version(release, str=True) +from passlib import __version__ as release +import re +version = re.match("(\d+\.\d+)", release).group(1) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -97,7 +96,7 @@ add_function_parentheses = True pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. -modindex_common_prefix = [ "bps." ] +modindex_common_prefix = [ "passlib." ] # -- Options for all output --------------------------------------------------- todo_include_todos = True |
