documentation-site-setup logo

documentation-site-setup

documentation site setup

SKILL.md

Full skill instructions

Documentation Site Setup

Table of Contents

Overview

Set up professional documentation websites using popular static site generators like Docusaurus, MkDocs, VitePress, and GitBook.

When to Use

  • Documentation website setup
  • API documentation portals
  • Product documentation sites
  • Technical documentation hubs
  • Static site generation
  • GitHub Pages deployment
  • Multi-version documentation

Quick Start

  • Multi-version documentation
# Create new Docusaurus site
npx create-docusaurus@latest my-docs classic

cd my-docs

# Install dependencies
npm install

# Start development server
npm start

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
InstallationInstallation, Project Structure
ConfigurationConfiguration
Sidebar ConfigurationSidebar Configuration
VersioningVersioning, Deployment
InstallationInstallation, Project Structure
ConfigurationConfiguration
AdmonitionsAdmonitions, Deployment
InstallationInstallation
ConfigurationConfiguration
InstallationInstallation, Project Structure, Configuration, Table of Contents

Best Practices

✅ DO

  • Use consistent navigation structure
  • Enable search functionality
  • Add edit links to pages
  • Include version selector for versioned docs
  • Use syntax highlighting for code blocks
  • Add dark mode support
  • Optimize images and assets
  • Enable analytics
  • Add social media links
  • Use responsive design
  • Include breadcrumbs
  • Add table of contents
  • Test on mobile devices

❌ DON'T

  • Use outdated frameworks
  • Skip search functionality
  • Forget mobile responsiveness
  • Use slow-loading assets
  • Skip accessibility features
  • Ignore SEO optimization