Skip to content

Why Build a Documentation Site

Before diving into tools and code, let’s address the fundamental question: why invest time and effort into building a dedicated documentation site? This section explores the business and technical motivations behind self-hosted documentation.

Q: Why not just use a wiki or shared document (Notion, Confluence, Google Docs)?

Section titled “Q: Why not just use a wiki or shared document (Notion, Confluence, Google Docs)?”

A: Wikis and shared documents are excellent for internal collaboration, but they fall short for external-facing documentation:

ConcernWiki / Shared DocDedicated Doc Site
SEO & DiscoverabilitySearch engines rarely index internal docsFully indexable, drives organic traffic
Version ControlManual history trackingGit-native, every change is versioned
Custom BrandingLimited or noneFull control over look and feel
Offline AccessRequires connectivityCan be exported or cached (PWA)
SearchBasic keyword searchFull-text search with Pagefind, Algolia, etc.
PerformanceCan be slow for large docsStatic HTML, loads in milliseconds
MultilingualManual duplicationStructured i18n with locale routing

For internal-only notes, a wiki is fine. But if your documentation is part of your product’s value proposition — whether it’s a tutorial, API reference, or knowledge base — a dedicated site is worth the investment.

Q: How does a documentation site help a small IoT company?

Section titled “Q: How does a documentation site help a small IoT company?”

A: For IoT companies selling hardware + software solutions, documentation serves multiple strategic roles:

  1. Pre-sales: Prospects evaluate your docs quality as a proxy for product quality. Well-structured tutorials signal professionalism.
  2. Onboarding: Reduces support tickets by answering common setup questions before customers need to ask.
  3. Retention: Users who can self-serve are more likely to stick with your ecosystem.
  4. Knowledge Base: Internal team members reference the same docs, creating a single source of truth.
  5. SEO Funnel: Technical blog posts and tutorials attract developers who may become customers.

Q: What are the ongoing costs of maintaining a documentation site?

Section titled “Q: What are the ongoing costs of maintaining a documentation site?”

A: With a static site approach (like Astro + Starlight), the costs are minimal:

  • Hosting: Free on platforms like Vercel, GitHub Pages, Netlify, or Cloudflare Pages
  • Domain: ~$10-15/year for a custom domain (e.g., docs.yourcompany.com)
  • Maintenance: Content updates are part of your regular development workflow
  • Build time: Static sites build in seconds, even with hundreds of pages

The primary cost is the time investment to write and maintain content — but this is time you’d spend answering support questions anyway.

Q: When is the right time to build a documentation site?

Section titled “Q: When is the right time to build a documentation site?”

A: The ideal time is when you have:

  • At least one product or project that others need to use
  • Enough content for 5+ pages (even if some are placeholders)
  • A Git-based development workflow
  • A willingness to treat documentation as a first-class deliverable

You don’t need to wait until everything is “finished.” Start small, publish early, and iterate. The framework we’ll use (Astro + Starlight) makes it trivial to add new pages.

In the next section, we’ll evaluate the major documentation frameworks and explain why we chose Astro + Starlight for this project.


Building a commercial IoT product?

We provide ESP32 ODM design-to-manufacturing services. From prototype to production — the team behind this tutorial can build it with you.

Talk to us →