Skip to content

Commit

Permalink
docs: remove moot v from docs-versions.yml (#38301)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Mar 22, 2023
1 parent 842fd50 commit b3faa0c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions site/content/docs/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
64 changes: 32 additions & 32 deletions site/data/docs-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b3faa0c

Please sign in to comment.