##// END OF EJS Templates
autogenerate year for docs/conf.py
marcink -
r2205:6b97fb00 beta
parent child Browse files
Show More
@@ -11,7 +11,9 b''
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
@@ -25,7 +27,9 b" sys.path.insert(0, os.path.abspath('..')"
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']
@@ -41,7 +45,7 b" 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
General Comments 0
You need to be logged in to leave comments. Login now