OINK Documentation
OINK is a Hugo theme for technical documentation: product manuals, project
sites, books and API references, in one language or many. You write plain
Markdown, run hugo, and get a static site with a navigation tree, local
full-text search, light and dark modes, and a print view. The theme ships every
script, font and stylesheet it uses, so the build needs no Node.js, npm or CDN.
New to OINK? Get started has this site running locally in two minutes and shows how to build your own with an AI agent. Already running OINK? Read the 1.8.0 release notes, then follow the upgrade guide.
Where to start
- Get started — Clone the docs locally, try the AI agent prompt, or add OINK to a project.
- Components — Callouts, tabs, diagrams, cards and more, each with its source beside the result.
- OINK Hands-On — Build a site from one prompt, then learn every layer of it in ten hands-on chapters.
- Case studies — How production sites solved navigation, migration and landing-page design.
Find it by task
| I want to… | Read |
|---|---|
| Decide whether OINK fits my project | What is OINK |
| Write a documentation page | Writing pages |
| Turn a folder tree into the sidebar | Organizing content |
| Look up a component’s syntax | Components |
| Publish a blog, a book or an image album | Blog posts · Books · Expo albums |
| Change the name, logo, colors and fonts | Brand and appearance |
| Look up a configuration key and its default | Configuration |
| Publish in two or more languages | Languages |
| Deploy to GitHub Pages, Cloudflare or my own server | Deploy |
| Upgrade OINK or migrate from Docsy | Upgrade |
| Fix a build error or a missing feature | Troubleshooting |
Design and CLI, at the bottom of the sidebar, document how OINK itself is built and maintained. You do not need them to build a site.
Decide whether OINK fits your project, what you get with it, how it differs from Docsy and MDX-based tools, and where it falls short.
Clone the OINK docs site to run a full site locally in two minutes, then build your own personal or project site with an AI agent, from scratch, or inside a project’s docs/ folder.
Write documentation pages, blog posts, books, image albums, release pages and API references, and arrange them into a sidebar.
Pick the component that fits what you are writing and look up its shortest syntax, its form and whether it loads a script.
Configure the site brand, navigation, layout, search, languages, versions, print output, and agent output.
Take a finished site from your machine to a live address and keep it running there.
OINK’s contracts, accepted decisions, dated research, and active proposals in one bilingual section.
Learn what the optional OINK command-line tool does and how to build its unreleased local candidate.