Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/conf.py @ 134:62407bd73ba8
Require Sphinx >= 2.1.
Because of Sphinx.add_lexer().
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 06 May 2026 23:37:35 +0200 |
| parents | a3e765f1ad23 |
| children | 5fea7180155c |
comparison
equal
deleted
inserted
replaced
| 133:c90be4a80c1a | 134:62407bd73ba8 |
|---|---|
| 11 import re | 11 import re |
| 12 | 12 |
| 13 sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) | 13 sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) |
| 14 | 14 |
| 15 from pygments_lexer_pseudocode2.algpseudocode import AlgPseudocodeLexer | 15 from pygments_lexer_pseudocode2.algpseudocode import AlgPseudocodeLexer |
| 16 | |
| 17 | |
| 18 needs_sphinx = '2.1' | |
| 16 | 19 |
| 17 | 20 |
| 18 # -- Project information ----------------------------------------------------- | 21 # -- Project information ----------------------------------------------------- |
| 19 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information | 22 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 20 | 23 |
