diff options
author | Evan Read <eread@gitlab.com> | 2021-08-24 03:33:46 +0300 |
---|---|---|
committer | Marcel Amirault <4155490-marcel.amirault@users.noreply.gitlab.com> | 2021-08-24 03:33:46 +0300 |
commit | 362ae3a57c0ac74475396e81d91687965b19c539 (patch) | |
tree | bb58e1c8476238ccfd597d9fb3cdcdc31770ce39 | |
parent | 51287f8483db0de55f93b91719593ff8de2ea279 (diff) |
Update archives page for 13.12 to current format
-rw-r--r-- | content/archives/index.html | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/content/archives/index.html b/content/archives/index.html index 1f20fdd7..b0673d3b 100644 --- a/content/archives/index.html +++ b/content/archives/index.html @@ -6,13 +6,7 @@ last_updated: 2020-05-15 <h1>GitLab Docs archives</h1> -This website contains online versions of the GitLab documentation: - -<ul> - <li>The default version from the <code>master</code> branch.</li> - <li>The latest released version.</li> - <li>Previously released versions.</li> -</ul> +This page has links to online versions of the GitLab documentation. <% unless @items['/_data/versions.yaml'][:offline].nil? %> To browse a version that is not available online, see the @@ -24,14 +18,13 @@ They're available for download so that you can browse through them locally. <h2 id="default-version">Default version <a class="anchor" href="#default-version"></a></h2> The <a href="/">default version</a> of this website -is built from the documentation directories on the <code>master</code> branches of: +is built from the documentation directories on the default branches of: <ul> - <li><a href="https://gitlab.com/gitlab-org/gitlab-foss/tree/master/doc">GitLab Community Edition</a></li> - <li><a href="https://gitlab.com/gitlab-org/gitlab/tree/master/doc">GitLab Enterprise Edition</a></li> - <li><a href="https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc">Omnibus GitLab</a></li> - <li><a href="https://gitlab.com/gitlab-org/gitlab-runner/tree/master/docs">GitLab Runner</a></li> - <li><a href="https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc"> GitLab Charts</a></li> + <li><a href="https://gitlab.com/gitlab-org/gitlab/-/tree/master/doc">GitLab</a></li> + <li><a href="https://gitlab.com/gitlab-org/omnibus-gitlab/-/tree/master/doc">Omnibus GitLab</a></li> + <li><a href="https://gitlab.com/gitlab-org/gitlab-runner/-/tree/main/docs">GitLab Runner</a></li> + <li><a href="https://gitlab.com/gitlab-org/charts/gitlab/-/tree/master/doc"> GitLab Charts</a></li> </ul> All of these are brought together by the @@ -64,8 +57,11 @@ The following versions are available online: In addition, online versions are available for the following versions: <ul> - <li><a href="/12.10/">12.10</a></li> - <li><a href="/11.11/">11.11</a></li> +<% @items['/_data/versions.yaml'][:previous_majors].each do |version| %> + <li> + <a href='/<%= version %>/'><%= version %></a> + </li> +<% end %> </ul> <h2 id="offline-archives">Offline archives <a class="anchor" href="#offline-archives"></a></h2> |