Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"