Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 144:b616f9645e37 | 145:c4f6f5e771b0 |
|---|---|
| 48 templates_path = ['_templates'] | 48 templates_path = ['_templates'] |
| 49 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'lexerlist.rst'] | 49 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'lexerlist.rst'] |
| 50 | 50 |
| 51 highlight_language = "none" | 51 highlight_language = "none" |
| 52 | 52 |
| 53 rst_prolog = """ | |
| 54 .. role:: algpseudocode(code) | |
| 55 """ | |
| 53 rst_epilog = """ | 56 rst_epilog = """ |
| 57 .. _Pygments: https://pygments.org/ | |
| 54 .. _Sphinx: https://www.sphinx-doc.org | 58 .. _Sphinx: https://www.sphinx-doc.org |
| 59 .. _Python: https://www.python.org/ | |
| 55 """ | 60 """ |
| 56 | 61 |
| 57 | 62 |
| 58 # --- Options for todo extension --------------------------------------------- | 63 # --- Options for todo extension --------------------------------------------- |
| 59 todo_include_todos = True | 64 todo_include_todos = True |
