| OLD | NEW |
| 1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
| 2 | 2 |
| 3 import sys, os | 3 import os |
| 4 import boto |
| 4 | 5 |
| 5 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo'] | 6 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo'] |
| 6 autoclass_content="both" | 7 autoclass_content="both" |
| 7 templates_path = ['_templates'] | 8 templates_path = ['_templates'] |
| 8 source_suffix = '.rst' | 9 source_suffix = '.rst' |
| 9 master_doc = 'index' | 10 master_doc = 'index' |
| 10 project = u'boto' | 11 project = u'boto' |
| 11 copyright = u'2009,2010, Mitch Garnaat' | 12 copyright = u'2009,2010, Mitch Garnaat' |
| 12 version = '2.0' | 13 version = boto.__version__ |
| 13 exclude_trees = [] | 14 exclude_trees = [] |
| 14 pygments_style = 'sphinx' | 15 pygments_style = 'sphinx' |
| 15 html_theme = 'boto_theme' | 16 html_theme = 'boto_theme' |
| 16 html_theme_path = ["."] | 17 html_theme_path = ["."] |
| 17 html_static_path = ['_static'] | 18 html_static_path = ['_static'] |
| 18 htmlhelp_basename = 'botodoc' | 19 htmlhelp_basename = 'botodoc' |
| 19 latex_documents = [ | 20 latex_documents = [ |
| 20 ('index', 'boto.tex', u'boto Documentation', | 21 ('index', 'boto.tex', u'boto Documentation', |
| 21 u'Mitch Garnaat', 'manual'), | 22 u'Mitch Garnaat', 'manual'), |
| 22 ] | 23 ] |
| 23 intersphinx_mapping = {'http://docs.python.org/': None} | 24 intersphinx_mapping = {'http://docs.python.org/': None} |
| 24 | 25 |
| 25 try: | 26 try: |
| 26 release = os.environ.get('SVN_REVISION', 'HEAD') | 27 release = os.environ.get('SVN_REVISION', 'HEAD') |
| 27 print release | 28 print release |
| 28 except Exception, e: | 29 except Exception, e: |
| 29 print e | 30 print e |
| 30 | 31 |
| 31 html_title = "boto v%s (r%s)" % (version, release) | 32 html_title = "boto v%s" % version |
| OLD | NEW |