Wiki
What is Wiki?
Wiki provides a space for collaborative documentation within your repository. It's perfect for project documentation, guides, and knowledge bases.
Creating a Wiki
Enable Wiki
- Go to Repository Settings
- Under "Advanced Settings", ensure "Enable Wiki" is checked
- Choose wiki visibility:
- Public: Anyone can view
- Private: Only collaborators can view
Create First Page
- Navigate to Wiki tab
- Click "Create first page"
- Add:
- Page title: Name of the page
- Content: Write in Markdown
- Click "Create"
Wiki Features
Markdown Support
Write using Markdown syntax:
# Header 1
## Header 2
**Bold text**
*Italic text*
- List item 1
- List item 2
[Link text](https://example.com)

Multiple Pages
Create multiple pages for different topics:
Home - Main wiki page
Getting Started - Setup guide
API Documentation - API reference
Deployment - Deploy instructions
Page Organization
- Sidebar: Auto-generated from page titles
- Internal links: Link between wiki pages
- Revisions: Track changes and view history
Managing Wiki
Edit Pages
- Click "Edit" button on any page
- Make your changes
- Add edit message (optional)
- Click "Save"
Delete Pages
- Click "Delete" button
- Confirm deletion
⚠️ Warning: Deleted pages cannot be recovered!
Page History
View all revisions:
- Click "Page History"
- See list of all changes
- Compare versions
- Revert to previous version if needed
Best Practices
- ✅ Start with a comprehensive Home page
- ✅ Use clear, descriptive page titles
- ✅ Organize content logically
- ✅ Include code examples where relevant
- ✅ Keep documentation up-to-date
- ✅ Use internal links to connect related pages
- ✅ Add images and diagrams for clarity
Common Use Cases
Project Documentation
- Architecture overview
- Setup instructions
- Configuration guide
- API reference
Team Knowledge Base
- Coding standards
- Deployment procedures
- Troubleshooting guides
- Onboarding materials
User Guides
- Feature documentation
- Tutorials
- FAQ
- Examples
Wiki vs README
| Feature |
README |
Wiki |
| Location |
Repository root |
Separate wiki section |
| Purpose |
Project overview |
Detailed documentation |
| Structure |
Single file |
Multiple pages |
| Collaboration |
Via pull requests |
Direct editing |
| Best for |
Quick overview |
Comprehensive docs |
Next Steps