-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generate links for the sidebar from contentful (#2003)
- Loading branch information
1 parent
1a941fd
commit 720eecd
Showing
6 changed files
with
100 additions
and
41 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
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
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
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 |
---|---|---|
|
@@ -113,7 +113,6 @@ async function getMdxPaths() { | |
return { | ||
params: { | ||
slug: sanitizedSlug, | ||
source: 'mdx', | ||
}, | ||
}; | ||
}); | ||
|
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"guidelines": [ | ||
{ | ||
"title": "Accessibility", | ||
"slug": "/guidelines/accessibility" | ||
}, | ||
{ | ||
"title": "Adding icons", | ||
"slug": "/guidelines/adding-icons" | ||
}, | ||
{ | ||
"title": "Grammar and rules", | ||
"slug": "/guidelines/grammar-and-rules" | ||
}, | ||
{ | ||
"title": "Keyboard Shortcuts", | ||
"slug": "/guidelines/keyboard-shortcuts" | ||
}, | ||
{ | ||
"title": "UX Writing Principles", | ||
"slug": "/guidelines/ux-writing-principles" | ||
} | ||
], | ||
"introduction": [ | ||
{ | ||
"title": "Contributing to Forma 36", | ||
"slug": "/introduction/contributing" | ||
}, | ||
{ | ||
"title": "FAQ", | ||
"slug": "/introduction/v3-faq" | ||
}, | ||
{ | ||
"title": "Getting started", | ||
"slug": "/introduction/getting-started" | ||
}, | ||
{ | ||
"title": "Migration Guide", | ||
"slug": "/introduction/migration-v3-to-v4" | ||
}, | ||
{ | ||
"title": "Version 3 maintenance plan", | ||
"slug": "/introduction/maintenance-plan" | ||
} | ||
] | ||
} |
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
720eecd
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.
Successfully deployed to the following URLs:
forma-36 – ./
f36.contentful.com
forma-36.vercel.app
forma-36.colorfuldemo.com
v4.f36.contentful.com
forma-36-git-main.colorfuldemo.com