Skip to content

Commit 6c2ed70

Browse files
authoredSep 18, 2024··
Merge pull request #483 from byte-physics/fix/sphinx
Fix sphinx documentation style
2 parents 6167733 + d2be7a3 commit 6c2ed70

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed
 

‎docu/sphinx/source/_static/custom.css

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
dl.function:not(:last-child) {
2-
margin-bottom: 3em;
3-
}
1+
dl.function:not(:last-child) {
2+
margin-bottom: 3em;
3+
}
4+
5+
@media screen and (max-width: 940px) {
6+
div.document {
7+
display: flex;
8+
flex-direction: column-reverse;
9+
}
10+
11+
div.document div.sphinxsidebar {
12+
margin: -20px -30px 20px -30px;
13+
width: unset;
14+
left: 0;
15+
}
16+
}

‎docu/sphinx/source/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def getDocRoot():
109109
'github_repo': 'igortest',
110110
'github_banner': True,
111111
'show_powered_by': False,
112-
'page_width' : '90%',
113112
}
114113

115114
html_context = {

0 commit comments

Comments
 (0)
Please sign in to comment.