Skip to content

Commit fec2951

Browse files
authored
docs: add version support page to the dropdown (#18730)
* docs: add version support page to the dropdown * update url * rename version opt * Update versions-list.html
1 parent 38a0661 commit fec2951

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docs/src/_includes/components/nav-version-switcher.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{% for item in eslintVersions.items %}
1616
<option value="{{ item.version }}" data-url="{{ item.path }}" {% if item.selected %}selected{% endif %}>{{ item.display }}</option>
1717
{% endfor %}
18+
<option value="Previous Versions" data-url="https://eslint.org/version-support">Previous Versions</option>
1819
</select>
1920
</div>
2021
</div>

docs/src/_includes/components/version-switcher.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{% for item in eslintVersions.items %}
1616
<option value="{{ item.version }}" data-url="{{ item.path }}" {% if item.selected %}selected{% endif %}>{{ item.display }}</option>
1717
{% endfor %}
18+
<option value="Previous Versions" data-url="https://eslint.org/version-support">Previous Versions</option>
1819
</select>
1920
</div>
2021
</div>

docs/src/_includes/partials/versions-list.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
{% for item in eslintVersions.items %}
33
<li><a href="{{ item.path }}" {% if item.selected %} data-current="true" {% endif %}>{{ item.display }}</a></li>
44
{%- endfor -%}
5+
<li><a href="https://eslint.org/version-support">Previous Versions</a></li>
56
</ul>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy