Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
changeset 170:f761694373e0
Do not justify the documentation output.
Implemented by adding a custom CSS for haiku.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 11 May 2026 10:52:43 +0200 |
| parents | 3c517c22df9c |
| children | 4b87a9ecffdd |
| files | docs/_static/custom-haiku.css docs/conf.py |
| diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/_static/custom-haiku.css Mon May 11 10:52:43 2026 +0200 @@ -0,0 +1,4 @@ +p { + /* we do not want the standard "justify" */ + text-align: left; +}
--- a/docs/conf.py Mon May 11 10:39:39 2026 +0200 +++ b/docs/conf.py Mon May 11 10:52:43 2026 +0200 @@ -119,6 +119,7 @@ #html_theme = 'alabaster' html_theme = 'haiku' +html_css_files = ["custom-haiku.css"] html_title = 'The %s v%s' % (project, release) html_short_title = html_title html_last_updated_fmt = "%s (rv:%s)" % (today, release_rev)
