diff --git a/doc/en/_static/pytest.css b/doc/en/_static/pytest.css new file mode 100644 index 00000000000..a9a86cf8c5b --- /dev/null +++ b/doc/en/_static/pytest.css @@ -0,0 +1,11 @@ +/* Hide list bullets and top-level indent in TOC sidebar */ +.sidebar-scroll ul {list-style: none;} +.sidebar-scroll > ul {padding-left: 0;} +.sidebar-scroll li {margin: 0.4em 0;} +/* Widen the events sidebar on the front page */ +@media (min-width: 46em) { + #features { + width: 50%; + margin-bottom: 1em; + } +} diff --git a/doc/en/_templates/style.html b/doc/en/_templates/style.html deleted file mode 100644 index 400cb75ff97..00000000000 --- a/doc/en/_templates/style.html +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/doc/en/conf.py b/doc/en/conf.py index 0d440ec448a..4db962bdcb4 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -251,7 +251,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # 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_static_path = ["_static"] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -274,7 +274,6 @@ "globaltoc.html", "links.html", "sidebar/scroll-end.html", - "style.html", ], "**": [ "sidebar/brand.html", @@ -284,10 +283,13 @@ "relations.html", "links.html", "sidebar/scroll-end.html", - "style.html", ], } +html_css_files = [ + "pytest.css", +] + # Additional templates that should be rendered to pages, maps page names to # template names. # html_additional_pages = {}