Skip to content

Commit 33700fa

Browse files
cubehouseclaude
andcommitted
fix(docs): publish cookbook and repair README links
- typedoc.json: add projectDocuments so docs/cookbook.md ships at /documents/cookbook.html on the deployed site. - src/index.ts: re-export RawClient, EntityHandle, DestinationsApi so TypeDoc generates their class pages (otherwise ThemeParks.raw / ThemeParks.destinations / ThemeParks.entity references dead-link). - README.md: cookbook link now points at the real generated URL. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 142e29e commit 33700fa

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ v7 is a full TypeScript rewrite. It replaces the v6 OpenAPI-Generator surface wi
271271

272272
- **SDK documentation:** https://themeparks.github.io/ThemeParks_JavaScript/
273273
- **API reference:** https://themeparks.github.io/ThemeParks_JavaScript/modules.html
274-
- **Cookbook:** https://themeparks.github.io/ThemeParks_JavaScript/cookbook/
274+
- **Cookbook:** https://themeparks.github.io/ThemeParks_JavaScript/documents/cookbook.html
275275
- **Underlying API:** https://api.themeparks.wiki
276276
- **Issues:** https://github.com/ThemeParks/ThemeParks_JavaScript/issues
277277
- **Changelog:** [CHANGELOG.md](./CHANGELOG.md)

src/index.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@ export { ThemeParks, type ThemeParksOptions } from './client';
22
export { ApiError, NetworkError, RateLimitError, ThemeParksError, TimeoutError } from './errors';
33
export { InMemoryLruCache, type Cache } from './cache';
44
export type { FetchLike, FetchLikeResponse, RetryConfig, TransportOptions } from './transport';
5-
export type { Destinations, Entity, EntityChildren, EntityLive, EntitySchedule } from './raw';
5+
export {
6+
RawClient,
7+
type Destinations,
8+
type Entity,
9+
type EntityChildren,
10+
type EntityLive,
11+
type EntitySchedule,
12+
} from './raw';
13+
export { EntityHandle } from './ergonomic/entity';
14+
export { DestinationsApi } from './ergonomic/destinations';
615
export {
716
currentWaitTime,
817
narrowQueues,

typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"exclude": ["**/node_modules/**", "src/_generated/**", "test/**", "scripts/**"],
66
"name": "themeparks",
77
"readme": "README.md",
8+
"projectDocuments": ["docs/cookbook.md"],
89
"includeVersion": true,
910
"excludeInternal": true,
1011
"categorizeByGroup": true,

0 commit comments

Comments
 (0)