我们添加了一些自定义 frontmatter 属性,以满足特定需求。
类型:object 可选
说明:Displays a Banner on the current docs page.
类型:string 可选
说明:A canonical URL or path to set as the <link rel="canonical"> in the page <head>, overriding the default derived from the page URL.
类型:string 可选
说明:Difficulty is displayed as a column in the ListTutorials component.
类型:string 可选
说明:Path to another page in our docs or elsewhere. Used to add a crosslink entry to the lefthand navigation sidebar.
类型:boolean
说明:Whether to show the FeedbackPrompt on the page, defaults to true
类型:boolean 可选
说明:Renders this group as a single link on the sidebar, to the index page. Refer to Sidebar.
类型:boolean 可选
说明:If true, this property adds a noindex declaration to the page, which will tell internal / external search crawlers to ignore this page. Helpful for pages that are historically accurate, but no longer recommended, such as Workers Sites.
类型:string 可选
说明:The purpose of the page, and defined through specific pages in Content strategy.
类型:array
说明:The names of related directory entries (according to their file name in src/content/directory). Usually, these correspond to file paths, but not always, such as with cloudflare-tunnel
类型:array 可选
说明:Required for the ProductReleaseNotes component.
类型:undefined 可选
说明:A YYYY-MM-DD value that signals when the page was last explicitly reviewed from beginning to end.
类型:object
说明:Used to configure various sidebar options. Refer to Sidebar.
类型:object 可选
说明:Used by overrides for style guide component documentation, which helps us display the usage counts for components directly on the component page itself.
类型:string 可选
说明:Renders a summary description directly below the page title.
类型:array 可选
说明:A group of related keywords relating to the purpose of the page.