Overview
Gitea includes a built-in wiki system for each repository, allowing you to create and maintain project documentation alongside your code. Wikis are powered by Git, making them versionable and collaborative.Enabling Wiki
Wikis are enabled by default for new repositories. To enable/disable:Creating Wiki Pages
Via Web Interface
Via Git
Wikis are Git repositories that can be cloned and edited:Markdown Support
Gitea wikis support full Markdown syntax:Headings
Lists
Links
Images
Code Blocks
Tables
Wiki Organization
Home Page
TheHome page is the default landing page for your wiki:
- Created automatically when wiki is first enabled
- Serves as the main entry point
- Can be edited like any other page
Sidebar Navigation
Create a_Sidebar page for custom navigation:
Footer
Create a_Footer page for wiki footer:
Page History
Every wiki page has full version history:- View all revisions of a page
- Compare different versions
- Revert to previous versions
- See who made changes and when
Viewing History
- Open any wiki page
- Click History button
- View list of all revisions
- Click any revision to view its content
Reverting Changes
- Go to page history
- Find the revision you want to revert to
- Click Revert button
- Confirm the reversion
Attachments
Add images and files to wiki pages:Upload via Web
- Edit a wiki page
- Click attachment/image button in editor
- Select file to upload
- File is stored in wiki repository
Upload via Git
Access Control
Wiki access permissions are tied to repository permissions:Read Access
Anyone with repository read access can view wiki
Write Access
Users with write access can edit wiki pages
Private Wikis
For private repositories:- Wiki is private by default
- Only authorized users can view/edit
- Access managed through repository permissions
Search
Search across all wiki pages:- Use the search box in wiki header
- Enter search terms
- View matching pages with context
Exporting Wiki
Clone as Git Repository
Export as Files
All wiki pages are Markdown files in the wiki repository:Best Practices
Clear Structure
Organize pages hierarchically with clear navigation
Consistent Naming
Use kebab-case or Title-Case for page names
Link Related Pages
Create cross-references between related topics
Keep Updated
Regularly update documentation as code changes
Page Naming Conventions
Content Organization
Organize documentation by user journey:- Getting Started: Quick start guide
- Installation: Detailed setup instructions
- User Guide: Feature documentation
- API Reference: Technical API docs
- FAQ: Common questions
- Contributing: Development guide
Limitations
Wikis do not support:
- Nested directories (flat structure only)
- Binary file execution
- Dynamic content generation
- External embeds (for security)
See Also
Repositories
Repository management features
Issues
Issue tracking system
Pull Requests
Code review workflow