Skip to content

Commit

Permalink
update doc config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanchengyan committed Jul 21, 2024
1 parent 4a6a996 commit c2c8b86
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

.bd-content {
flex-grow: 1;
max-width: 90%;
}
.bd-page-width {
max-width: 120rem;
}
.bd-main .bd-article-container {
max-width: 80%;
}
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]
html_css_files = ["custom.css"]

html_context = {
"github_url": "https://github.com", # or your GitHub Enterprise site
Expand All @@ -58,6 +59,7 @@
"show_toc_level": 2,
"show_nav_level": 2,
"use_edit_page_button": True,
"header_links_before_dropdown": 10,
"icon_links": [
{
"name": "GitHub",
Expand Down

0 comments on commit c2c8b86

Please sign in to comment.