A modern, fast, and feature-rich documentation website built with Hugo and the Hextra theme.
- 📝 Fast & Lightweight: Built with Hugo, one of the fastest static site generators
- 🎨 Modern Design: Clean and responsive UI powered by the Hextra theme
- 🔍 Full-Text Search: Built-in search functionality
- 🌙 Dark Mode: Automatic dark mode support
- 📱 Mobile-Friendly: Fully responsive design
- 🚀 SEO Optimized: Built-in SEO best practices
- 📦 Easy to Deploy: Static files that can be hosted anywhere
- Clone the repository:
git clone https://github.com/uug-ai/documentation.git
cd documentation- Install the Hextra theme:
cd app
hugo mod get -u github.com/imfing/hextraOr if using Git submodules:
git submodule add https://github.com/imfing/hextra.git app/themes/hextra
git submodule update --init --recursive- Navigate to the app directory:
cd app- Start the Hugo development server:
hugo server -D- Open your browser and visit
http://localhost:1313
The site will automatically reload when you make changes to the content.
.
├── app/
│ ├── archetypes/ # Content templates
│ ├── assets/ # CSS, JS, images
│ ├── content/ # Documentation content (Markdown files)
│ ├── data/ # Data files
│ ├── i18n/ # Internationalization files
│ ├── layouts/ # Custom layout templates
│ ├── static/ # Static files (copied as-is)
│ ├── themes/ # Hugo themes
│ └── hugo.toml # Hugo configuration
├── Dockerfile # Docker configuration
└── README.md # This file
Create a new Markdown file in the app/content/ directory:
cd app
hugo new docs/your-page.mdEdit the file with your content:
---
title: "Your Page Title"
date: 2025-11-07
draft: false
---
Your content here...Content is organized in the app/content/ directory. Create subdirectories to structure your documentation:
content/
├── _index.md # Homepage
├── docs/
│ ├── _index.md # Docs section index
│ ├── getting-started/
│ ├── guides/
│ └── reference/
The main configuration file is app/hugo.toml. Customize it to match your project:
baseURL = 'https://docs.example.com/'
languageCode = 'en-us'
title = 'Your Documentation Site'
theme = 'hextra'To build the static site for production:
cd app
hugo --minifyThe generated site will be in the app/public/ directory.
The site can be deployed to various platforms:
- GitHub Pages: Use GitHub Actions workflow
- Netlify: Connect your repository and set build command to
cd app && hugo --minify - Vercel: Similar to Netlify
- Docker: Use the included Dockerfile
Build and run with Docker:
docker build -t docs-site .
docker run -p 8080:80 docs-siteContributions are welcome! Please feel free to submit a Pull Request.
[Add your license here]
For issues and questions, please open an issue on GitHub.