Skip to content

Commit 18793cd

Browse files
committed
open API Docs link in new tab from navigation bar
1 parent 0988958 commit 18793cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h2 class="offcanvas-title display-5" id="offcanvasNavbarLabel">PanKB</h2>
2828
<a class="nav-link text-nowrap{% if active_page == 'ai_assistant' %} active{% endif %}" href="{% url 'ai_assistant' %}">AI Assistant</a>
2929
</li>
3030
<li class="nav-item">
31-
<a class="nav-link text-nowrap{% if active_page == 'api_docs' %} active{% endif %}" href="{% url 'swagger-ui' %}">API Docs</a>
31+
<a class="nav-link text-nowrap{% if active_page == 'api_docs' %} active{% endif %}" href="{% url 'swagger-ui' %}" target="_blank">API Docs</a>
3232
</li>
3333
</ul>
3434
</div>

0 commit comments

Comments
 (0)