Skip to content

uug-ai/learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

A modern, fast, and feature-rich documentation website built with Hugo and the Hextra theme.

Features

  • 📝 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

Prerequisites

  • Hugo (Extended version >= 0.112.0)
  • Git

Getting Started

Installation

  1. Clone the repository:
git clone https://github.com/uug-ai/documentation.git
cd documentation
  1. Install the Hextra theme:
cd app
hugo mod get -u github.com/imfing/hextra

Or if using Git submodules:

git submodule add https://github.com/imfing/hextra.git app/themes/hextra
git submodule update --init --recursive

Local Development

  1. Navigate to the app directory:
cd app
  1. Start the Hugo development server:
hugo server -D
  1. Open your browser and visit http://localhost:1313

The site will automatically reload when you make changes to the content.

Project Structure

.
├── 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

Creating Content

Adding a New Page

Create a new Markdown file in the app/content/ directory:

cd app
hugo new docs/your-page.md

Edit the file with your content:

---
title: "Your Page Title"
date: 2025-11-07
draft: false
---

Your content here...

Organizing Content

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/

Configuration

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'

Building for Production

To build the static site for production:

cd app
hugo --minify

The generated site will be in the app/public/ directory.

Deployment

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

Docker Deployment

Build and run with Docker:

docker build -t docs-site .
docker run -p 8080:80 docs-site

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Resources

License

[Add your license here]

Support

For issues and questions, please open an issue on GitHub.

About

Learning platform

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •