Skip to content

Commit e372dae

Browse files
committed
Merge branch 'main' into zeno/rnd-7450-mobile-toc-chat-layout
2 parents e329b41 + 8761cee commit e372dae

File tree

23 files changed

+741
-234
lines changed

23 files changed

+741
-234
lines changed

.changeset/eager-zoos-judge.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@gitbook/react-openapi': patch
3+
---
4+
5+
Enhance discriminator handling in OpenAPISchema

.changeset/new-news-strive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@gitbook/icons": minor
3+
---
4+
5+
Update to FontAwesome 7.1.0

.changeset/some-bags-wish.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@gitbook/react-openapi': patch
3+
---
4+
5+
Fix OpenAPI oneOf/allOf merge

bun.lock

Lines changed: 136 additions & 48 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"bidc": "^0.0.2",
5050
"bun-types": "^1.1.20",
5151
"classnames": "^2.5.1",
52-
"react": "^19.0.0",
53-
"react-dom": "^19.0.0",
52+
"react": "^19.0.1",
53+
"react-dom": "^19.0.1",
5454
"tsdown": "^0.15.6",
5555
"typescript": "^5.5.3",
5656
"usehooks-ts": "^3.1.1"

packages/gitbook/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@gitbook/react-openapi": "workspace:*",
2020
"@modelcontextprotocol/sdk": "1.17.5",
2121
"@opennextjs/aws": "^3.8.5",
22-
"@opennextjs/cloudflare": "^1.11.0",
22+
"@opennextjs/cloudflare": "^1.14.4",
2323
"@radix-ui/react-checkbox": "^1.0.4",
2424
"@radix-ui/react-dropdown-menu": "^2.1.12",
2525
"@radix-ui/react-hover-card": "^1.1.15",
@@ -50,7 +50,7 @@
5050
"micromark-extension-frontmatter": "^2.0.0",
5151
"micromark-extension-gfm": "^3.0.0",
5252
"motion": "^12.23.24",
53-
"next": "15.4.0",
53+
"next": "15.4.8",
5454
"next-themes": "^0.4.6",
5555
"nuqs": "^2.2.3",
5656
"object-hash": "^3.0.0",

packages/gitbook/src/app/sites/dynamic/[mode]/[siteURL]/[siteData]/(content)/[pagePath]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default async function Page(props: PageProps) {
1616
const { context } = await getDynamicSiteContext(params);
1717
const pathname = getPagePathFromParams(params);
1818

19-
return <SitePage context={context} pageParams={{ pathname }} />;
19+
return <SitePage context={context} pageParams={{ pathname }} staticRoute={false} />;
2020
}
2121

2222
export async function generateViewport(props: PageProps): Promise<Viewport> {

packages/gitbook/src/app/sites/dynamic/[mode]/[siteURL]/[siteData]/~gitbook/embed/page/[pagePath]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function Page(props: PageProps) {
1212
const { context } = await getEmbeddableDynamicContext(params);
1313
const pathname = getPagePathFromParams(params);
1414

15-
return <EmbeddableDocsPage context={context} pageParams={{ pathname }} />;
15+
return <EmbeddableDocsPage context={context} pageParams={{ pathname }} staticRoute={false} />;
1616
}
1717

1818
export async function generateMetadata(props: PageProps): Promise<Metadata> {

packages/gitbook/src/app/sites/static/[mode]/[siteURL]/[siteData]/(content)/[pagePath]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default async function Page(props: PageProps) {
1818
const { context } = await getStaticSiteContext(params);
1919
const pathname = getPagePathFromParams(params);
2020

21-
return <SitePage context={context} pageParams={{ pathname }} />;
21+
return <SitePage context={context} pageParams={{ pathname }} staticRoute />;
2222
}
2323

2424
export async function generateViewport(props: PageProps): Promise<Viewport> {

packages/gitbook/src/app/sites/static/[mode]/[siteURL]/[siteData]/~gitbook/embed/page/[pagePath]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default async function Page(props: PageProps) {
1414
const { context } = await getEmbeddableStaticContext(params);
1515
const pathname = getPagePathFromParams(params);
1616

17-
return <EmbeddableDocsPage context={context} pageParams={{ pathname }} />;
17+
return <EmbeddableDocsPage context={context} pageParams={{ pathname }} staticRoute />;
1818
}
1919

2020
export async function generateMetadata(props: PageProps): Promise<Metadata> {

0 commit comments

Comments
 (0)