Skip to content

docs: Switch to new OPA website#7592

Merged
charlieegan3 merged 15 commits intoopen-policy-agent:mainfrom
charlieegan3:new-site-switch
May 19, 2025
Merged

docs: Switch to new OPA website#7592
charlieegan3 merged 15 commits intoopen-policy-agent:mainfrom
charlieegan3:new-site-switch

Conversation

@charlieegan3
Copy link
Copy Markdown
Contributor

https://www.openpolicyagent.org/new/ has been well tested and polished enough that we're happy to proceed with the new site rollout.

This PR updates the deployment configuration to deploy only the new site. It also removes the old site and content which is now to be managed in the new site's dir structure instead.

Fixes: #7037

@charlieegan3 charlieegan3 force-pushed the new-site-switch branch 5 times, most recently from edf244c to 39dacaa Compare May 19, 2025 09:04
@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 9b0edfe
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/682b08b87919b50008d9d792
😎 Deploy Preview https://deploy-preview-7592--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
Copy Markdown
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

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

✨ LGTM

Charlie Egan added 9 commits May 19, 2025 11:03
Signed-off-by: Charlie Egan <charlie@styra.com>
Signed-off-by: Charlie Egan <charlie@styra.com>
Signed-off-by: Charlie Egan <charlie@styra.com>
Moved functions to a new dir and simplified the build commands.

Signed-off-by: Charlie Egan <charlie@styra.com>
These have been re-worked and I will come back to this later.

Signed-off-by: Charlie Egan <charlie@styra.com>
These are common 404 and create noise in logs.

Signed-off-by: Charlie Egan <charlie@styra.com>
Signed-off-by: Charlie Egan <charlie@styra.com>
Signed-off-by: Charlie Egan <charlie@styra.com>
Signed-off-by: Charlie Egan <charlie@styra.com>
Using the window variables is not possible in builds.

Signed-off-by: Charlie Egan <charlie@styra.com>
Charlie Egan added 3 commits May 19, 2025 11:12
We have a lot of latest links in the wild.

Signed-off-by: Charlie Egan <charlie@styra.com>
We are hosting this at site.webmanifest instead.

Signed-off-by: Charlie Egan <charlie@styra.com>
For now, I am working on a new templating generator for this file.

Signed-off-by: Charlie Egan <charlie@styra.com>
Comment thread docs/static/_redirects
Comment thread docs/src/theme/NotFound/Content/index.js
Charlie Egan added 2 commits May 19, 2025 11:26
Signed-off-by: Charlie Egan <charlie@styra.com>
Caused by passing children elems not a func

Signed-off-by: Charlie Egan <charlie@styra.com>
@charlieegan3 charlieegan3 enabled auto-merge (squash) May 19, 2025 10:37
@charlieegan3 charlieegan3 merged commit d6b5659 into open-policy-agent:main May 19, 2025
28 checks passed
@charlieegan3 charlieegan3 deleted the new-site-switch branch May 19, 2025 10:43
aromeyer pushed a commit to aromeyer/opa that referenced this pull request May 21, 2025
Some things added on this branch:
- icons and client logos at known paths
- some spam redirects
- some redirects for docs/latest/foo /docs/foo
- redirects for the two ‘moved’ pages (k8s and envoy intros)

I am going to be monitoring the traffic this week on Netlify to make
sure we have a good coverage with redirects where needed.
We also now prompt users to file issues directly from the 404 pages
which should help flag things we miss too.
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.

docs: Review documentation site generation for versioned OPA docs

2 participants