Skip to content

Commit 008c9da

Browse files
authored
docs: Update references to cheat sheet and awesome-opa (#7930)
This also adds the cheat sheet to the docs site Signed-off-by: Charlie Egan <[email protected]>
1 parent 1e999ec commit 008c9da

File tree

8 files changed

+554
-13
lines changed

8 files changed

+554
-13
lines changed

docs/docs/cheatsheet.md

Lines changed: 543 additions & 0 deletions
Large diffs are not rendered by default.

docs/src/data/ecosystem/entries/awesome-opa.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ labels:
55
category: learning
66
type: poweredbyopa
77
code:
8-
- https://github.com/StyraInc/awesome-opa
9-
inventors:
10-
- styra
8+
- https://github.com/open-policy-agent/awesome-opa
119
docs_features:
1210
learning-rego:
1311
note: |
1412
The Awesome OPA project maintains a list of
15-
[policy packages](https://github.com/StyraInc/awesome-opa#policy-packages),
16-
and [editor integrations](https://github.com/StyraInc/awesome-opa#ide-and-editor-integrations)
13+
[policy packages](https://github.com/open-policy-agent/awesome-opa#policy-packages),
14+
and [editor integrations](https://github.com/open-policy-agent/awesome-opa#ide-and-editor-integrations)
1715
which can be helpful references for learning Rego.
1816
allow_missing_image: true
1917
---
18+
2019
A curated list of awesome OPA related tools, frameworks and articles.

docs/src/data/ecosystem/entries/rego-cheat-sheet.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,20 @@ title: Rego Cheat Sheet
33
subtitle: Quick reference for learning Rego
44
labels:
55
category: learning
6-
inventors:
7-
- styra
86
code:
9-
- https://github.com/StyraInc/rego-cheat-sheet
7+
- https://github.com/open-policy-agent/rego-cheat-sheet
108
tutorials:
11-
- https://docs.styra.com/opa/rego-cheat-sheet
9+
- https://openpolicyagent.org/docs/cheatsheet
1210
docs_features:
1311
learning-rego:
1412
note: |
15-
The [Rego Cheat Sheet](https://docs.styra.com/opa/rego-cheat-sheet)
13+
The [Rego Cheat Sheet](https://openpolicyagent.org/docs/cheatsheet)
1614
was designed as a language reference, featuring common contact points,
1715
with Rego learners in mind.
1816
---
1917

20-
The [Rego Cheat Sheet](https://docs.styra.com/opa/rego-cheat-sheet) has been
18+
The [Rego Cheat Sheet](https://openpolicyagent.org/docs/cheatsheet) has been
2119
designed to be a reference for Rego learners and users documenting the common
2220
contact points with the language. There is also a
23-
[PDF version](https://docs.styra.com/rego-cheat-sheet.pdf) for those looking for
21+
[PDF version](https://openpolicyagent.org/cheatsheet.pdf) for those looking for
2422
a printable reference.

docs/src/lib/sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ module.exports = {
103103
"cli",
104104
"editor-and-ide-support",
105105
"oauth-oidc",
106+
"cheatsheet",
106107
],
107108
},
108109
{

docs/src/pages/community/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Rego files, implementing OPA, or share the configurations you are working on.`,
6464
title: "Awesome OPA",
6565
icon: require.context("./assets/logos/opa.png").default,
6666
note: `Curated list of OPA links and resources.`,
67-
link: "https://github.com/StyraInc/awesome-opa",
67+
link: "https://github.com/open-policy-agent/awesome-opa",
6868
link_text: "Visit Awesome OPA",
6969
},
7070
],

docs/static/cheatsheet.pdf

167 KB
Binary file not shown.
27.1 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)