Skip to content

Commit 139f2ee

Browse files
author
Emmanouil Konstantinidis
committed
Fix headings conflict with accordions
1 parent 1d4a0f0 commit 139f2ee

File tree

1 file changed

+2
-2
lines changed
  • rest_framework_docs/templates/rest_framework_docs

1 file changed

+2
-2
lines changed

rest_framework_docs/templates/rest_framework_docs/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Jump To <span class="caret"></span></a>
77
<ul class="dropdown-menu">
88
{% for group in endpoints_grouped %}
9-
<li><a href="#{{ group.grouper|lower }}">{{ group.grouper }}</a></li>
9+
<li><a href="#{{ group.grouper|lower }}-nav">{{ group.grouper }}</a></li>
1010
{% endfor %}
1111
</ul>
1212
</li>
@@ -20,7 +20,7 @@
2020
{% if endpoints_grouped %}
2121
{% for group in endpoints_grouped %}
2222

23-
<h1 id="{{ group.grouper|lower }}">{{group.grouper}}</h1>
23+
<h1 id="{{ group.grouper|lower }}-nav">{{group.grouper}}</h1>
2424

2525
<div class="panel-group" role="tablist">
2626

0 commit comments

Comments
 (0)