Skip to content

Commit 2da53ad

Browse files
committed
docs: fix build
1 parent 6a0e8fa commit 2da53ad

21 files changed

Lines changed: 166 additions & 190 deletions

File tree

docs/docs/.gitkeep

Whitespace-only changes.

docs/documentation/01-Getting Started/headless-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 3
44
---
55
# Configuring the Framework
66

7-
The `headstartwp.config.js` (previously, `headless.config.js`) file contains several config options for HeadstartWP. This file should export an object of type [HeadlessConfig](/api/modules/headstartwp_core/#headlessconfig).
7+
The `headstartwp.config.js` (previously, `headless.config.js`) file contains several config options for HeadstartWP. This file should export an object of type [HeadlessConfig](/api/@headstartwp/core/#headlessconfig).
88

99
## Usage with Next.js
1010

docs/documentation/02-Data Fetching/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_position: 0
88

99
HeadstartWP provides seamless data-fetching for Next.js App Router using modern async/await patterns. Unlike the Pages Router which uses React hooks, the App Router leverages Server Components for efficient server-side data fetching.
1010

11-
The data-fetching logic is powered by [strategies](/api/classes/headstartwp_core.AbstractFetchStrategy/) and abstracts the data-fetching logic.
11+
The data-fetching logic is powered by [strategies](/api/@headstartwp/core/classes/AbstractFetchStrategy/) and abstracts the data-fetching logic.
1212

1313
## App Router Data Fetching
1414

docs/documentation/06-WordPress Integration/previews.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Below is a summary of the preview workflow.
4444

4545
## Usage
4646

47-
The Next.js App Router project **must** expose an `app/api/preview/route.ts` endpoint that uses the [previewRouteHandler](/api/modules/headstartwp_next/#previewroutehandler).
47+
The Next.js App Router project **must** expose an `app/api/preview/route.ts` endpoint that uses the [previewRouteHandler](/api/@headstartwp/next/#previewroutehandler).
4848

4949
```typescript title="app/api/preview/route.ts"
5050
import { previewRouteHandler } from '@headstartwp/next/app';

docs/docusaurus.config.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,15 @@ const config = {
4848
'docusaurus-plugin-typedoc',
4949
{
5050
name: 'HeadstartWP',
51-
out: '.',
51+
out: './docs',
5252
entryPoints: ['../packages/core', '../packages/next'],
5353
entryPointStrategy: 'packages',
54+
packageOptions: {
55+
entryPoints: ['src/docs-entry-point.ts'],
56+
},
5457
categorizeByGroup: false,
5558
excludeInternal: true,
5659
readme: 'none',
57-
sidebar: {
58-
categoryLabel: 'API reference',
59-
collapsed: false,
60-
position: 0,
61-
fullNames: true,
62-
},
6360
},
6461
],
6562
[

0 commit comments

Comments
 (0)