# HG changeset patch # User Franz Glasner # Date 1778103455 -7200 # Node ID 62407bd73ba887627be9996da2aa6f9d177f10e1 # Parent c90be4a80c1a46d7ce55a62c1d5ae4daf3d3be11 Require Sphinx >= 2.1. Because of Sphinx.add_lexer(). diff -r c90be4a80c1a -r 62407bd73ba8 docs/conf.py --- a/docs/conf.py Wed May 06 23:28:18 2026 +0200 +++ b/docs/conf.py Wed May 06 23:37:35 2026 +0200 @@ -15,6 +15,9 @@ from pygments_lexer_pseudocode2.algpseudocode import AlgPseudocodeLexer +needs_sphinx = '2.1' + + # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information diff -r c90be4a80c1a -r 62407bd73ba8 requirements-docs.txt --- a/requirements-docs.txt Wed May 06 23:28:18 2026 +0200 +++ b/requirements-docs.txt Wed May 06 23:37:35 2026 +0200 @@ -1,2 +1,2 @@ -r requirements.txt -Sphinx +Sphinx>=2.1