Skip to content

Commit 08fdc35

Browse files
committed
FIX
1 parent acb13ef commit 08fdc35

File tree

4 files changed

+71
-9
lines changed

4 files changed

+71
-9
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/** css/yourtheme.css **/
2+
3+
/* This line is theme specific - it includes the base theme CSS */
4+
@import './theme.css'; /* for Alabaster */
5+
/*@import 'theme.css'; /* for the Read the Docs theme */
6+
7+
.wy-side-nav-search {
8+
display:block;
9+
width:300px;
10+
padding:.809em;
11+
margin-bottom:.809em;
12+
z-index:200;
13+
background-color:rgb(20, 21, 26);
14+
text-align:center;
15+
color:#fcfcfc
16+
}
17+
18+
@media screen and (min-width:1100px) {
19+
.wy-nav-content-wrap {
20+
background:rgba(1,1,1,.05)
21+
}
22+
.wy-nav-content {
23+
margin:0;
24+
background:hsla(225deg,15%,14%,1);
25+
}
26+
27+
28+
.wy-nav-content {
29+
padding:1.618em 3.236em;
30+
height:100%;
31+
max-width:2000px;
32+
margin:auto
33+
}
34+
}
35+
36+
.wy-nav-side {
37+
position:fixed;
38+
top:0;
39+
bottom:0;
40+
left:0;
41+
padding-bottom:2em;
42+
width:300px;
43+
overflow-x:hidden;
44+
overflow-y:hidden;
45+
min-height:100%;
46+
color:#9b9b9b;
47+
background:hsla(225deg,15%,14%,1);
48+
z-index:200
49+
}
50+
51+
body {
52+
font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;
53+
font-weight:400;
54+
color:rgba(226, 228, 233, 0.82);
55+
min-height:100%;
56+
background:hsla(225deg,15%,14%,1);
57+
background-color:hsla(225deg,15%,14%,1);
58+
59+
}

docs/sphinx/source/conf.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,18 @@ def custom_underline_filter(text, char):
131131
'titles_only': False
132132
}
133133

134-
135-
136134
# Add any paths that contain custom static files (such as style sheets) here,
137135
# relative to this directory. They are copied after the builtin static files,
138136
# so a file named "default.css" will overwrite the builtin "default.css".
139-
html_static_path = []
137+
html_static_path = ["./_static"]
138+
139+
# These paths are either relative to html_static_path
140+
# or fully qualified paths (eg. https://...)
141+
html_css_files = [
142+
'css/sofa.css',
143+
]
144+
145+
html_style = 'css/sofa.css'
140146

141147
# Custom sidebar templates, must be a dictionary that maps document names
142148
# to template names.

docs/sphinx/source/content/UsingThePlugin.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,8 @@ Congratulations! You made your first SOFA scene in Python3!
408408
For more information on how to use the SOFA modules bindings in python, visit this page: :doc:`Modules`
409409

410410

411-
.. _fullscene:
412-
413-
Full scene
414-
^^^^^^^^^^
411+
Full scene example
412+
^^^^^^^^^^^^^^^^^^
415413
Here is the entire code of the scene :
416414

417415
.. code-block:: python

docs/sphinx/source/content/modules/SofaRuntime/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ SofaRuntime
55

66
.. automodule:: SofaRuntime
77

8+
89
API Table of Content
910
--------------------
1011

1112
.. autosummary::
12-
:toctree: generated
1313
:template: autosummary/base.rst
14-
:recursive:
1514

1615
importPlugin
1716
unloadModules

0 commit comments

Comments
 (0)