File tree Expand file tree Collapse file tree 4 files changed +64
-3
lines changed Expand file tree Collapse file tree 4 files changed +64
-3
lines changed Original file line number Diff line number Diff line change 42
42
def setup (app ): # type: ignore
43
43
app .add_js_file ("https://neo4j.com/docs/assets/js/site.js" , loading_method = "defer" )
44
44
app .add_js_file ("js/12-fragment-jumper.js" , loading_method = "defer" )
45
+ app .add_js_file ("js/deprecated.js" , loading_method = "defer" )
45
46
46
47
47
48
rst_epilog = """
Original file line number Diff line number Diff line change 7
7
{%- block relbar1 %}{% endblock %}
8
8
{%- block relbar2 %}{% endblock %}
9
9
10
+ {% block extrahead %}
11
+ < link href ="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap " rel ="stylesheet ">
12
+ {% endblock %}
13
+
10
14
{%- block content %}
11
15
< body class ="article docs sphinx ">
12
16
16
20
< nav class ="navbar ">
17
21
< div class ="navbar-brand ">
18
22
< a class ="navbar-item " href ="/ ">
19
-
20
- < img class =" navbar-logo " src =" https://dist.neo4j.com/wp-content/uploads/20210422142941/neo4j-logo-2020.svg " alt =" Neo4j Graph Data Science Client API Reference " >
21
- </ a > < a href ="/docs/ " class ="navbar-item no-left-padding " aria-label ="Neo4j Graph Data Science Client API Reference ">
23
+ < img class =" navbar-logo " src =" https://dist.neo4j.com/wp-content/uploads/20210422142941/neo4j-logo-2020.svg " alt =" Neo4j Graph Data Science Client API Reference " >
24
+ </ a >
25
+ < a href ="{{ pathto(root_doc) }} " class ="navbar-item no-left-padding " aria-label ="Neo4j Graph Data Science Client API Reference ">
22
26
Graph Data Science Client API Reference
23
27
</ a >
24
28
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ body.sphinx .content .search {
56
56
height : auto;
57
57
background : initial;
58
58
}
59
+
60
+ body .sphinx .sphinxsidebar {
61
+ background : # f5f7fa ;
62
+ }
59
63
60
64
body .sphinx .nav-panel-menu : not (.is-active )::after {
61
65
background : initial;
@@ -190,3 +194,44 @@ div.code-block-caption:hover > a.headerlink {
190
194
display : block;
191
195
padding : 0.25rem 0 ;
192
196
}
197
+
198
+ /* lists */
199
+
200
+ body .sphinx .doc ul li {
201
+ margin-bottom : 0.5rem ;
202
+ }
203
+
204
+ /* functions */
205
+
206
+ body .sphinx .doc dl .py .function {
207
+ padding-top : 2rem ;
208
+ padding : 1rem ;
209
+ /* border-top: 2px dotted #eee; */
210
+ }
211
+
212
+ /* deprecated */
213
+
214
+ body .sphinx .deprecated ::after ,
215
+ body .sphinx .deprecated > * ::after {
216
+ content : unset;
217
+ }
218
+
219
+ body .sphinx .doc dl .deprecated dt : first-of-type span .sig-prename ,
220
+ body .sphinx .doc dl .deprecated dt : first-of-type span .sig-name {
221
+ border-bottom : 1px solid # f6ad55 ;
222
+ /* color: #702459; */
223
+ /* background-color: #fed7e2; */
224
+ }
225
+
226
+ body .sphinx .doc dl .deprecated {
227
+ margin-bottom : 0 ;
228
+ padding-bottom : 0 ;
229
+ }
230
+
231
+ body .sphinx .doc div .deprecated {
232
+ padding : 1rem ;
233
+ margin : 0 2rem ;
234
+ /* color: #702459; */
235
+ border-left : 2px solid # f6ad55 ;
236
+ background-color : # fffaf0 ;
237
+ }
Original file line number Diff line number Diff line change
1
+ document . addEventListener ( 'DOMContentLoaded' , function ( ) {
2
+ const deprecatedDivs = document . querySelectorAll ( 'div.deprecated' )
3
+ deprecatedDivs . forEach ( function ( deprecatedDiv ) {
4
+
5
+ // get previous sibling
6
+ const previousSibling = deprecatedDiv . previousElementSibling
7
+ // add deprecated class to previous sibling
8
+ previousSibling . classList . add ( 'deprecated' )
9
+
10
+ } )
11
+ } )
You can’t perform that action at this time.
0 commit comments