Skip to content

fix: correct pre-live activity-days link to unblock Cloudflare build#144

Closed
basit3407 wants to merge 1 commit intomainfrom
fix/pre-live-activity-days-link
Closed

fix: correct pre-live activity-days link to unblock Cloudflare build#144
basit3407 wants to merge 1 commit intomainfrom
fix/pre-live-activity-days-link

Conversation

@basit3407
Copy link
Copy Markdown
Collaborator

Summary

  • The Cloudflare Pages build has been failing on the last 3 commits on `main` (232df1e, b2d55e6, 53d9ea6).
  • Root cause: commit 232df1e updated a markdown link inside the `/activity-days/sessions` endpoint description in `openAPI/user-related-apis/pre-live/v1.json` to `/docs/user_related_apis_versioned/add-update-activity-day`, which is missing the `1.0.0` version segment.
  • The `user_related_apis_versioned` plugin mounts routes under `/docs/user_related_apis_versioned/1.0.0/…` (see docusaurus.config.js), so the link resolves to a non-existent page.
  • With `onBrokenLinks: "throw"` in docusaurus.config.js, Docusaurus aborts the build.
  • This PR adds the missing `/1.0.0` segment so the link points to the real generated API page.

Test plan

  • Cloudflare Pages preview build succeeds for this PR
  • Rendered pre-live doc for the `/activity-days/sessions` endpoint has a working "Activity Days" link
The link introduced in 232df1e pointed to /docs/user_related_apis_versioned/add-update-activity-day,
which is missing the 1.0.0 version segment. With onBrokenLinks: "throw" in docusaurus.config.js,
this broke the Cloudflare Pages build on the last 3 commits (232df1e, b2d55e6, 53d9ea6).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying qf-api-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3bddf6e
Status:🚫  Build failed.

View logs

@basit3407
Copy link
Copy Markdown
Collaborator Author

Closing — the broken link was real but wasn't the root cause of the Cloudflare build failure. Will reopen once we have the actual CF build log.

@basit3407 basit3407 closed this Apr 23, 2026
@basit3407 basit3407 deleted the fix/pre-live-activity-days-link branch April 23, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant