Skip to main content

Deploy Testing Checklist

Run through this checklist before and after every deployment to catch issues early.


Pre-Deployment

  • npm run build completes without errors
  • No unexpected broken link warnings in build output
  • New pages have correct frontmatter (sidebar_position, id, title)
  • New categories have _category_.json files
  • New clients are registered in src/pages/index.tsx and src/theme/SearchBar/index.tsx
  • Internal links use relative paths (not absolute route prefixes)
  • No hardcoded URLs to other clients' pages

Post-Deployment

  • Homepage loads and shows all client cards
  • Client landing pages load (/{client-slug}/)
  • Site intro pages load (/{client-slug}/{site-slug}/intro)
  • Sidebar navigation works and shows correct categories
  • Search returns results
  • Client/site dropdown filters work in search modal
  • New content appears in search results after scraping
  • Meta tags present in page source (docsearch:client_tag, docsearch:site_tag)

Common Issues

SymptomCauseFix
Client not appearing on homepageMissing entry in clientList in index.tsxAdd entry or run create-new-client-site.ps1
Client not in search filtersMissing entry in clientRegistry in SearchBar/index.tsxAdd entry or run create-new-client-site.ps1
Sidebar shows wrong orderMissing or incorrect sidebar_positionCheck frontmatter in affected files
Category not appearingMissing _category_.jsonCreate the file in the category directory
Search returns no resultsScraper not run after buildRun ./typesense/scrape.sh
Meta tags missing from HTMLPlugin not injectingCheck docsearch-meta-plugin in docusaurus.config.ts
Build fails with broken linksAbsolute link to old route prefixConvert to relative path