Skip to content

Commit 5e48e70

Browse files
authored
Merge branch 'main' into taran/resolve-page-meta-links-cr-or-space
2 parents bbb97e6 + 44feb3b commit 5e48e70

File tree

29 files changed

+605
-215
lines changed

29 files changed

+605
-215
lines changed

.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/ready-aliens-lose.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"gitbook": patch
3+
---
4+
5+
Add customizable suggested questions

.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: 139 additions & 50 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@
4141
"catalog": {
4242
"@tsconfig/strictest": "^2.0.6",
4343
"@tsconfig/node20": "^20.1.6",
44-
"@gitbook/api": "0.153.0",
44+
"@gitbook/api": "0.154.0",
4545
"@scalar/api-client-react": "^1.3.46",
4646
"@types/react": "^19.0.0",
4747
"@types/react-dom": "^19.0.0",
4848
"assert-never": "^1.4.0",
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)