-
Notifications
You must be signed in to change notification settings - Fork 3
Add Schema component to docs.yml reference page #1750
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
base: main
Are you sure you want to change the base?
Add Schema component to docs.yml reference page #1750
Conversation
- Add Schema component for 15 major configuration types - Display type definitions visually using the new Schema component from PR #4442 - Includes Schema components for: DocsInstance, ColorsConfiguration, LogoConfiguration, RedirectConfig, NavbarLink, FooterLinksConfig, BackgroundImageConfiguration, DocsTypographyConfig, FontConfig, LayoutConfig, GithubEditThisPageConfig, PageConfiguration, AnalyticsConfig, MetadataConfig, and ExperimentalConfig Co-Authored-By: Devin Logan <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
| ## Settings configuration | ||
|
|
||
| ## Settings configuration | ||
| Configure functional behaviors and features of your documentation site, including search, code display preferences, and API explorer settings. |
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.
🚫 [vale] reported by reviewdog 🐶
[FernStyles.Reject] Use 'API Explorer' instead of 'API explorer'.
|
|
||
| The slug can also be overridden in the frontmatter of the landing page Markdown file. | ||
| </ParamField> | ||
| ## SEO metadata configuration |
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.
📝 [vale] reported by reviewdog 🐶
[FernStyles.Headings] 'SEO metadata configuration' should use sentence-style capitalization.
Add Schema component to docs.yml reference page
Summary
Added the new
<Schema type="TypeName" />component (from PR #4442) to the docs.yml reference page to display type definitions visually for 15 major configuration types. The Schema components are placed immediately after the YAML code examples in each section to show the complete type structure from the docs-yml API definition.Configuration types with Schema components:
Review & Testing Checklist for Human
fern docs devand navigate to the docs.yml reference page to verify all 15 Schema components render correctly and display type information (not just blank spaces)<Schema type="..." />exactly match the type names infern/apis/docs-yml/definition/docs.yml. A mismatch will cause silent failuresTest Plan
fern docs devin the docs repositoryNotes
loader.getTypes()to fetch type definitions from all APIs in the projectloader.getTypes()returns all types from all APIsLink to Devin run: https://app.devin.ai/sessions/82957910bea64400b08607bd1ee34924
Requested by: Devin Logan ([email protected]) (@devalog)