Skip to content

Commit

Permalink
Merge pull request #721 from dandi/enh-doc-width
Browse files Browse the repository at this point in the history
Stretch the doc to the screen width
  • Loading branch information
yarikoptic committed Jul 21, 2021
2 parents b452a1e + 4ab20a2 commit 3c2eac7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import './alabaster.css'; /* for Alabaster */

div.footer {
text-align: center;
}
7 changes: 6 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,13 @@
# a list of builtin themes.
#
html_theme = "alabaster"
html_theme_options = {
"page_width": "auto",
"body_max_width": "auto",
}
html_style = "custom.css"

# 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"]

0 comments on commit 3c2eac7

Please sign in to comment.