aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>