Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs/website: make "outdated version" banner red if ancient #5339

Merged

Conversation

srenatus
Copy link
Contributor

@srenatus srenatus commented Nov 2, 2022

If a release is not among the last five releases, the "you're using an outdated version" banner will turn red.

You cannot see the effect in the deploy preview, but I've verified it locally:

image


image

@srenatus srenatus force-pushed the sr/docs/old-banner-red-if-very-old branch from 9bee2c5 to dfcacff Compare November 2, 2022 10:00
@netlify
Copy link

netlify bot commented Nov 2, 2022

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 65b9feb
🔍 Latest deploy log https://app.netlify.com/sites/openpolicyagent/deploys/636241ec3c09530009db401a
😎 Deploy Preview https://deploy-preview-5339--openpolicyagent.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 site settings.

Where "ancient" means it's not among the latest five releases.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
I've found that adding this live means I can use

    netlify dev --offline

without any further switches. For some reason, I had run into trouble with
"cecil" when using it like that.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
@srenatus srenatus force-pushed the sr/docs/old-banner-red-if-very-old branch from dfcacff to 65b9feb Compare November 2, 2022 10:09
@srenatus srenatus marked this pull request as ready for review November 2, 2022 10:09
@srenatus srenatus merged commit f477e7f into open-policy-agent:main Nov 2, 2022
@srenatus srenatus deleted the sr/docs/old-banner-red-if-very-old branch November 2, 2022 10:42
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.

None yet

2 participants