aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-04-26 09:03:39 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-26 17:56:33 +0300
commitef45352f800dd2aa25c129d8023d8fb5f84ee4ed (patch)
tree428359f65fef811c263e06e4d1c03d3dff53e7d1
parentb371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f (diff)
downloadmeson-ef45352f800dd2aa25c129d8023d8fb5f84ee4ed.zip
meson-ef45352f800dd2aa25c129d8023d8fb5f84ee4ed.tar.gz
meson-ef45352f800dd2aa25c129d8023d8fb5f84ee4ed.tar.bz2
docs: website license is CC-BY and code samples are CC0
-rw-r--r--docs/markdown/legal.md11
-rw-r--r--docs/theme/extra/templates/license.html7
2 files changed, 17 insertions, 1 deletions
diff --git a/docs/markdown/legal.md b/docs/markdown/legal.md
index f8f01bc..56ab70b 100644
--- a/docs/markdown/legal.md
+++ b/docs/markdown/legal.md
@@ -1,6 +1,15 @@
# Legal information
-Meson is copyrighted by all members of the Meson development team. For details see the <tt>authors.txt</tt> file that comes with the source code. Meson is licensed under the [Apache 2 license](https://www.apache.org/licenses/LICENSE-2.0).
+Meson is copyrighted by all members of the Meson development team. For details see the <tt>authors.txt</tt> file that comes with the source code. Meson is licensed under the [Apache 2 license].
Meson is a registered trademark of Jussi Pakkanen.
+## Website licensing
+
+The meson website content is released under [Creative Commons Attribution-ShareAlike 4.0 International].
+
+All code samples on the website are released under [CC0 1.0 Universal].
+
+[Creative Commons Attribution-ShareAlike 4.0 International]: https://creativecommons.org/licenses/by-sa/4.0/
+[CC0 1.0 Universal]: https://creativecommons.org/publicdomain/zero/1.0/
+[Apache 2 license]: https://www.apache.org/licenses/LICENSE-2.0
diff --git a/docs/theme/extra/templates/license.html b/docs/theme/extra/templates/license.html
new file mode 100644
index 0000000..5518782
--- /dev/null
+++ b/docs/theme/extra/templates/license.html
@@ -0,0 +1,7 @@
+@require(license, logo_path)
+
+<hr/>
+
+<div class="license-description">
+ Website licensing information are available on the <a href=legal.html>Legal</a> page.
+</div>