Restore the archive links the redesign dropped from Archived Releases #431 added "- type: Archive" to releases.yml purely so the section got a nav chip, and put the actual content in a hardcoded container-archived block in downloads-block.html: a note that older releases are unmaintained but still downloadable, plus links to the ASF archive and the incubator archive. The redesign (#844) rewrote downloads-block.html and dropped that block, but left the now-renamed "Archived Releases" entry in releases.yml behind. Since that entry has never had a list, the chip and the <h2> have rendered above an empty grid ever since. Restores the text as the category description so it is data-driven rather than hardcoded, and renders any category description under its heading. Every other category has a null description, so nothing else changes.
diff --git a/assets/scss/_custom_home.scss b/assets/scss/_custom_home.scss index 3102577..217e617 100644 --- a/assets/scss/_custom_home.scss +++ b/assets/scss/_custom_home.scss
@@ -1493,6 +1493,11 @@ font-size: 22px; font-weight: 700; color: $ink; border: 0; padding: 0; margin: 32px 0 16px; scroll-margin-top: 80px; } + .dl-cat-note { + max-width: 900px; margin: -6px 0 16px; color: $body; font-size: 14px; line-height: 1.6; + p { margin: 0; } + a { color: $brand; text-decoration: underline; } + } .dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-rows: 1fr; } .dl-grid--docker { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
diff --git a/data/releases.yml b/data/releases.yml index dac7562..5b1c56c 100644 --- a/data/releases.yml +++ b/data/releases.yml
@@ -923,7 +923,14 @@ - name: sha512 link: https://downloads.apache.org/skywalking/infra-e2e/1.3.0/skywalking-e2e-1.3.0-bin.tgz.sha512 - type: Archived Releases - description: These components are no longer developed or released. The artifacts below stay available on archive.apache.org for existing users. + description: >- + Older releases are not maintained and are not recommended for new users, but their source + code and binaries are still available if you have a specific reason to need them. Every + SkyWalking release is kept in the + [Archive repository](https://archive.apache.org/dist/skywalking/), and the + [Archive incubating repository](https://archive.apache.org/dist/incubator/skywalking/) + holds the releases made while SkyWalking was an incubator project. The components below + are no longer developed or released at all. list: - name: BanyanDB Java Client icon: banyan-db
diff --git a/layouts/shortcodes/downloads-block.html b/layouts/shortcodes/downloads-block.html index 12f4aee..3a98abb 100755 --- a/layouts/shortcodes/downloads-block.html +++ b/layouts/shortcodes/downloads-block.html
@@ -3,6 +3,7 @@ {{ range .Site.Data.releases }} {{ $cat := or .buttonText (replace .type " " "") }} <h2 class="dl-cat" id="{{ $cat }}">{{ .type }}</h2> +{{ with .description }}<div class="dl-cat-note">{{ . | markdownify }}</div>{{ end }} <div class="dl-grid"> {{ range .list }} {{ $id := replace .name " " "" }}