Mercurial > p > roundup > code
comparison website/www/conf.py @ 6773:339805c4a85b
Pygments has poor code block contrast outout using sphinx style.
Change to borland theme. This eliminated 68 poor contrast (< AA)
examples on upgrading.html. Even more on other pages. axe DevTools is
now happier.
Borland theme/style doesn't color the bacground of the code blocks, so
set to lightyellow in style.css. This still allows good contrast.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 12 Jul 2022 14:16:58 -0400 |
| parents | d93b441ee778 |
| children | d669f96dc580 |
comparison
equal
deleted
inserted
replaced
| 6772:fde9fe504ebd | 6773:339805c4a85b |
|---|---|
| 90 # If true, sectionauthor and moduleauthor directives will be shown in the | 90 # If true, sectionauthor and moduleauthor directives will be shown in the |
| 91 # output. They are ignored by default. | 91 # output. They are ignored by default. |
| 92 #show_authors = False | 92 #show_authors = False |
| 93 | 93 |
| 94 # The name of the Pygments (syntax highlighting) style to use. | 94 # The name of the Pygments (syntax highlighting) style to use. |
| 95 pygments_style = 'sphinx' | 95 pygments_style = 'borland' |
| 96 | 96 |
| 97 | 97 |
| 98 # Options for HTML output | 98 # Options for HTML output |
| 99 # ----------------------- | 99 # ----------------------- |
| 100 | 100 |
