Marcin Kuzminski  committed 6b97fb0

autogenerate year for docs/

  • Participants
  • Parent commits 8ce4c8e
  • Branches beta

Comments (0)

Files changed (1)

File docs/

 # 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
 # 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']
 # General information about the project.
 project = u'RhodeCode'
-copyright = u'2010, Marcin Kuzminski'
+copyright = u'%s, Marcin Kuzminski' % (
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the