Overview
WhatDoc provides powerful customization options to match your documentation to your brand. You can edit content, add logos, configure navigation, and switch between design templates—all from the editor.Accessing the Editor
There are two ways to customize your documentation:- From Dashboard: Click the Edit button on any project card
- Direct URL: Navigate to
/editor/:projectId
Editor Interface
The editor is a split-pane interface:- Left Pane: Markdown editor with settings drawer
- Right Pane: Live preview of your documentation
- Top Bar: Save & Deploy button, toggle controls
Keyboard Shortcuts
Ctrl+S(Windows/Linux) orCmd+S(Mac): Save & Deploy
Customization Options
All customization is stored in thecustomization field of your project model:
Logo URL
Upload Your Logo
Host your logo image on a CDN or image hosting service (e.g., Imgur, Cloudinary, GitHub).
Add to Editor
In the settings drawer, paste the URL into the Logo URL field.Supported formats: SVG, PNG, JPG, WebP
The logo is displayed in the documentation header/sidebar depending on the selected template.
Owner Name
Set the name or organization that appears in your documentation:- Field:
ownerName - Usage: Displayed in footers, headers, or “About” sections
- Example:
"Acme Inc.","Open Source Team"
Version Management
Display current and upcoming versions:- Current Version: The active release (e.g.,
"1.0.0") - Upcoming Version: The next planned release (e.g.,
"2.0.0")
Navigation Links
Add custom navigation links to your documentation:Template Selection
Switch between 16 design templates from the Template dropdown in the settings drawer:Free Templates
- Modern: Clean, modern design with sidebar navigation
- Minimal: Minimalist approach with focus on content
- Twilio: Inspired by Twilio’s documentation (default)
- Django: Python/Django-style documentation
- MDN: Mozilla Developer Network aesthetic
- AeroLatex: Academic/LaTeX-inspired design
Premium Templates
Premium templates require:
- Pro subscription, OR
- Promo code
WHATDOCFAM(unlockshasPremiumTemplates: true)
- Fintech: Financial services styling
- DevTools: Developer tools theme
- Minimalist: Ultra-minimal single-column
- OpenSource: Community-driven open source look
- Wiki: Wikipedia-inspired knowledge base
- ComponentLib: Component library showcase
- ConsumerTech: Consumer app documentation
- DeepSpace: Dark, space-themed design
- Web3: Blockchain/Web3 aesthetic
- Enterprise: Corporate enterprise style
Editing Markdown Content
The generated documentation is stored as markdown inproject.generatedDocs. You can edit it freely:
- Direct Editing: Modify content in the left-pane textarea
- Live Preview: Changes render instantly in the right pane
- Character Count: Bottom-left displays total characters
- Auto-Save: Changes are saved only when you click Save & Deploy
Markdown Support
WhatDoc supports standard markdown with common extensions:- Headers (
#,##,###, etc.) - Lists (ordered, unordered, nested)
- Code blocks with syntax highlighting
- Tables
- Links and images
- Blockquotes
- Horizontal rules
Settings Drawer
The settings drawer is collapsible for more editing space:- Toggle: Click the Settings icon in the top bar
- Fields:
- Subdomain: Set your custom subdomain (e.g.,
my-org.whatdoc.xyz) - Logo URL: Link to your logo image
- Template: Select design template
- Owner Name: Your organization/project name
- Version: Current release version
- Upcoming: Next planned version
- Subdomain: Set your custom subdomain (e.g.,
Subdomain Configuration
Set a custom subdomain directly from the editor:- Lowercase letters, numbers, and hyphens only
- Must be unique across all WhatDoc projects
- Automatically sanitized on input
Save & Deploy
When you click Save & Deploy, WhatDoc updates your project with:Unsaved changes are not persisted. Always click Save & Deploy before closing the editor.
Project Settings Page
For advanced configuration, visit/settings/:projectId:
- General: Edit project slug, view repository info
- Domains: Configure subdomain and custom domains
- Version History: View past generation runs (coming soon: rollback)
Preview Controls
- Toggle Preview: Hide/show the live preview pane for fullscreen editing
- Toggle Settings: Collapse/expand the settings drawer for more vertical space
Templates Configuration via Model
TheProject model defines the template field:
isPremium flag determines access to premium templates:
Customization Best Practices
Do:
- Use high-resolution logos (SVG preferred)
- Test navigation links before saving
- Keep version numbers semantic (e.g.,
1.2.3) - Save frequently to avoid losing changes
- Preview on different screen sizes
What’s Next?
Deploying Docs
Deploy to a custom subdomain or domain
BYOK
Use your own API key for unlimited generation
