Skip to content

docs: redirect hash api-reference to API Reference - #60

Merged
JJasonSun merged 3 commits into
CALLE-AI:mainfrom
Arshgill01:docs/hash-api-reference-redirect
Sep 15, 2026
Merged

JJasonSun merged 3 commits into
CALLE-AI:mainfrom
Arshgill01:docs/hash-api-reference-redirect

Conversation

@Arshgill01

@Arshgill01 Arshgill01 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Legacy homepage links such as /#api-reference route to the API Reference instead of Quickstart. The redirect accepts routes with or without a leading slash, preserves guide section anchors, and keeps legacy API tag, description, and models links working. An empty hash opens Quickstart; unknown non-empty hashes remain unchanged.

The browser regression checks cover these routes, including an exact URL assertion for unknown hashes.

Validation:

  • Reproduced the existing public-site failure: https://docs.heycall-e.com/#api-reference landed at /quickstart on September 15, 2026.
  • pnpm run validate passed locally using pnpm 8.10.2, Node 26.7.0, and Python 3.11.16: typecheck, build, distribution verification, 13 deployment tests, and 22 Chromium tests.
  • Searched redirect callers; the single homepage head script owns this behavior.

No SDK/API behavior or package version changes. Production verification remains pending merge and deployment.

Arshgill01 and others added 3 commits September 14, 2026 22:12
#api-reference (no slash) missed the legacy hash rules and fell
through to Quickstart. Treat it like /api-reference.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JJasonSun
JJasonSun merged commit 9dba74a into CALLE-AI:main Sep 15, 2026
1 check passed
@JJasonSun

Copy link
Copy Markdown
Collaborator

Merged as 9dba74a and deployed successfully: https://github.com/CALLE-AI/calle-docs/actions/runs/34954256815.

Live Chromium navigation checks passed for /#api-reference, /#/api-reference, /#tag/Calls, /#models, /#calls?section=idempotency, the empty homepage hash, and an unknown hash. API links reach API Reference, guide anchors are preserved, the homepage opens Quickstart, and unknown hashes stay unchanged.

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.

2 participants