Mercurial > public > src > rhodecode
changeset 2305: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 | 8ce4c8e43eb7 |
children | 17ff5693566b |
files | docs/conf.py |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/conf.py Mon Apr 23 18:21:19 2012 +0200 +++ b/docs/conf.py Mon Apr 23 18:21:40 2012 +0200 @@ -11,7 +11,9 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import sys +import os +import datetime # 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 @@ -25,7 +27,9 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', + 'sphinx.ext.intersphinx', 'sphinx.ext.todo', + 'sphinx.ext.viewcode'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -41,7 +45,7 @@ # General information about the project. project = u'RhodeCode' -copyright = u'2010, Marcin Kuzminski' +copyright = u'%s, Marcin Kuzminski' % (datetime.datetime.now().year) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the