About Oink
Understand Oink’s examples, design principles, architecture, and open-source model.
v0.2.0
Welcome to the OINK user guide for version v0.2.0. This guide
covers the theme’s Hugo-only build, local-first runtime, multilingual framework,
content components, customization, and deployment.
OINK is an independent theme for the Hugo static site generator, designed for medium and large technical documentation sets. It evolves Docsy directly: Docsy’s mature content model and documentation features remain available, while OINK provides a new canonical shell, local dependencies, and reusable components drawn from production PGSTY sites.
A consuming site can build with Hugo Extended alone. It does not need Node.js, npm, PostCSS, Autoprefixer, or a CDN. Bootstrap, Font Awesome, fonts, local search, diagrams, API documentation runtimes, and content components ship with the theme and are loaded only when a page needs them.
OINK includes:
OINK itself does not provide source hosting or deploy your generated site. Keep your project in GitHub, GitLab, a private Git service, or a local repository, then publish Hugo’s static output with the platform of your choice.
OINK is most useful when a documentation project has many pages, several content types, multiple languages, or strict reproducibility and network isolation requirements. It is also a good fit when several sites should share a single maintained shell instead of copying layouts, scripts, and shortcodes.
For a project with only one or two pages and no structured navigation, a README or a smaller Hugo theme may be simpler. For a heavily application-driven portal, use OINK for the documentation surface and keep business-specific components in the site rather than forcing them into the theme.
Read the Oink overview to understand the product boundaries, then install Oink or create a bilingual site. The remaining guide covers authoring, advanced features, deployment, and upgrades.
Understand Oink’s examples, design principles, architecture, and open-source model.
Build a bilingual Oink documentation site with Hugo Extended.
Author, organize, and style content for an Oink documentation site.
Configure customization, visualizations, languages, search, versions, and integrations.
Build Oink once, publish its static output, and verify the result.
Upgrade Oink, Hugo Extended, or an existing Docsy site safely.