Skip to content

Commit

Permalink
Add style.css: extend docs page width
Browse files Browse the repository at this point in the history
  • Loading branch information
LXZE committed Oct 22, 2022
1 parent 904439b commit 4dc2024
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,6 @@ dmypy.json
# Cython debug symbols
cython_debug/
notebooks/iso_11940-dev.ipynb

# vscode devcontainer
.devcontainer/
3 changes: 3 additions & 0 deletions docs/_static/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-nav-content {
max-width: none;
}
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

# Custom css file
html_css_files = ["style.css"]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
Expand Down Expand Up @@ -243,4 +246,4 @@
'special-members': '__init__',
'undoc-members': True,
'exclude-members': '__weakref__'
}
}

0 comments on commit 4dc2024

Please sign in to comment.