Quick Start Guide
Get from zero to deployed documentation in 5 minutes. This guide walks you through creating your WhatDoc account, connecting GitHub, and generating your first docs.Prerequisites: A GitHub account and a repository you want to document (public or private).
Step 1: Create Your Account
Head to whatdoc.xyz and sign up.Visit the landing page
Navigate to whatdoc.xyz and click Sign Up.
Choose your sign-up method
Sign up with:
- Email & Password - Traditional sign-up flow
- Google OAuth - One-click sign-up with your Google account
Step 2: Connect Your GitHub Account
Connect GitHub to access your repositories.Authorize GitHub OAuth
Click Connect GitHub and choose your permissions:
- Public repos only
- Public + Private repos
Uncheck “Include private repositories” — WhatDoc will only see your public repos.
Step 3: Import a Repository
Select the repository you want to document.Browse your repositories
You’ll see a list of all your repos with:
- Language indicator (colored dot)
- Visibility badge (lock icon for private repos)
- Last updated timestamp
- Search & filter options
Search or filter
Use the search bar to find a specific repo, or filter by:
- All repos
- Public only
- Private only
Step 4: Configure Your Documentation
Customize your documentation settings before generation.Set your URL slug
Choose a URL slug for your docs:
Slugs must be lowercase with only letters, numbers, and hyphens.
Choose your tech stack
Select your project type (optional, helps the AI understand your code):
- MERN - MongoDB, Express, React, Node.js
- Next.js - Next.js full-stack apps
- Other - Everything else (auto-detected)
Pick a template
Choose from 14+ professional templates:
- Twilio
- Django
- MDN
- AeroLaTeX
- More...
API-first dark layout — best for REST APIs
Step 5: Watch the Generation Process
Your docs are generated in real-time via Server-Sent Events (SSE).Analyzing codebase
The engine walks your directory tree, filtering out:Status:
- Lockfiles (
package-lock.json,yarn.lock, etc.) - Build artifacts (
dist/,build/,.next/) - Test files (
*.test.js,*.spec.ts) - Existing docs (
README.md,CHANGELOG.md) - Source maps (
*.map) - Minified files (
*.min.js)
analyzingGeneration time: Typically 15-45 seconds depending on repo size and chosen AI model.
Step 6: View & Edit Your Docs
Your documentation is now live!Edit the content
From your dashboard, click Edit Docs to open the live editor:
- Markdown editor - Edit raw markdown
- Live preview - See changes in real-time
- Auto-save - Changes are saved automatically
Advanced Features
Custom Subdomains
Every project automatically gets a custom subdomain:Custom Domains (Pro)
Map your own domain to your documentation:Command Palette
PressCtrl + Space (or Cmd + K on Mac) to open the command palette for quick navigation:
Usage Limits
- Free Tier
- BYOK (Free with your key)
- Pro ($4.99/month)
- 2 projects included (5 with promotional access)
- Free AI models only (Gemini 2.5 Flash Lite)
- 200k token limit per generation
- Standard templates
- Custom subdomains
Troubleshooting
Generation failed - why?
Generation failed - why?
Common causes:
- Repository too large: Free tier caps at ~200k tokens. Use BYOK or split into multiple projects.
- Private repo without access: Ensure you authorized private repo access during GitHub OAuth.
- Invalid API key: If using BYOK, verify your key is valid and has credits.
- Rate limit: Free tier has daily limits. Wait 24 hours or use BYOK.
Can I regenerate documentation?
Can I regenerate documentation?
Yes! Delete your project from the dashboard and re-import it. Future updates will add “Regenerate” directly.
How do I cancel generation?
How do I cancel generation?
Click the Cancel button during generation. The pipeline will abort and clean up temporary files.
My docs don't match my code
My docs don't match my code
WhatDoc filters out test files, existing docs, and minified bundles. If critical files are missing, check that they:
- Have supported extensions (
.js,.ts,.py, etc.) - Aren’t in blocked directories (
node_modules/,dist/,__tests__/) - Aren’t in your
.gitignore
What’s Next?
Customize Your Docs
Learn how to customize templates, add logos, and configure branding.
API Reference
Integrate WhatDoc into your CI/CD pipeline with our REST API.
Templates Guide
Deep dive into all 14+ templates and when to use each.
GitHub
Star the project, report issues, or contribute.
