Improve copyright and license clarity

Add hidden copyright and license headers to relevant prose files,
make sure the copyright year in rendered HTML reflects the document
build time and include license info in the footer of all pages.

Change-Id: I671a31718bf8a34b8888e5e3260b76743e98adcd
This commit is contained in:
Jeremy Stanley 2015-04-13 17:02:49 +00:00
parent 869849270b
commit 5bc36929b1
2 changed files with 17 additions and 2 deletions

View File

@ -11,9 +11,12 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import datetime
import sys
import os
from jinja2.utils import Markup
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
@ -47,7 +50,13 @@ master_doc = 'index'
# General information about the project.
project = u'OpenStack Security Advisories'
copyright = u'2014, OpenStack Vulnerability Management Team'
copyright = Markup(u'%s, OpenStack Vulnerability Management Team. '
u'Freely licensed under <a href="http://'
u'creativecommons.org/licenses/by/3.0/legalcode">CC BY '
u'3.0</a>. Propose changes to the <a '
u'href="https://git.openstack.org/cgit/openstack/ossa">'
u'ossa git repo</a>'
% datetime.date.today().year)
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -244,7 +253,8 @@ texinfo_documents = [
epub_title = u'OpenStack Security Advisories'
epub_author = u'OpenStack Vulnerability Management Team'
epub_publisher = u'OpenStack Vulnerability Management Team'
epub_copyright = u'2014, OpenStack Vulnerability Management Team'
epub_copyright = (u'%s, OpenStack Vulnerability Management Team'
% datetime.date.today().year)
# The language of the text. It defaults to the language option
# or en if the language is not set.

View File

@ -1,3 +1,8 @@
.. :Copyright: 2015, OpenStack Vulnerability Management Team
.. :License: This work is licensed under a Creative Commons
Attribution 3.0 Unported License.
http://creativecommons.org/licenses/by/3.0/legalcode
====================
OpenStack Security
====================