Skip to content

Conversation

@miyukoc
Copy link
Contributor

@miyukoc miyukoc commented Dec 3, 2025

This addresses an issue where, if the user navigates to the documentation site for the latest version (/docs/amaranth/latest/), an extraneous entry will be prepended to the version list that matches the currently open version but does not show up in docs for other versions (e.g. /docs/amaranth/v1.2.3/).

This patch adds an entry for the latest version at build time and removes the behavior where an extraneous entry would be prepended to the version list if no entry that matches the currently open version is present.

@miyukoc miyukoc requested a review from whitequark as a code owner December 3, 2025 18:21
@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.28%. Comparing base (e11cb25) to head (bc07bfd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1644   +/-   ##
=======================================
  Coverage   91.28%   91.28%           
=======================================
  Files          44       44           
  Lines       11471    11471           
  Branches     2236     2236           
=======================================
  Hits        10471    10471           
  Misses        837      837           
  Partials      163      163           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@whitequark whitequark enabled auto-merge December 3, 2025 18:25
@whitequark whitequark added this pull request to the merge queue Dec 3, 2025
Merged via the queue into amaranth-lang:main with commit 1ef99a5 Dec 3, 2025
20 of 23 checks passed
@miyukoc miyukoc deleted the version-switch-show-latest branch December 3, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants