Skip to content

OINK 1.8.0 · Local-first · Built with Hugo

PGSTY OINK

Technical content, written in Markdown.
Six styles for docs, blogs, books and albums.

Why OINK

Docs. Engineered.

Shared navigation, search and publishing tools for your technical content.

02 / SIX STYLES

Six styles. One site.

◇ Paper · Slate · GitHub · Ink · News · Terminal

  • Paper warm sheet, Slate technical, GitHub README
  • Ink Kai brush, News serif column, Terminal all-mono
  • Six dark modes too; press T for style, Y for light

Same content, six styles. Click any tile to preview.

Beyond docs

Six kinds of content, one shell

Documentation sites rarely stay docs-only; every shape shares one shell, search and output.

Books

chapters · xref · book print

Books

Component reference

27 components, loaded on demand

Each component has its own guide across HTML, print, Markdown and RSS; scripts load only where used.

Writing & structure

9 components · prose, code, tables, steps & reuse

Tabs

fences with {tab=}

Tabs

Tables

captions · numbers · matrix

Tables

Fields

a table plus {.fields}

Fields

Steps

a list plus {.steps}

Steps

Badge

inline status, five tones

Badge

Kbd

key names and chords

Kbd

Includes

files, params, build notes

Includes

Diagrams, charts & math

9 components · diagrams, charts, trees, math & maps

Draw.io

diagrams that stay editable

Draw.io

Markmap

mind maps from headings

Markmap

Math

KaTeX at build time

Math

Maps

map fence · local Leaflet

Maps

Media & showcase

9 components · images, video, audio, quotes & timelines

Images

captions · sizing · zoom

Images

Video

themed player · platform cards

Video

Audio

themed player · single-active

Audio

Social

> [!SOCIAL] quoted post cards

Social

Cards

a list plus {.cards}

Cards

Timeline

definition list + {.timeline}

Timeline

Showcase

Built with OINK

Community projects and PGSTY sites in production — browse all 79 in the Case library.

Community

hugegraph.apache.orgDocs Apache HugeGraph: an Apache Software Foundation full-stack graph database platform. Red Hat AI Services (CAI)Landing Red Hat AI Services BU: the Customer Adoption and Innovation team portal in nine languages, paired with OINK-powered OpenShift AI field manuals. cortrix.ai/docsDocs Cortrix: open-source semantic storage and memory docs for AI agents on OINK Slate, with wide expandable tables, Mermaid diagrams, and filtered OpenAPI reference. stashix.netDocs Stashix: a self-hosted comic and manga library website and manual built on OINK Ink with a custom violet accent and product preview. gpuworks.readthedocs.ioDocs GPUWorks: bilingual GPU compute management documentation built with OINK and deployed as multi-version manuals on Read the Docs. polla.dev/ssg-bookBook SSG Book: Static Site Generators in the Age of AI, a dark-mode open-source book with lecture slides, learning paths, and an interactive playground. cassa.auLanding CASSA: the Computing and Security Student Association at Edith Cowan University, combining centered landing sections, membership, timeline, and blog. agw-ai.devDocs AGW: a self-hosted AI Agent Workspace and Gateway product site with a centered landing hero and 88 bilingual documentation pages. ayusne.github.io/zhangmuchuanBlog Zhang Muchuan: a bespoke Paper, Ink, and Vermilion personal essay and translation blog layering editorial typography and seal branding over OINK. nekonull.meBlog Nekonull's Garden: a bilingual personal engineering blog and digital garden organizing 144 long-form articles, short shares, and TIL notes. sanbei101.github.io/blogBlog Sanbei's Blog: a popular Go engineering and AI workflow blog pairing dated essays with a structured AI guide section. blue126.github.io/IaCDocs Homelab IaC Documentation: a Proxmox cluster Terraform and Ansible operations manual publishing HTML, Markdown, and llms.txt from one repository.

Get started

Build with coding agent

Replace […] with your site’s details, then paste it into Codex, Claude Code, Antigravity or any coding agent.

Build a site with Hugo and the OINK theme, following the OINK site-building skill: https://oink.pgsty.com/skill.md
Use the OINK docs (https://oink.pgsty.com/docs/) and their examples, and make full use of OINK's features.
Site details: [name, directory, content and audience, topic, sections, format, style, domain, hosting…]

To keep the skill installed for every session, see Build with an AI agent.

Before you commit

Questions worth asking first

What’s new in OINK 1.8.0?

OINK 1.8.0 expands the visual system to six styles with dedicated dark modes (restoring Paper’s classic warm palette, adding GitHub and News, rewriting Ink as a brush-written manuscript, and turning Dark Terminal into a restrained phosphor screen), updates the Appearance menu with three-column alignment and interactive landing style tiles, replaces native audio and video strips with one themed three-color progress bar, and quotes social posts as Markdown-native > [!SOCIAL] callouts.

Do I need Node.js, npm or a bundler anywhere?

No. Site builds use Hugo alone (tested on 0.170+) and plain CSS; no Sass compiler, Node.js, npm, or bundler is required. Go resolves the theme as a module; an offline archive or Git submodule works without it. Browser scripts ship with the theme and load only where they are used.

I have a Docsy site. How hard is the move?

Content and front matter mostly carry over; the shell, navigation, search and components are replaced. Renamed keys warn and use the documented safe fallback, and bin/migrations/oink06.py reports what it would rewrite before it writes anything. Read Upgrade and migration.

Is OINK only for large documentation trees?

No. The 79 showcase sites run from a two-page interactive utility and personal blogs to an eight-language, 5,000-page documentation hub, books, and Expo albums. The shell scales down as well as up.

How does it handle Chinese and other non-Latin content?

Local search uses a single scanning BM25 engine with overlapping bigrams for unspaced CJK queries and word-boundary matching with stemming for Latin scripts, without Lunr or any hosted service. OINK ships 32 native interface catalogs with locale-aware plurals and translated appearance controls, including English, Simplified Chinese (zh-cn, zh) and Traditional Chinese (zh-tw). RTL layouts are supported.

How do I choose a style, and can I keep the old look?

Open Appearance from the top-bar button, choose Paper, Slate, GitHub, Ink, News or Terminal, then select light, dark or system mode; the T and Y keys step through both. Paper is the default; Slate preserves the original look. This site offers all six styles. Site owners select the menu explicitly in configuration. Fonts and core scripts are served locally. See the appearance guide.

What do AI assistants and crawlers get?

With markdown in outputs, every page has an index.md sibling announced by rel="alternate", and the LLMS format writes a site-level llms.txt. The “open in ChatGPT / Claude” page actions exist but are off by default, because they hand the reader’s URL to a third party.

What is the license, and where does Docsy stand?

Apache License 2.0. OINK is a fork of Docsy that evolved independently; Docsy’s history, attribution and Apache-2.0 obligations are preserved, and every vendored runtime is listed with its license in VENDOR.json. See License and acknowledgements.

How can I contribute?

The contribution guide explains where to report bugs, improve translations, or submit theme and test changes. Thank you to @imbajin for the earlier reading repairs; the current release carries those fixes forward alongside the bilingual reader.