-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add description for /acs/systems #375
base: main
Are you sure you want to change the base?
Changes from all commits
5cd137a
b1c63ae
8ae8b73
27765c2
406bf54
5f894a6
5ac772c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
--- | ||
description: Get an ACS System | ||
--- | ||
# Get an ACS System | ||
|
||
``` | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
--- | ||
description: List ACS Systems | ||
--- | ||
# List ACS Systems | ||
|
||
``` | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
--- | ||
/acs/systems: | ||
description: null | ||
page: | ||
title: Systems | ||
description: Access Control Systems | ||
|
||
/acs/systems/get: | ||
page: | ||
title: Get an ACS System | ||
description: Get an ACS System | ||
|
||
/acs/systems/list: | ||
page: | ||
title: List ACS Systems | ||
description: List ACS Systems | ||
|
||
/acs/systems/list_compatible_credential_manager_acs_systems: | ||
page: | ||
title: List Compatible Credential Manager ACS Systems | ||
description: List Compatible Credential Manager ACS Systems | ||
Comment on lines
+3
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @DebbieAtSeam Can you suggest descriptions here? The page titles need to match what is in SUMMARY.md and will be used later to generate that section of SUMMARY.md. The page descriptions are for SEO. We can't use the long form descriptions because they may be too long or contain markdown formatting. I am somewhat concerned about duplicated content. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
--- | ||
description: {{page.description}} | ||
--- | ||
# {{title}} | ||
|
||
``` | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { z } from 'zod' | ||
|
||
export const PathMetadataSchema = z.record( | ||
z.string(), | ||
z.object({ | ||
page: z.object({ | ||
title: z.string().trim().min(1), | ||
description: z.string().trim().min(1), | ||
}), | ||
}), | ||
) | ||
|
||
export type PathMetadata = z.infer<typeof PathMetadataSchema> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DebbieAtSeam Thoughts on putting the route on the page somewhere? I don't like this format, but how else to show it?