pig.pgsty.com
pig.pgsty.com documents PIG, the PostgreSQL extension
package manager. Its core manual is deliberately compact—18 pages per language
in the case snapshot—while a 50-post bilingual blog carries updates and deeper
explanations. The home page is assembled from data/home.
What it demonstrates
- A shallow, mostly single-file documentation tree for a focused CLI product.
- English and Chinese peers without duplicating navigation design.
- A data-driven home page paired with a larger stream of blog content.
Choose this pattern when the reference manual is small and stable but product news, tutorials, and release context need room to grow.
Reuse the separation, not the product data
The Docs root
selects the documentation type. Separately,
data/home/metrics.yaml
keeps product counters outside the prose. The site maintains those facts and
the templates that consume them; OINK supplies the reading shell.
For a small product, start with ordinary Docs files and add structured home data only for facts reused elsewhere. Copy the organization, not PIG’s package counts or product-specific home implementation.
→ Docs structure · All OINK cases
