Skip to content

enh: add badge expiry functionality#119

Merged
rich-iannone merged 6 commits intomainfrom
enh-badge-expiry
Apr 19, 2026
Merged

enh: add badge expiry functionality#119
rich-iannone merged 6 commits intomainfrom
enh-badge-expiry

Conversation

@rich-iannone
Copy link
Copy Markdown
Member

This PR introduces a flexible system for expiring "new" version badges in documentation, allowing them to be automatically hidden based on configurable policies (such as number of releases, date, or days since release). It adds a BadgeExpiry configuration that can be set globally or overridden per page, and ensures that only "new" badges are affected by expiry ("changed" and "deprecated" badges are never expired). The implementation includes parsing and evaluation logic, integration with the build process, and additional tests.

@rich-iannone rich-iannone merged commit c727d2c into main Apr 19, 2026
7 checks passed
@rich-iannone rich-iannone deleted the enh-badge-expiry branch April 19, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant