]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/docs/src/_includes/partials/versions-list.html
import 8.41.0 source
[pve-eslint.git] / eslint / docs / src / _includes / partials / versions-list.html
index 2e2fb2ff82a10f208f762c5746a064430f2594b0..7f07e4fa4950abdcf91e39473a027566f0aa3f0b 100644 (file)
@@ -1,5 +1,8 @@
 <ul class="versions-list">
-    <li><a href="/docs/head/" {% if GIT_BRANCH != "latest" %} data-current="true" {% endif %}>HEAD</a></li>
+    <li><a href="/docs/head/" {% if HEAD %} data-current="true" {% endif %}>HEAD</a></li>
+    {% if config.showNextVersion == true %}
+      <li><a href="/docs/next/" {% if GIT_BRANCH == "next" %} data-current="true" {% endif %}>NEXT</a></li>
+    {% endif %}
     <li><a href="/docs/latest/" {% if GIT_BRANCH == "latest" %} data-current="true" {% endif %}>v{{ eslintVersion }}</a></li>
     {%- for version in versions.items -%}
     <li><a href="{{ version.url }}">v{{ version.number }}</a></li>