sitemap 3.7.3 reads opts.routes from astro:build:done, which only exists in
Astro 5; on Astro 4.16 it is undefined and crashes the build with
'Cannot read properties of undefined (reading reduce)'. Pin to the 3.2.x line
and lock it so the docs-site build completes.
- Update meta description to include VIN Decoder
- Change hero text from 'all three APIs' to 'all four APIs'
- Add VIN Decoder column to the pricing table with same 4-tier rates
- Add link to /vin-decoder docs page in the CTA row
npm run build exits 0; /pricing route builds successfully.
Closesleeworks-agents/api-company#141
- Add docs-site/src/pages/vin-decoder.astro: Redoc reference page
rendering /specs/vin-decoder.yaml (matches pattern of existing API pages)
- Copy apis/vin-decoder/openapi.yaml to docs-site/public/specs/vin-decoder.yaml
so Redoc can serve the spec
- Add VIN Decoder card to index.astro hero grid (4th API)
- Add docs-site/src/pages/blog/vin-decoder.mdx: 1,500+ word SEO blog post
'How to Decode a VIN Number with Node.js Using Free NHTSA Data'
with meta description, working code examples, VIN structure explanation,
NHTSA vPIC background, and use-case context
- npm run build exits 0; /vin-decoder and /blog/vin-decoder routes present
Closesleeworks-agents/api-company#123Closesleeworks-agents/api-company#124
Closesleeworks-agents/api-company#101
- Create docs-site/src/pages/pricing.astro with accessible table markup
showing all 4 tiers (Free/Basic/Pro/Ultra) for all 3 APIs
- Add <caption> and scope attributes for accessibility
- Responsive overflow-x wrapper for mobile
- CTA buttons linking to RapidAPI (placeholder # until listings live)
- Revenue disclaimer: subscriptions managed via RapidAPI marketplace
- Add /pricing link to nav in Base.astro layout
- npm run build passes with no errors
Add three Astro markdown pages under docs-site/src/pages/legal/:
- terms-of-service.md -> /legal/terms-of-service
- privacy-policy.md -> /legal/privacy-policy
- acceptable-use-policy.md -> /legal/acceptable-use-policy
All three use the Base.astro layout and render the legal content from
docs/legal/ (synced verbatim). The Base.astro layout already had legal
footer links added previously; this commit also adds a footer section
directly in index.astro for redundancy.
The ToS URL (https://docs.leeworks.dev/legal/terms-of-service) is now
ready to be pasted into the RapidAPI listing (issue #44).
Closesleeworks-agents/api-company#89