Skip to content

Add page-support-months attribute to EOL computation#195

Merged
JakeSCahill merged 1 commit into
mainfrom
feature/page-support-months
May 14, 2026
Merged

Add page-support-months attribute to EOL computation#195
JakeSCahill merged 1 commit into
mainfrom
feature/page-support-months

Conversation

@JakeSCahill
Copy link
Copy Markdown
Contributor

Summary

Adds :page-support-months: attribute to pages processed by the end-of-life (EOL) extension.

Changes

  • compute-end-of-life.js: Now includes page-support-months in the attributes set on each page, containing the configured support period in months
  • Version: Bumped to 4.17.3

Purpose

This attribute enables UI templates to display support duration information alongside EOL dates. For example, showing "18 months support" in version selectors or support badges.

Usage

Once published, pages processed by the EOL extension will have:

  • :page-support-months: - The configured support period (e.g., 18)

Related

Adds :page-support-months: attribute to pages processed by the EOL
extension. This attribute contains the configured support period in
months, enabling templates to display support duration information.

Bumps version to 4.17.3.

Related: redpanda-data/docs-ui#376
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for docs-extensions-and-macros ready!

Name Link
🔨 Latest commit b562d3b
🔍 Latest deploy log https://app.netlify.com/projects/docs-extensions-and-macros/deploys/69fd991515321800082c0c16
😎 Deploy Preview https://deploy-preview-195--docs-extensions-and-macros.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

Warning

Rate limit exceeded

@JakeSCahill has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 39 minutes and 6 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d0bce089-7224-4728-acf8-4237d4b1ce6c

📥 Commits

Reviewing files that changed from the base of the PR and between 4701aea and b562d3b.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • extensions/compute-end-of-life.js
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/page-support-months

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@JakeSCahill JakeSCahill requested a review from a team May 8, 2026 16:55
@JakeSCahill JakeSCahill merged commit 3e32e41 into main May 14, 2026
18 checks passed
@JakeSCahill JakeSCahill deleted the feature/page-support-months branch May 14, 2026 16:56
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.

2 participants