Skip to content

Commit d2be7a3

Browse files
committed
Fix sphinx documentation style
We have updated our used sphinx and alabaster versions and they had some major breaking changes in the style and our current documentation looks a bit off. These changes ensures that we have the same style like before.
1 parent 6167733 commit d2be7a3

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)