0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

docs: remove moot v from docs-versions.yml (#38301)

This commit is contained in:
XhmikosR 2023-03-22 10:24:17 +02:00 committed by GitHub
parent 842fd50da8
commit b3faa0cfac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 36 deletions

View File

@ -9,13 +9,13 @@ description: An appendix of hosted documentation for nearly every release of Boo
<div class="col-md-6 col-lg-4 col-xl mb-4">
<h2>{{ $release.group }}</h2>
<p>{{ $release.description }}</p>
{{- $versions := sort $release.versions "v" "desc" -}}
{{- $versions := sort $release.versions "" "desc" -}}
{{- range $i, $version := $versions }}
{{- $len := len $versions -}}
{{ if (eq $i 0) }}<div class="list-group">{{ end }}
<a class="list-group-item list-group-item-action py-2 text-primary{{ if (eq $version.v $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $version.v }}/">
{{ $version.v }}
{{ if (eq $version.v $.Site.Params.docs_version) -}}
<a class="list-group-item list-group-item-action py-2 text-primary{{ if (eq $version $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $version }}/">
{{ $version }}
{{ if (eq $version $.Site.Params.docs_version) -}}
<span class="badge bg-primary">Latest</span>
{{- end }}
</a>

View File

@ -2,55 +2,55 @@
baseurl: "https://getbootstrap.com"
description: "Every minor and patch release from v1 is listed below."
versions:
- v: "1.0.0"
- v: "1.1.0"
- v: "1.1.1"
- v: "1.2.0"
- v: "1.3.0"
- v: "1.4.0"
- "1.0.0"
- "1.1.0"
- "1.1.1"
- "1.2.0"
- "1.3.0"
- "1.4.0"
- group: v2.x
baseurl: "https://getbootstrap.com"
description: "Every minor and patch release from v2 is listed below."
versions:
- v: "2.0.0"
- v: "2.0.1"
- v: "2.0.2"
- v: "2.0.3"
- v: "2.0.4"
- v: "2.1.0"
- v: "2.1.1"
- v: "2.2.0"
- v: "2.2.1"
- v: "2.2.2"
- v: "2.3.0"
- v: "2.3.1"
- v: "2.3.2"
- "2.0.0"
- "2.0.1"
- "2.0.2"
- "2.0.3"
- "2.0.4"
- "2.1.0"
- "2.1.1"
- "2.2.0"
- "2.2.1"
- "2.2.2"
- "2.3.0"
- "2.3.1"
- "2.3.2"
- group: v3.x
baseurl: "https://getbootstrap.com/docs"
description: "Every minor and patch release from v3 is listed below. Last update was v3.4.1."
versions:
- v: "3.3"
- v: "3.4"
- "3.3"
- "3.4"
- group: v4.x
baseurl: "https://getbootstrap.com/docs"
description: "Our previous major release with its minor releases. Last update was v4.6.0."
versions:
- v: "4.0"
- v: "4.1"
- v: "4.2"
- v: "4.3"
- v: "4.4"
- v: "4.5"
- v: "4.6"
- "4.0"
- "4.1"
- "4.2"
- "4.3"
- "4.4"
- "4.5"
- "4.6"
- group: v5.x
baseurl: "https://getbootstrap.com/docs"
description: "Current major release. Last update was v5.3.0-alpha1."
versions:
- v: "5.0"
- v: "5.1"
- v: "5.2"
- v: "5.3"
- "5.0"
- "5.1"
- "5.2"
- "5.3"