# HG changeset patch # User Franz Glasner # Date 1692092418 -7200 # Node ID 115de6fe420e491cf9aa6704e59757987a856da3 # Parent e692216f875608e1fc34ec9aa1115a2a3bf9a8dc Add a custom CSS file to use text-align "left" instead of the Haiku standard "justify" diff -r e692216f8756 -r 115de6fe420e docs/_static/custom-haiku.css --- /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; +} diff -r e692216f8756 -r 115de6fe420e docs/conf.py --- 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.