Skip to content

Commit

Permalink
[DOC] update doc style
Browse files Browse the repository at this point in the history
  • Loading branch information
bxdd committed Nov 28, 2023
1 parent b2b3689 commit bb6c285
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 24 deletions.
21 changes: 2 additions & 19 deletions docs/_static/css/custom_style.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
.bd-main {
flex-grow: 1;
flex-direction: column;
display: flex;
min-width: 0;
}

.bd-main .bd-content {
justify-content: left;
}

.bd-main .bd-content .bd-article-container {
max-width: calc(100% - var(--pst-sidebar-secondary));
}

.bd-sidebar-primary div#rtd-footer-container {
bottom: -1rem;
margin: -1rem;
position: fixed;
body {
overflow: scroll;
}
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@
#
html_theme = "sphinx_book_theme"
html_theme_path = [sphinx_book_theme.get_html_theme_path()]
#html_theme_options = {
# "logo_only": True,
html_theme_options = {
"logo_only": True,
# "collapse_navigation": False,
# "display_version": False,
# "navigation_depth": 4,
#}
"navigation_depth": 4,
}
html_logo = "_static/img/logo/logo1.png"


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_version(rel_path: str) -> str:
DEV_REQUIRED = [
# For documentations
"sphinx",
"sphinx_book_theme",
"sphinx_book_theme==0.3.3",
# CI dependencies
"pytest>=3",
"wheel",
Expand Down

0 comments on commit bb6c285

Please sign in to comment.