Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/conf.py @ 139:d8ac51cba0ff
Customize the HTML title for the haiku theme
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 07 May 2026 09:50:23 +0200 |
| parents | 5fea7180155c |
| children | acd9073cbbe3 |
comparison
equal
deleted
inserted
replaced
| 138:69283c05ba48 | 139:d8ac51cba0ff |
|---|---|
| 56 | 56 |
| 57 | 57 |
| 58 # -- Options for HTML output ------------------------------------------------- | 58 # -- Options for HTML output ------------------------------------------------- |
| 59 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output | 59 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 60 | 60 |
| 61 html_static_path = ['_static'] | |
| 62 html_extra_path = ['../LICENSES'] | |
| 63 | |
| 61 #html_theme = 'alabaster' | 64 #html_theme = 'alabaster' |
| 62 html_theme = 'haiku' | 65 html_theme = 'haiku' |
| 63 html_static_path = ['_static'] | 66 html_title = 'The %s v%s' % (project, release) |
| 64 html_extra_path = ['../LICENSES'] | 67 html_short_title = html_title |
| 65 #pygments_style = "sphinx" | 68 pygments_style = "sphinx" |
| 66 pygments_style = "default" | 69 #pygments_style = "default" |
| 67 | 70 |
| 68 | 71 |
| 69 def setup(app): | 72 def setup(app): |
| 70 # | 73 # |
| 71 # Add a custom lexer: AlgPseudocodeLexer with custom init option "no_end" | 74 # Add a custom lexer: AlgPseudocodeLexer with custom init option "no_end" |
