[meta-freescale] [Documentation][PATCH 2/2] RN: Add CC license to footer
Daiane Angolini
daiane.list at gmail.com
Wed Sep 24 12:32:22 PDT 2014
Add Creative Commons license to be show in footer.
The CC license:
- share-alike
- atribution needed
- allow derivative work (even commercially)
http://creativecommons.org/licenses/by/4.0/legalcode
Also disable the default "Copyright:" to be shown on footer.
Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>
---
release-notes/source/_templates/layout.html | 17 +++++++++++++++++
release-notes/source/conf.py | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/release-notes/source/_templates/layout.html b/release-notes/source/_templates/layout.html
index cf094c1..5121b1d 100644
--- a/release-notes/source/_templates/layout.html
+++ b/release-notes/source/_templates/layout.html
@@ -82,6 +82,23 @@
<div class="right">
{{ super() }}
+ <span class="creativecommons">
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
+ <img alt="Creative Commons License" style="border-width:0"
+ src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>
+ <br />
+ <span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text"
+ property="dct:title" rel="dct:type">FSL Community BSP Release Notes</span> by
+ <a xmlns:cc="http://creativecommons.org/ns#" href="http://freescale.github.io/doc/release-notes/current/"
+ property="cc:attributionName" rel="cc:attributionURL">http://freescale.github.io/doc/release-notes/current/</a>
+ is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
+ Creative Commons Attribution-ShareAlike 4.0 International License</a>.
+ <br />
+ Based on a work at
+ <a xmlns:dct="http://purl.org/dc/terms/"
+ href="https://github.com/Freescale/Documentation"
+ rel="dct:source">https://github.com/Freescale/Documentation</a>.
+ </span>
</div>
<div class="clearer"></div>
</div>
diff --git a/release-notes/source/conf.py b/release-notes/source/conf.py
index 80f7de5..fb80661 100644
--- a/release-notes/source/conf.py
+++ b/release-notes/source/conf.py
@@ -157,7 +157,7 @@ html_copy_source = False
#html_show_sphinx = True
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
+html_show_copyright = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
--
1.9.1
More information about the meta-freescale
mailing list