Skip to content

Commit 4ff3763

Browse files
committed
fix: moved playground docs page under overview and updated link on playground navbar
1 parent fc6e2fc commit 4ff3763

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/mint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@
240240
"pages": [
241241
"permify-overview/intro",
242242
"permify-overview/authorization-service",
243-
"permify-overview/faqs"
243+
"permify-overview/faqs",
244+
"permify-overview/playground"
244245
]
245246
},
246247
{
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
sidebar_position: 6
2+
title: Using Permify Playground
3+
sidebarTitle: Playground
34
---
45

5-
# Using Permify Playground
6-
76
You can use our [Playground] to create and test your authorization schema in a browser.
87

98
Our playground consists 3 main sections,
@@ -20,7 +19,7 @@ Let's examine these sections by following a simple example.
2019

2120
You can create your authorization model in this section with using our domain specific language.
2221

23-
You can define your entities, relations between them and access control decisions with using Permify Schema. We already have a couple of use cases and example that you can choose to see how authorization can be structured. Also, you can check our docs to [learn more about how to model authorization](./getting-started/modeling.md) in Permify.
22+
You can define your entities, relations between them and access control decisions with using Permify Schema. We already have a couple of use cases and example that you can choose to see how authorization can be structured. Also, you can check our docs to [learn more about how to model authorization](./getting-started/modeling) in Permify.
2423

2524
To demonstrate how the playground works, let's create a simple authorization model as follows. This model should be selected as the default when you open the playground.
2625

playground/src/components/guided-tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function GuidedTour({refSchemaEditor, refRelationshipsAndAttribut
7777
Enforcement section represents a test scenario for conducting access checks. To learn more about
7878
the
7979
capabilities of this YAML, refer to:{" "}
80-
<Link href="https://docs.permify.co/docs/playground/#enforcement-access-check-scenarios"
80+
<Link href="https://docs.permify.co/permify-overview/playground/#enforcement-access-check-scenarios"
8181
text="docs"/>.
8282
</p>
8383
</div>

playground/src/layout/main-layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ const MainLayout = ({children, ...rest}) => {
280280
{screens.xl &&
281281
<>
282282
<Button className="mr-8 text-white" type="link" target="_blank"
283-
href="https://docs.permify.co/docs/playground">
283+
href="https://docs.permify.co/permify-overview/playground">
284284
How to use the playground?
285285
</Button>
286286
<Button className="mr-8" target="_blank" icon={<GithubOutlined/>}

0 commit comments

Comments
 (0)