Commit Graph

10 Commits

Author SHA1 Message Date
Charlie Egan 071f4ea99b docs: Update broken links (#8285)
* Update Regal documentation

Sync documentation with upstream Regal repository to reflect latest changes.

This addresses a number of broken link issues from the checker before.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

* docs: Update release links

these links create some issues in the link checker report.

https://github.com/open-policy-agent/opa/issues/8278

```
Errors in ./docs/docs/deploy/aws/ec2.mdx

[404] https://github.com/open-policy-agent/opa/releases/download/v%7B%7Bversion%7D%7D/opa_linux_amd64 | Rejected status code (this depends on your "accept" configuration): Not Found
Errors in ./docs/docs/deploy/azure/vm.mdx

[404] https://github.com/open-policy-agent/opa/releases/download/v%7B%7Bversion%7D%7D/opa_linux_amd64 | Error (cached)
Errors in ./docs/docs/deploy/google-cloud/gce.mdx

[404] https://github.com/open-policy-agent/opa/releases/download/v%7B%7Bversion%7D%7D/opa_linux_amd64 | Error (cached)
```

These are not actually broken, they are just untemplated when the checker sees them.

I figured since they are long lines we can use use a $REPO variable instead,
to ensure that we only have valid https:// starting links on those pages.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

* Remove broken blog link

https://github.com/open-policy-agent/opa/issues/8278

this link appears to be gone with no redirect.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

* docs: Fix outdated and broken documentation URLs

Update various documentation links, SlideShare links, and external references
that were resulting in redirects.

Fixes https://github.com/open-policy-agent/opa/issues/8278

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

* Update broken regal links

The other rules are using abs links here.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

---------

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2026-02-03 16:58:04 +00:00
Charlie Egan 193dcb41da docs: Fix a number of redirecting links (#8196)
Fixes https://github.com/open-policy-agent/opa/issues/8165

Redirects are bad for user experience as they are slower, and bad for SEO too.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2026-01-08 23:57:25 +01:00
Charlie Egan efae5d1b58 Update a number of links to their new location (#8100)
* Update a number of links to their new location

https://github.com/open-policy-agent/opa/issues/8091 highlighted a
number of 'broken' links that are just redirects. I have updated many of
these in this PR.

Hopefully next time, the broken link report will be easier to parse.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

* Update docs/docs/policy-performance.md

Co-authored-by: Stephan Renatus <s_renatus@apple.com>
Signed-off-by: Charlie Egan <git@charlieegan3.com>

---------

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Signed-off-by: Charlie Egan <git@charlieegan3.com>
Co-authored-by: Stephan Renatus <s_renatus@apple.com>
2025-12-02 11:06:38 +00:00
Charlie Egan b4d025e7b7 docs/regal: Replicate sidebar fixes (#8036)
See https://github.com/open-policy-agent/regal/pull/1763

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-11-10 18:05:27 +00:00
Charlie Egan 7f8de1047b website/docs: Fix remaining broken links (#8034)
- some were false positives where the react components I had made were
  not working with the checker. (CLI and Builtins refs)
- Others related to pages moved around etc, pages that used to be
  headings and so on.
- also address gtag loading issue by correctly configure via plugin.

From now, a broken anchor is fatal at build time.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-11-10 16:13:55 +00:00
Charlie Egan ad1c5e71ae website: Use Regal in regal page titles (#8033)
Rather than Open Policy Agent, which was confusing

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-11-10 12:39:23 +00:00
Charlie Egan 054612935b website: Build prod Regal content from main (#8023)
* website: Build prod Regal content from main

This is because the content for Regal is managed in another repo and so
we must be able to update it without an OPA release.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

* docs: Update regal docs from v0.37.0

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

---------

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-11-06 14:22:50 +00:00
Charlie Egan c7746a0612 docs: Address some broken anchors (#8000)
Some are runtime generated in the report and so are false positives. But
there are still others that need to be addressed, this is just the easy
ones.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-10-30 11:04:48 +01:00
Charlie Egan fa0118f439 docs/regal: Update docs following 0.36.0 (#7891)
* docs/regal: Update docs following 0.36.0

Mostly these had already been imported during the initial migration to
the OPA site, but there were some minor changes and this process is
still manual (scripted).

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

* website/regal: Update rules table to show content

Signed-off-by: Charlie Egan <charlie_egan@apple.com>

---------

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-09-11 11:51:49 +01:00
Charlie Egan 5951e5dee8 docs: Add Regal docs to OPA site (#7874)
This will show the project under /projects/, where some other upcoming
additions will have their docs too.

Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
Co-authored-by: Charlie Egan <charlieegan3@users.noreply.github.com>
2025-09-02 17:41:06 +02:00