Add archive links - #431
Merged
Merged
Conversation
wu-sheng
added a commit
that referenced
this pull request
Aug 16, 2026
…ottom (#900) * 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. * Fold archived releases and move them below the Docker images 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.
screenshot:
