Skip to content

feat(docs): cut over docs.clawql.com to Astro Worker Assets - #1450

Open
danielsmithdevelopment wants to merge 5 commits into
mainfrom
cursor/docs-astro-cf-pages-cutover-b870
Open

danielsmithdevelopment wants to merge 5 commits into
mainfrom
cursor/docs-astro-cf-pages-cutover-b870

Conversation

@danielsmithdevelopment

@danielsmithdevelopment danielsmithdevelopment commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Astro docs cutover to Cloudflare Workers Assets on docs.clawql.com, with Protocol-style chrome, curated nav, and client FlexSearch.

Latest: search result clicks

Hover was calling render() and replacing the result list DOM, so click handlers never fired. Results are now real <a href> links with event delegation and trailing-slash URL normalization.

Test plan

  • Build + wrangler deploy to clawql-docs-astro
  • Click first “quickstart” result → lands on /quickstart/
  • Enter on “memory” result → lands on /learn/memory/#…

Search click lands on Quickstart

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 3 commits October 30, 2026 12:38
Replace OpenNext Worker clawql-docs with static Astro on clawql-docs-astro
(Workers custom domain + route). Update deploy script and CI; keep Pages
project for *.pages.dev previews when Zone DNS Edit is unavailable.

Co-authored-by: Daniel Smith <danielsmithdevelopment@gmail.com>
Replace auto-H1 sidebar labels (duplicate Getting started, bare Case study,
section index titled Security) with curated docs-nav-data parity. Add Protocol-
style hamburger drawer and collapsible nav groups; redeployed to production.

Co-authored-by: Daniel Smith <danielsmithdevelopment@gmail.com>
Replace nested title regex with a linear scan (js/redos), and tighten
article typography / hero wash / nav tags toward the Protocol docs look.

Co-authored-by: Daniel Smith <danielsmithdevelopment@gmail.com>
@cursor
cursor Bot force-pushed the cursor/docs-astro-cf-pages-cutover-b870 branch from 3af4cf8 to 4814364 Compare October 30, 2026 12:39
cursoragent and others added 2 commits October 30, 2026 16:39
Port the former Next docs search UX: generate chunked search index at
prebuild and ship a header search bar / mobile icon with dialog results.

Co-authored-by: Daniel Smith <danielsmithdevelopment@gmail.com>
Hover was re-rendering the result list and wiping click handlers.
Use real anchor hrefs, event delegation, and trailing-slash URLs.

Co-authored-by: Daniel Smith <danielsmithdevelopment@gmail.com>

This branch has not been deployed

No deployments
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.

3 participants