File tree 2 files changed +14
-7
lines changed
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -453,3 +453,6 @@ ul.sponsor {
453
453
padding : 0.4rem 0.6rem ;
454
454
}
455
455
456
+ .doc .doc-object .doc-class .doc .doc-heading {
457
+ display : none;
458
+ }
Original file line number Diff line number Diff line change @@ -86,15 +86,19 @@ <h3 id="myModalLabel">Documentation search</h3>
86
86
{% endif %}
87
87
88
88
{% for toc_item in page.toc %}
89
- < li class ="{% if page and not page.is_homepage %}main{% endif %} ">
90
- < a href ="{{ toc_item.url }} "> {{ toc_item.title }}</ a >
91
- </ li >
92
-
93
- {% for toc_item in toc_item.children %}
94
- < li >
89
+ {% if not toc_item.url.startswith('#rest_framework.') %}
90
+ < li class ="{% if page and not page.is_homepage %}main{% endif %} ">
95
91
< a href ="{{ toc_item.url }} "> {{ toc_item.title }}</ a >
96
92
</ li >
97
- {% endfor %}
93
+
94
+ {% for child in toc_item.children %}
95
+ {% if not child.url.startswith('#rest_framework.') %}
96
+ < li >
97
+ < a href ="{{ child.url }} "> {{ child.title }}</ a >
98
+ </ li >
99
+ {% endif %}
100
+ {% endfor %}
101
+ {% endif %}
98
102
{% endfor %}
99
103
100
104
< div class ="promo ">
You can’t perform that action at this time.
0 commit comments