Commit 7fed1f90 authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

conf-common: Add copyright years globally

parent 1857fd2d
......@@ -12,7 +12,7 @@
# serve to show the default.
from __future__ import unicode_literals
import sys, os
import sys, os, datetime
html_context = {
#mahara_releases is used to build the user manual links
......@@ -62,7 +62,9 @@ master_doc = 'index'
# General information about the project.
project = 'Mahara'
copyright = "{} Catalyst IT and others".format(copyright_years)
copyright_year_end = datetime.datetime.now().year
copyright = "2011-{} Catalyst IT and others".format(copyright_year_end)
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
......@@ -271,7 +273,7 @@ man_pages = [
epub_title = 'Mahara {} user manual'.format(release)
epub_author = 'Catalyst IT and others'
epub_publisher = 'Mahara Project'
epub_copyright = '{} Dual licensed under Creative Commons BY-SA 3.0 unported and GNU General Public License version 3 or later, Catalyst IT and others'.format(copyright_years)
epub_copyright = '2011-{} Dual licensed under Creative Commons BY-SA 3.0 unported and GNU General Public License version 3 or later, Catalyst IT and others'.format(copyright_year_end)
# The language of the text. It defaults to the language option
# or en if the language is not set.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment