diff docs/license.rst @ 257:265b759f1f08

Add a license page to the documentation and drop a note about the licenses in the README
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 17 May 2026 14:30:07 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/license.rst	Sun May 17 14:30:07 2026 +0200
@@ -0,0 +1,19 @@
+.. -*- coding: utf-8; indent-tabs-mode: nil; -*-
+
+.. _licenses:
+
+**********
+ Licenses
+**********
+
+The project is licensed under the terms of the MIT License:
+
+.. literalinclude:: ../LICENSES/MIT.txt
+   :language: none
+
+Some code snippets are licensed under the terms of the
+BSD 2-Clause "Simplified" License as they are taken from the Python
+lexer that is included in `Pygments`_:
+
+.. literalinclude:: ../LICENSES/BSD-2-Clause.txt
+   :language: none