You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add codegen/lib/config.ts with all path-related constants:
- apiRootPath: Metalsmith file key prefix ('api-reference')
- apiUrlPrefix: published URL prefix ('/api')
- baseUrl: docs site base URL
- siteUrlPrefix: URL prefix to strip ('/latest')
- apiReferenceDir, apiSummaryPath: derived disk paths
All codegen files now import from config instead of defining
their own constants. Changing the output directory or URL prefix
only requires editing config.ts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments