Customization
15 pages-
AI-agent support
More and more of your readers arrive through a language model: a coding agent looking up an option, or a person pasting a page into a chat to ask about it. An HTML page is a poor source for them, because the sidebar, scripts and styles have to be …
More and more of your readers arrive through a language model: a coding agent looking up an option, or a person pasting a page into a chat to ask about it. An HTML page is a poor source for them, because the sidebar, scripts and styles have to be …
-
Print
Documentation ends up on paper more often than you might expect: a runbook taken into a server room with no network, a chapter handed out at a training, a PDF attached to a change request. Any single page already prints cleanly with the browser’s …
Documentation ends up on paper more often than you might expect: a runbook taken into a server room with no network, a chapter handed out at a training, a PDF attached to a change request. Any single page already prints cleanly with the browser’s …
-
Repository links and page info
A reader who spots a mistake should be one click away from fixing it, and a reader who lands on a page should be able to tell how current it is. Point OINK at the GitHub repository that holds your content, and the page action menu at the right of the …
A reader who spots a mistake should be one click away from fixing it, and a reader who lands on a page should be able to tell how current it is. Point OINK at the GitHub repository that holds your content, and the page action menu at the right of the …
-
Taxonomies
The directory tree gives each page one place; tags and categories give it more. A PostgreSQL backup guide can live under “Operations” and still be one click away from the “backup” tag, so readers who think in topics rather than in your folder …
The directory tree gives each page one place; tags and categories give it more. A PostgreSQL backup guide can live under “Operations” and still be one click away from the “backup” tag, so readers who think in topics rather than in your folder …
-
Versions
A site needs versioned documentation when readers run different releases of your product at the same time and those releases differ in ways a reader acts on: commands, configuration keys, defaults. If most readers can move to the latest release, or …
A site needs versioned documentation when readers run different releases of your product at the same time and those releases differ in ways a reader acts on: commands, configuration keys, defaults. If most readers can move to the latest release, or …
-
Languages
OINK uses Hugo’s multilingual model as it is: a languages block in hugo.yml, and each translation saved beside its original with a language suffix. Adding a language touches five places: the configuration, the translated pages, the menus, the home …
OINK uses Hugo’s multilingual model as it is: a languages block in hugo.yml, and each translation saved beside its original with a language suffix. Adding a language touches five places: the configuration, the translated pages, the menus, the home …
-
Keyboard navigation
Your readers can work through your documentation without reaching for the mouse: every interactive OINK page answers twenty-nine single-key shortcuts, ten for moving around, nine for acting on the page and ten for changing the view. Press ' on any …
Your readers can work through your documentation without reaching for the mouse: every interactive OINK page answers twenty-nine single-key shortcuts, ten for moving around, nine for acting on the page and ten for changing the view. Press ' on any …
-
Command palette
The command palette provides one modal dialog for page search and site actions. Use it to copy page Markdown, switch language or version, and open site links. The theme assembles it with local search. If params.offline_search is off, the page has no …
The command palette provides one modal dialog for page search and site actions. Use it to copy page Markdown, switch language or version, and open site links. The theme assembles it with local search. If params.offline_search is off, the page has no …
-
Search
OINK’s search runs entirely in the reader’s browser. Hugo writes one JSON index per language at build time, the browser downloads it on the first search, and every query is answered locally, so there is no crawler, account, CDN or search service to …
OINK’s search runs entirely in the reader’s browser. Hugo writes one JSON index per language at build time, the browser downloads it on the first search, and every query is answered locally, so there is no crawler, account, CDN or search service to …
-
Layouts and page types
Every page renders in a shell: the reading shell, with a sidebar on the left and an outline on the right, or a plain single column. The page’s type chooses the shell, not the folder it lives in, so documentation can sit anywhere under content/. To …
Every page renders in a shell: the reading shell, with a sidebar on the left and an outline on the right, or a plain single column. The page’s type chooses the shell, not the folder it lives in, so documentation can sit anywhere under content/. To …
-
Customization
Customization covers whatever applies to the whole site rather than to one page: how it looks, how readers find their way around, what it publishes besides HTML, and which languages and versions it serves. Most of it is a key in hugo.yml; the rest …
Customization covers whatever applies to the whole site rather than to one page: how it looks, how readers find their way around, what it publishes besides HTML, and which languages and versions it serves. Most of it is a key in hugo.yml; the rest …
-
Navigation and menus
The menu across the top of every page is the map of your site: the handful of places, such as Docs, Blog and Download, that a reader should reach from anywhere. You write it once per language in hugo.yml. The other ways of moving around (the section …
The menu across the top of every page is the map of your site: the handful of places, such as Docs, Blog and Download, that a reader should reach from anywhere. You write it once per language in hugo.yml. The other ways of moving around (the section …
-
Home and landing pages
An OINK home page is data, not a template. data/home/<language>.yaml lists the sections from top to bottom (a hero, a grid of cards, pricing, a closing call to action) and holds the content of each, so you change the page by editing YAML and never …
An OINK home page is data, not a template. data/home/<language>.yaml lists the sections from top to bottom (a hero, a grid of cards, pricing, a closing call to action) and holds the content of each, so you change the page by editing YAML and never …
-
Brand and appearance
A site starts to look like your own once it carries your name, your logo and your color. All three are settings in hugo.yml, so a first pass at a brand is one edit and a reload: hugo.yml title: Acme DB Docs params: logo: images/acme-mark.svg # under …
A site starts to look like your own once it carries your name, your logo and your color. All three are settings in hugo.yml, so a first pass at a brand is one edit and a reload: hugo.yml title: Acme DB Docs params: logo: images/acme-mark.svg # under …
-
Configuration
Every site-wide setting OINK reads lives in hugo.yml and appears in a table on this page with its type, its default and a link to the guide that shows it in use. The defaults are conservative: local search, image zoom, comments, page feedback and the …
Every site-wide setting OINK reads lives in hugo.yml and appears in a table on this page with its type, its default and a link to the guide that shows it in use. The defaults are conservative: local search, image zoom, comments, page feedback and the …