-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33e5d37
commit ddae7bd
Showing
1 changed file
with
13 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,33 @@ | ||
# CMS Configuration for Starlight Astro Documentation Site | ||
# CMS Configuration for Starlight Astro | ||
collections: | ||
# Documentation pages collection | ||
docs: | ||
label: "Documentation Pages" | ||
path: "src/content/docs/{slug}.md" | ||
# References collection for exhibits | ||
references: | ||
label: "Exhibits" | ||
path: "src/content/reference/{slug}.md" | ||
fields: | ||
- name: "title" | ||
label: "Page Title" | ||
label: "Exhibit Title" | ||
type: "string" | ||
required: true | ||
- name: "description" | ||
label: "Short Description" | ||
type: "string" | ||
description: "A brief summary of the page content." | ||
label: "Description" | ||
type: "text" | ||
description: "A short summary of the exhibit for SEO and previews." | ||
- name: "slug" | ||
label: "Slug" | ||
type: "string" | ||
description: "The URL path for this page." | ||
description: "The URL path for this exhibit page." | ||
required: true | ||
- name: "draft" | ||
label: "Draft" | ||
type: "boolean" | ||
default: false | ||
description: "Mark as draft to exclude from production builds." | ||
- name: "sidebar" | ||
label: "Sidebar Group" | ||
type: "string" | ||
description: "Which sidebar category this page belongs to." | ||
description: "Mark as draft to hide in production." | ||
- name: "order" | ||
label: "Order" | ||
type: "number" | ||
description: "The position of this page within the sidebar group." | ||
description: "The order in the sidebar (optional)." | ||
- name: "content" | ||
label: "Page Content" | ||
type: "markdown" | ||
description: "The main content of the documentation page." | ||
|
||
# References collection | ||
references: | ||
label: "References" | ||
path: "src/content/references/{slug}.md" | ||
fields: | ||
- name: "title" | ||
label: "Reference Title" | ||
type: "string" | ||
required: true | ||
- name: "description" | ||
label: "Description" | ||
type: "text" | ||
- name: "url" | ||
label: "URL" | ||
type: "string" | ||
description: "External or internal reference link." | ||
- name: "author" | ||
label: "Author" | ||
type: "string" | ||
- name: "published_date" | ||
label: "Published Date" | ||
type: "date" | ||
- name: "tags" | ||
label: "Tags" | ||
type: "list" | ||
of: | ||
type: "string" | ||
description: "Keywords for filtering or categorizing references." | ||
description: "The main content of the exhibit." |