Skip to content

Commit

Permalink
Add CSS to improve sphinx navbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeyer committed Apr 11, 2024
1 parent b1d7812 commit 7d516e8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3.12"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
11 changes: 11 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
div.sphinxsidebarwrapper {
overflow: auto;
}

div.sphinxsidebar {
width: 320px;
}

div.bodywrapper {
margin: 0 0 0 320px;
}
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_css_files = ['custom.css']

# -- Options for HTMLHelp output ------------------------------------------

Expand Down

0 comments on commit 7d516e8

Please sign in to comment.