31 lines
747 B
Python
31 lines
747 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import sys, os
|
|
|
|
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
|
|
templates_path = ['_templates']
|
|
source_suffix = '.rst'
|
|
master_doc = 'index'
|
|
project = u'boto'
|
|
copyright = u'2009,2010, Mitch Garnaat'
|
|
version = '1.9'
|
|
exclude_trees = []
|
|
pygments_style = 'sphinx'
|
|
html_theme = 'boto_theme'
|
|
html_theme_path = ["."]
|
|
html_static_path = ['_static']
|
|
htmlhelp_basename = 'botodoc'
|
|
latex_documents = [
|
|
('index', 'boto.tex', u'boto Documentation',
|
|
u'Mitch Garnaat', 'manual'),
|
|
]
|
|
intersphinx_mapping = {'http://docs.python.org/': None}
|
|
|
|
try:
|
|
release = os.environ.get('SVN_REVISION', 'HEAD')
|
|
print release
|
|
except Exception, e:
|
|
print e
|
|
|
|
html_title = "boto v%s (r%s)" % (version, release)
|