Skip to content

fix: point CLI docs links at affitor.com/docs - #32

Merged
sonpiaz merged 1 commit into
mainfrom
fix/docs-links-affitor-com
Oct 12, 2026
Merged

sonpiaz merged 1 commit into
mainfrom
fix/docs-links-affitor-com

Conversation

@sonpiaz

@sonpiaz sonpiaz commented Oct 12, 2026

Copy link
Copy Markdown
Member

docs.affitor.com now 301s every page to affitor.com/docs. This updates the two links the CLI prints or writes:

Where Before After Live check
src/commands/init.ts (init summary "Docs:") docs.affitor.com/advertisers/tracking affitor.com/docs/brand/tracking/tracking-overview 200
src/lib/config.ts (generated AGENTS.md header) docs.affitor.com affitor.com/docs 200

The old init link was already broken. docs.affitor.com/advertisers/tracking 301s to affitor.com/docs/brand/tracking, which is a 404 because there is no tracking index page. So the replacement points at the tracking overview page.

tests/api-client.test.ts fixtures now use the docs_url the CMS sends after Affitor/affiliate-cms#326. The CLI passes docs_url through and never builds it.

No version bump: recent fix: PRs (#27–#30) did not bump either, and CI does not require one. Bump at the next publish.

Verification

  • npm run build --workspaces: pass
  • npm run lint --workspaces: pass
  • npm run test --workspaces: cli 113/113, mcp 19/19, recipes 9/9

🤖 Generated with Claude Code

docs.affitor.com now 301s its pages to affitor.com/docs. The init summary
linked docs.affitor.com/advertisers/tracking, which now lands on
affitor.com/docs/brand/tracking, a 404; link the tracking overview page
instead. The generated AGENTS.md header links https://affitor.com/docs.
Test fixtures mirror the CMS docs_url for api_key_rotation_required
(affiliate-cms #326).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@sonpiaz
sonpiaz merged commit 0ca15d8 into main Oct 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant