Downloads: restore the archive links, fold archived releases to the bottom - #900
Merged
Conversation
#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.
❌ Deploy Preview for skywalking-website-preview failed.
|
Most people on the downloads page are looking for something current, so an archived category no longer sits in the middle of the page: it renders last, after the Docker images, as a <details> that is shut by default and shows only its title and a component count until opened. Categories opt in with `archived: true` in releases.yml, so this is a property of the data rather than a special case for one hard-coded section. The chip strip and the "Latest releases" aside follow the same flag — chips for archived categories move after the Docker chip, and archived components no longer compete for a slot in the aside. The card grid moves to partials/downloads-cards.html so the live and folded paths render identical markup. Anchors keep working: a <details> holding the target of location.hash is opened on load and on hashchange, so /downloads/#BanyanDBJavaClient and the Archived Releases chip both land on an expanded section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #899, covering two things on the downloads page.
1. Restore the archive links the redesign dropped
The Archived Releases section did once have content. #431 (Apr 2022) added
- type: Archivetoreleases.ymlpurely so the section got a nav chip — it deliberately had nolist:, and the real content was a hardcoded block indownloads-block.html:The redesign (#844, May 2026) rewrote that shortcode and dropped the block, leaving the by-then-renamed
Archived Releasesentry orphaned. With nolist:and no block, the chip and<h2>have been rendering above an empty grid ever since.Restored as the category
descriptionso it is data-driven rather than hardcoded. Every other category has a null description, so exactly one note renders.2. Fold archived releases, and move them below the Docker images
Most people on this page want something current, so an archived category no longer sits mid-page between Tools and Docker. It now renders last, after the Docker images, as a
<details>shut by default showing just its title and a component count.Categories opt in with
archived: trueinreleases.yml— a property of the data, not a special case for one hardcoded section. The chip strip and the "Latest releases" aside follow the same flag: archived chips move after the Docker chip and are muted, and archived components no longer compete for a slot in the aside.The card grid moved to
layouts/partials/downloads-cards.htmlso the live and folded paths render identical markup.Anchors keep working. A
<details>containing the target oflocation.hashis opened on load and onhashchange, so/downloads/#BanyanDBJavaClientand the Archived Releases chip both land on an expanded section.Verification
Local Hugo build, no errors.
Order, chips and body both:
<details>open by defaultdl-cat-noteon page.dl-archived,[open]chevron rotation,.dl-chip--mutedall presentContext: why the section had no components until now
No previously-archived repo ever had its own release artifacts to move here:
sourceText: Included in the main repo release— no standalone downloads. When Booster UI was archived (c8b39b8, May 2026) its entry was simply replaced by Horizon UI.releases.ymlentries at all.The BanyanDB Java Client is the first retired component that shipped its own signed release, which is why #899 produced the section's first card.