comparison docs/conf.py @ 2205:6b97fb00fa03 beta

autogenerate year for docs/conf.py
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 23 Apr 2012 18:21:40 +0200
parents b3ec9f4af18b
children b6adef467e23
comparison
equal deleted inserted replaced
2204:8ce4c8e43eb7 2205:6b97fb00fa03
9 # autogenerated file. 9 # autogenerated file.
10 # 10 #
11 # All configuration values have a default; values that are commented out 11 # All configuration values have a default; values that are commented out
12 # serve to show the default. 12 # serve to show the default.
13 13
14 import sys, os 14 import sys
15 import os
16 import datetime
15 17
16 # If extensions (or modules to document with autodoc) are in another directory, 18 # If extensions (or modules to document with autodoc) are in another directory,
17 # add these directories to sys.path here. If the directory is relative to the 19 # add these directories to sys.path here. If the directory is relative to the
18 # documentation root, use os.path.abspath to make it absolute, like shown here. 20 # documentation root, use os.path.abspath to make it absolute, like shown here.
19 sys.path.insert(0, os.path.abspath('..')) 21 sys.path.insert(0, os.path.abspath('..'))
23 # If your documentation needs a minimal Sphinx version, state it here. 25 # If your documentation needs a minimal Sphinx version, state it here.
24 #needs_sphinx = '1.0' 26 #needs_sphinx = '1.0'
25 27
26 # Add any Sphinx extension module names here, as strings. They can be extensions 28 # Add any Sphinx extension module names here, as strings. They can be extensions
27 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 29 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode'] 30 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest',
31 'sphinx.ext.intersphinx', 'sphinx.ext.todo',
32 'sphinx.ext.viewcode']
29 33
30 # Add any paths that contain templates here, relative to this directory. 34 # Add any paths that contain templates here, relative to this directory.
31 templates_path = ['_templates'] 35 templates_path = ['_templates']
32 36
33 # The suffix of source filenames. 37 # The suffix of source filenames.
39 # The master toctree document. 43 # The master toctree document.
40 master_doc = 'index' 44 master_doc = 'index'
41 45
42 # General information about the project. 46 # General information about the project.
43 project = u'RhodeCode' 47 project = u'RhodeCode'
44 copyright = u'2010, Marcin Kuzminski' 48 copyright = u'%s, Marcin Kuzminski' % (datetime.datetime.now().year)
45 49
46 # The version info for the project you're documenting, acts as replacement for 50 # The version info for the project you're documenting, acts as replacement for
47 # |version| and |release|, also used in various other places throughout the 51 # |version| and |release|, also used in various other places throughout the
48 # built documents. 52 # built documents.
49 # 53 #