File tree 6 files changed +17
-39
lines changed
_themes/bootstrap_docs_theme
6 files changed +17
-39
lines changed Original file line number Diff line number Diff line change 12
12
< li class ="nav-item ">
13
13
< a class ="nav-link " href ="{{ pathto('index') }} "> Home</ a >
14
14
</ li >
15
- < li class ="nav-item ">
16
- < a class ="nav-link " href ="{{ pathto('getting_started/index') }} "> Getting Started</ a >
17
- </ li >
18
- < li class ="nav-item ">
19
- < a class ="nav-link " href ="{{ pathto('user_guide/index') }} "> User Guide</ a >
15
+ {% set nav = get_nav_object(maxdepth=1) %}
16
+ {% for main_nav_item in nav %}
17
+ < li class ="nav-item {% if main_nav_item.active%}active{% endif %} ">
18
+ < a class ="nav-link " href ="{{ main_nav_item.url }} "> {{ main_nav_item.title }}</ a >
20
19
</ li >
21
- < li class ="nav-item ">
22
- < a class ="nav-link " href ="{{ pathto('reference/index') }} "> API Reference</ a >
23
- </ li >
24
- < li class ="nav-item ">
25
- < a class ="nav-link " href ="{{ pathto('development/index') }} "> Development</ a >
26
- </ li >
27
- < li class ="nav-item ">
28
- < a class ="nav-link " href ="{{ pathto('whatsnew/index') }} "> Release Notes</ a >
29
- </ li >
20
+ {% endfor %}
30
21
</ ul >
31
22
< ul class ="navbar-nav ml-auto ">
32
23
< li class ="nav-item ">
39
30
< span > < i class ="fab fa-twitter " style ="color:#55acee;font-size:1rem;line-height:1.25 "> </ i > </ span >
40
31
</ a >
41
32
</ li >
42
- < li class ="nav-item ">
43
- < a class ="nav-link " href ="{{ pathto('install') }} ">
44
- < span >
45
- < span class ="btn btn-primary d-lg-inline-block mb-3 mb-md-0 ml-md-3 "> Install</ span >
46
- </ span >
47
- </ a >
48
- </ li >
49
33
</ ul >
34
+ </ div >
Original file line number Diff line number Diff line change 19
19
< ul >
20
20
{% for nav_item in nav_item.children %}
21
21
< li class ="{% if nav_item.active%}active bd-sidenav-active{% endif %} ">
22
- < a href ="{{ nav_item.url }} "" > {{ nav_item.title }}</ a >
22
+ < a href ="{{ nav_item.url }} "> {{ nav_item.title }}</ a >
23
23
</ li >
24
24
{% endfor %}
25
25
</ ul >
Original file line number Diff line number Diff line change 27
27
{%- endblock %}
28
28
{%- block content %}
29
29
< nav class ="navbar navbar-light navbar-expand-lg bg-light fixed-top bd-navbar " id ="navbar-main ">
30
- < div class ="container ">
31
- {%- include "docs-navbar.html" %}
32
- </ div >
30
+ {%- include "docs-navbar.html" %}
33
31
</ nav >
34
32
35
33
< div class ="container-fluid ">
Original file line number Diff line number Diff line change 9
9
10
10
.navbar-nav li a {
11
11
padding : 0 15px ;
12
- line-height : 50px ;
12
+ /* line-height: 50px; */
13
13
}
14
14
.navbar-header a {
15
15
padding : 0 15px ;
16
- line-height : 50px ;
16
+ /* line-height: 50px; */
17
17
}
18
18
19
19
.bd-search {
51
51
.section-nav {
52
52
padding-left : 0 ;
53
53
border-left : 1px solid # eee ;
54
+ border-bottom : none;
54
55
}
55
56
56
57
.section-nav ul {
182
183
background-color: transparent; */
183
184
}
184
185
185
- /* minimal copy paste from bootstrap docs css to get fixed-top height navbar handling ok */
186
-
187
- .bd-navbar {
188
- position : -webkit-sticky;
189
- position : sticky;
190
- top : 0 ;
191
- z-index : 1071 ;
192
- }
193
-
186
+
194
187
/* offsetting html anchor titles to adjust for fixed header, https://github.com/pandas-dev/pandas-sphinx-theme/issues/6*/
195
188
h2 ::before , h3 ::before ,
196
189
h4 ::before , h5 ::before ,
201
194
margin : -80px 0 0 ;
202
195
}
203
196
197
+ /* add padding to body to avid overlap with navbar */
198
+ body {
199
+ padding-top : 80px
200
+ }
201
+
204
202
205
203
/* adjust toc font sizes to improve overview */
206
204
.toc-h2 {
File renamed without changes.
Original file line number Diff line number Diff line change @@ -40,11 +40,8 @@ See the :ref:`overview` for more detail about what's in the library.
40
40
{% endif %}
41
41
42
42
{% if not single_doc -%}
43
- What's New in 0.25.0 <whatsnew/v0.25.0>
44
- install
45
43
getting_started/index
46
44
user_guide/index
47
- ecosystem
48
45
{% endif -%}
49
46
{% if include_api -%}
50
47
reference/index
You can’t perform that action at this time.
0 commit comments