What is Knowledge Base?
The Knowledge Base is a self-service help center where customers can find answers to common questions without contacting support. It includes:- Searchable articles - Full-text search functionality
- Category organization - Group articles by topic
- Rich content blocks - Text, images, code, videos, alerts
- SEO optimized - Each article has its own URL and meta tags
- Mobile responsive - Perfect on all devices
- Reduce support tickets by 60-80%
- 24/7 help for customers
- Improve SEO with quality content
- Build customer trust and confidence
Creating Article
Copy the Template
Navigate to Naming convention:
config/knowledgebase/articles/ and copy the template:- Use lowercase
- Use hyphens, not spaces
- Be descriptive
- Examples:
setup-minecraft-server.ts,how-to-upload-world.ts
Content Blocks Reference
Paragraph
Regular text with optional bold formatting:**bold**→ bold- Plain text (no italic support yet)
Headings
Create section headers:- Use H1 only once (main title)
- Use H2 for major sections
- Maintain hierarchy (don’t skip levels)
Code Blocks
Syntax-highlighted code with copy button:bash- Terminal commandsjavascript/js- JavaScripttypescript/ts- TypeScriptpython- Pythonjava- Javajson- JSONyaml- YAMLproperties- Config filescss- CSShtml- HTMLsql- SQL
Images
Add images with captions:- File location: Save in
public/images/kb/ - Naming: Use descriptive names:
minecraft-setup-step1.png - Format: PNG or JPG
- Size:
- Maximum width: 1200px
- Compress with TinyPNG
- Target: Under 200KB per image
- Alt text: Describe the image for accessibility
YouTube Videos
Embed YouTube videos:- From URL:
https://www.youtube.com/watch?v=dQw4w9WgXcQ - Video ID is:
dQw4w9WgXcQ
Alert Box
Highlight important information:Categories
Organize articles by category:| Category ID | Display Name | Icon | Use For |
|---|---|---|---|
getting-started | Getting Started | Rocket | Onboarding, first steps |
game-servers | Game Servers | Gamepad | Game-specific tutorials |
billing | Billing & Account | Credit Card | Payments, account management |
technical | Technical | Code | Advanced configurations |
security | Security | Shield | Security, DDoS, backups |
troubleshooting | Troubleshooting | Wrench | Fixing issues |
config/knowledgebase/index.ts:
