Skip to content

Conversation

charlieegan3
Copy link
Contributor

Docs are updated as we push to main, this means the version is not the latest, but rather the edge version. This is to avoid confusion while still showing fixes to the docs site as we make them, since it's still an active area of development after we released the new version.

Screenshot 2025-06-23 at 16 10 45

I have left in the component as we will want to make it so that this shows the latest tag when building an archived deployment and will use this component for that, but for now, it's just always shows edge.

Copy link

netlify bot commented Jun 23, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit e49fbeb
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/68596f94e5b55d000811a752
😎 Deploy Preview https://deploy-preview-7717--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 project configuration.

Copy link
Contributor

@johanfylling johanfylling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

@@ -37,7 +34,7 @@ export default function CurrentVersionNavbarItem({ ...props }) {
<div className={styles.versionWrapper}>
<DefaultNavbarItem
{...props}
label={`${latestVersion}`}
label={"edge"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this also affect the archived docs for specific OPA releases, or that's generated/created some other way?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I kinda realised this was mostly not unhelpful unless we also had a way to set it. That will be used in the opa-docs repo, but this allows the site to be built with a version set.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(So I have another commit to update this)

Charlie Egan added 2 commits June 23, 2025 15:40
Docs are updated as we push to main, this means the version is not the
latest, but rather the edge version. This is to avoid confusion while
still showing fixes to the docs site as we make them, since it's still
an active area of development after we released the new version.

Signed-off-by: Charlie Egan <[email protected]>
This will be used to set the version in the navbar item on versioned
deploys of the site.

Signed-off-by: Charlie Egan <[email protected]>
Copy link

netlify bot commented Jun 23, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 33b4ebe
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/6859752114d6310008afb126
😎 Deploy Preview https://deploy-preview-7717--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 project configuration.

@charlieegan3 charlieegan3 merged commit c4ccd5d into open-policy-agent:main Jun 23, 2025
20 checks passed
@charlieegan3 charlieegan3 deleted the docs-version-edge branch June 23, 2025 15:49
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