changeset 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 0114842950c4
children e03e8cfdcece
files README.rst docs/_latex/index-latex.rst docs/index.rst docs/license.rst
diffstat 4 files changed, 25 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.rst	Sun May 17 13:07:23 2026 +0200
+++ b/README.rst	Sun May 17 14:30:07 2026 +0200
@@ -6,8 +6,11 @@
 
 :Version: 3.0.0.dev1
 :Date: |VCSJustDate|
+:Copyright:
+   - © 2026 Franz Glasner
+   - © 2015 Simon Wachter
+:License: MIT License
 :Revision: |VCSRevision|
-:License: MIT License
 
 
 This package contains `Pygments`_ lexers for some variants of pseudocode.
--- a/docs/_latex/index-latex.rst	Sun May 17 13:07:23 2026 +0200
+++ b/docs/_latex/index-latex.rst	Sun May 17 14:30:07 2026 +0200
@@ -17,6 +17,7 @@
    lexers-latex
    ../filters
    ../changes
+   ../license
 
 .. * :ref:`genindex`
 .. * :ref:`modindex`
--- a/docs/index.rst	Sun May 17 13:07:23 2026 +0200
+++ b/docs/index.rst	Sun May 17 14:30:07 2026 +0200
@@ -11,6 +11,7 @@
    lexers
    filters
    changes
+   license
 
 .. * :ref:`genindex`
 .. * :ref:`modindex`
--- /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