Skip to content

Commit 749b47c

Browse files
louis-preclaude
andcommitted
Add note on mitigating cross-section URL sprawl via codegen config
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 15c5040 commit 749b47c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plan/step_1/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ Pages that will need link updates:
6565
- Brand Guides link back to Capability Guides (e.g., "see the Access Codes guide")
6666
- API Reference links to Guides for conceptual context
6767

68+
**Mitigating URL sprawl:** GitBook has no variable/macro support for URLs. However, ~638 of the existing `docs.seam.co` references are in auto-generated API pages — the codegen's `postprocess.ts` already rewrites URLs and can read the base URL from a config value (e.g., in `paths.yaml` or an env var). Hand-written guide pages rarely link to other sections, so the volume of hardcoded absolute URLs in manually maintained files is small.
69+
6870
### 3. Codegen pipeline needs updating
6971

7072
The current codegen (`npm run generate``codegen/smith.ts`) assumes a single `docs/` root:

0 commit comments

Comments
 (0)