10 Commits

Author SHA1 Message Date
Charlie Egan f8c50574d8 Add generated output.jsons for docs examples (#8535)
This allows us to show the results of example evaluation before the user
clicks evaluate, but also for chatbots to see the output when viewing
without interaction.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2026-04-21 13:01:02 +00:00
Charlie Egan dd59017471 website: Allow Regal import to use local dir (#8312)
This allows testing of regal docs changes without
pulling them from a remote, useful if testing
changes to content with docusaurus bits in.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2026-02-11 00:49:42 +01:00
Charlie Egan bdf8885e10 docs: Add scripts to import docs from source (#8148)
Regal, cheat sheet, and style guide all get docs from other repos but
are vendored here to build the site.

These scripts are currently run manually, but at least codify the
process. Eventually this will be automated too

Related:
- https://github.com/open-policy-agent/rego-style-guide/pull/42
- https://github.com/open-policy-agent/regal/pull/1800

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2026-01-05 09:51:00 +00:00
Charlie Egan 1b7e7de85a website: Docs versioning (#8038)
Only revert the docs content to the latest release. Retain all other
parts of the site the same.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-11-10 17:41:26 +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 e68a697af8 website: checkout relative to docs dir (#8024)
Missed in https://github.com/open-policy-agent/opa/pull/8023

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
2025-11-06 14:42:37 +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 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
Charlie Egan 3546780664 website: Use latest release rather than edge (#7781)
Signed-off-by: Charlie Egan <charlie@styra.com>
2025-07-31 15:14:30 +00:00
Charlie Egan c0871837e8 docs: Add simple post-merge smoke test website (#7611)
Signed-off-by: Charlie Egan <charlie@styra.com>
2025-05-21 18:40:23 +00:00