-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* No partial * Add code comments
- Loading branch information
Showing
3 changed files
with
32 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- | ||
** | ||
MW: Renamed because the Nav is only showing the API link. For now, no API link is added. | ||
Also I updated this partial without testing 1/2025. | ||
** | ||
--> | ||
|
||
{% import "partials/tabs-item.html" as item with context %} | ||
|
||
<!-- Navigation tabs --> | ||
<nav | ||
class="md-tabs" | ||
aria-label="{{ lang.t('tabs') }}" | ||
data-md-component="tabs" | ||
> | ||
<div class="md-grid"> | ||
<ul class="md-tabs__list"> | ||
{% for nav_item in nav %} | ||
{{ item.render(nav_item) }} | ||
{% endfor %} | ||
|
||
<!-- MW: Add link built outside of mkdocs --> | ||
<!-- This can now be done in 'nav' without an override but I'd have to hard code the domain https://github.com/squidfunk/mkdocs-material/issues/2072 and https://github.com/squidfunk/mkdocs-material/issues/1884 --> | ||
<li class="md-tabs__item"> | ||
<a href="/api" class="md-tabs__link">API</a> | ||
</li> | ||
<!-- End Add --> | ||
</ul> | ||
</div> | ||
</nav> |