File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Fix the current year reference for CKAN documentation
Original file line number Diff line number Diff line change 1414# All configuration values have a default; values that are commented out
1515# serve to show the default.
1616
17+ from datetime import date
1718import re
1819import os
1920import subprocess
103104# General information about the project.
104105project = u'CKAN'
105106project_short_name = u'CKAN'
106- copyright = u'''© 2009-2018 <a href="https://okfn.org/">Open Knowledge Foundation</a> and <a href="https://github.com/ckan/ckan/graphs/contributors">contributors</a>.
107+ copyright = u'© 2009-{} ' .format (date .today ().strftime ("%Y" ))
108+ copyright += u'''<a href="https://okfn.org/">Open Knowledge Foundation</a> and
109+ <a href="https://github.com/ckan/ckan/graphs/contributors">contributors</a>.
107110 Licensed under <a
108111 href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
109112 Attribution ShareAlike (Unported) v3.0 License</a>.<br />
110113 <img src="https://licensebuttons.net/l/by-sa/3.0/80x15.png" alt="CC License Logo" />
111- <a href="https://opendefinition.org/"><img src="https://assets.okfn.org/images/ok_buttons/oc_80x15_blue.png" border="0"
112- alt="{{ _('Open Content') }}" /></a>
114+ <a href="https://opendefinition.org/">
115+ <img src="https://assets.okfn.org/images/ok_buttons/oc_80x15_blue.png" border="0"
116+ alt="{{ _('Open Content') }}" />
117+ </a>
113118 '''
114119html_show_sphinx = False
115120
You can’t perform that action at this time.
0 commit comments