From dd297f044466b71afdc1ab11dbc06f5a80661065 Mon Sep 17 00:00:00 2001 From: Andrew McKnight Date: Tue, 15 Jul 2025 15:26:12 -0800 Subject: [PATCH 1/2] allow specifying docs pages as full width if their content requires it --- app/[[...path]]/page.tsx | 7 ++++++- .../apple/common/user-feedback/configuration/index.mdx | 1 + src/types/frontmatter.ts | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/[[...path]]/page.tsx b/app/[[...path]]/page.tsx index fad7e452fa751d..e9fce443599838 100644 --- a/app/[[...path]]/page.tsx +++ b/app/[[...path]]/page.tsx @@ -47,7 +47,12 @@ export const dynamic = 'force-static'; const mdxComponentsWithWrapper = mdxComponents( {Include, PlatformContent}, ({children, frontMatter, nextPage, previousPage}) => ( - + {children} ) diff --git a/docs/platforms/apple/common/user-feedback/configuration/index.mdx b/docs/platforms/apple/common/user-feedback/configuration/index.mdx index b0e88639b2c6e1..9fe5d3a387a4fe 100644 --- a/docs/platforms/apple/common/user-feedback/configuration/index.mdx +++ b/docs/platforms/apple/common/user-feedback/configuration/index.mdx @@ -2,6 +2,7 @@ title: Configure User Feedback sidebar_order: 6900 description: "Learn about general User Feedback configuration fields." +fullWidth: true --- diff --git a/src/types/frontmatter.ts b/src/types/frontmatter.ts index 00a88ef2cdf983..71f100f789a2f5 100644 --- a/src/types/frontmatter.ts +++ b/src/types/frontmatter.ts @@ -89,4 +89,8 @@ export interface FrontMatter { * @example ['v7.119.0', 'next'] */ versions?: string[]; + /** + * Set this to true to take all the available width for the page content. + */ + fullWidth?: boolean; } From 86f9d7affaca682f5e8428c4f7743c4a7b854f97 Mon Sep 17 00:00:00 2001 From: Andrew McKnight Date: Wed, 23 Jul 2025 13:39:22 -0800 Subject: [PATCH 2/2] fix sort order --- src/types/frontmatter.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/types/frontmatter.ts b/src/types/frontmatter.ts index 71f100f789a2f5..d7158297a0d0cd 100644 --- a/src/types/frontmatter.ts +++ b/src/types/frontmatter.ts @@ -23,6 +23,10 @@ export interface FrontMatter { * Set this to true to mark this page as a draft, and hide it from various other components (such as the PageGrid). */ draft?: boolean; + /** + * Set this to true to take all the available width for the page content. + */ + fullWidth?: boolean; /** * A list of keywords for indexing with search. */ @@ -89,8 +93,4 @@ export interface FrontMatter { * @example ['v7.119.0', 'next'] */ versions?: string[]; - /** - * Set this to true to take all the available width for the page content. - */ - fullWidth?: boolean; }