diff --git a/documentation/_static/css/custom.css b/documentation/_static/css/custom.css index 9cd328ec0..aa1e39f1e 100644 --- a/documentation/_static/css/custom.css +++ b/documentation/_static/css/custom.css @@ -1,3 +1,7 @@ +div section { + text-align: justify; +} + div .toctree-wrapper > ul { column-count: 2; margin: 0; diff --git a/documentation/conf.py b/documentation/conf.py index 3de35eee8..e6d727873 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -116,6 +116,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 = ["css/custom.css"] # Custom sidebar templates, must be a dictionary that maps document names # to template names. @@ -223,4 +224,3 @@ def setup(sphinx_app): "live", "env", # hard-coded, documentation is not server-specific for the time being ) - sphinx_app.add_css_file("css/custom.css")