Mercurial > hgrepos > Python > libs > ConfigMix
changeset 709:115de6fe420e
Add a custom CSS file to use text-align "left" instead of the Haiku standard "justify"
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Tue, 15 Aug 2023 11:40:18 +0200 |
| parents | e692216f8756 |
| children | ff0de14493f1 |
| 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 Tue Aug 15 11:40:18 2023 +0200 @@ -0,0 +1,4 @@ +p { + /* we do not want the standard "justify" */ + text-align: left; +}
--- a/docs/conf.py Tue Aug 15 11:14:51 2023 +0200 +++ b/docs/conf.py Tue Aug 15 11:40:18 2023 +0200 @@ -102,6 +102,7 @@ # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] +html_css_files = ["custom-haiku.css"] # Custom sidebar templates, must be a dictionary that maps document names # to template names.
