Skip to content

Conversation

@pedrosousa
Copy link
Contributor

@pedrosousa pedrosousa commented Dec 17, 2024

Summary

Update API link crawler/checker after migrating to the new API site:

  • URLs have a different structure.
  • Operations that are not found no longer redirect to the homepage of the API reference.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 17, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4d434fe
Status: ✅  Deploy successful!
Preview URL: https://eec8ce8b.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://pedro-2024-12-17-docs-update-dhen.cloudflare-docs-7ou.pages.dev

View logs

"check:astro": "npm run sync && astro check",
"check:functions": "npx tsc --noEmit -p ./functions/tsconfig.json",
"check:worker": "npx tsc --noEmit -p ./worker/tsconfig.json",
"crawl-api-links": "node bin/crawl-api-links.js",
Copy link
Contributor Author

@pedrosousa pedrosousa Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used in our scheduled action that checks API links. Currently returning an error because this entry in scripts is missing.

@pedrosousa pedrosousa marked this pull request as ready for review January 16, 2025 12:45
@pedrosousa pedrosousa merged commit b2ec31c into production Jan 16, 2025
10 checks passed
@pedrosousa pedrosousa deleted the pedro/2024-12-17-docs-update-api-link-crawler branch January 16, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants