Skip to content

Commit

Permalink
update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Oct 25, 2024
1 parent 1452214 commit 7e89fa4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
5 changes: 5 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ export default function Home(props: HomeProps) {
<h1 className="text-center text-2xl font-bold">Audience Demo</h1>

<div className="flex flex-col gap-4">
<div className="flex items-center justify-center">
<input id="everyone" checked disabled />
<label htmlFor="orphaned">Orphaned</label>
</div>

{audiences.map((audience) => (
<div key={audience} className="flex items-center justify-center">
<input
Expand Down
17 changes: 11 additions & 6 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,37 @@ instances:
- url: https://test-jwt-auth-smoky.docs.buildwithfern.com
title: Test JWT Auth

audiences:
roles:
- protected
- internal
- everyone

navigation:
- api: API Reference (Public)
- api: API Reference (Authed)
audience: [internal, protected]
viewers: [internal, protected]
- section: My Section
contents:
- page: Public Page
path: test.mdx
- page: Protected Page
path: test.mdx
audience: protected
viewers: protected
- page: Internal Page
path: test.mdx
audience: internal
viewers: internal
- page: Everyone Page
path: test.mdx
orphaned: true
viewers: everyone
- section: Internal Section
audience: internal
viewers: internal
contents:
- page: Internal Page
path: test.mdx
- page: Protected Page
path: test.mdx
audience: protected
viewers: protected

colors:
accentPrimary: '#ffffff'
Expand Down
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "abvthecity",
"version": "0.45.0-rc19"
"version": "0.45.0-rc21"
}

1 comment on commit 7e89fa4

@vercel
Copy link

@vercel vercel bot commented on 7e89fa4 Oct 25, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.