Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/conf.py @ 145:c4f6f5e771b0
Also define the :algpseudocode: role globally in the package documentation.
More external links.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 07 May 2026 12:30:25 +0200 |
| parents | b616f9645e37 |
| children | 4acf578ae93f |
line wrap: on
line diff
--- a/docs/conf.py Thu May 07 12:21:53 2026 +0200 +++ b/docs/conf.py Thu May 07 12:30:25 2026 +0200 @@ -50,8 +50,13 @@ highlight_language = "none" +rst_prolog = """ +.. role:: algpseudocode(code) +""" rst_epilog = """ +.. _Pygments: https://pygments.org/ .. _Sphinx: https://www.sphinx-doc.org +.. _Python: https://www.python.org/ """
