From 8a601aa63d812d494f6251e362636aefd0d6bcc7 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 18 Oct 2024 22:13:42 -0600 Subject: [PATCH] Fix version side bar --- docs/_static/style.css | 4 ++++ docs/_templates/layout.html | 5 +++++ docs/conf.py | 11 +++++------ 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 docs/_static/style.css create mode 100644 docs/_templates/layout.html diff --git a/docs/_static/style.css b/docs/_static/style.css new file mode 100644 index 000000000..6cbfde333 --- /dev/null +++ b/docs/_static/style.css @@ -0,0 +1,4 @@ +.wy-nav-content { + max-width: 1200px !important; +} + diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html new file mode 100644 index 000000000..efc29758f --- /dev/null +++ b/docs/_templates/layout.html @@ -0,0 +1,5 @@ +{% extends "!layout.html" %} +{% block extrahead %} + +{% endblock %} + diff --git a/docs/conf.py b/docs/conf.py index b046f4cdc..2069c4818 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -124,12 +124,6 @@ # # html_theme_options = {} -# 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'] - - # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. @@ -222,6 +216,11 @@ github_doc_root = 'https://github.com/rtfd/recommonmark/tree/master/doc/' +# 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_sidebars = { "**": [ "versions.html",