Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oink.pgsty.com

This repository contains the source for oink.pgsty.com, the documentation and regression site for the Oink Hugo theme.

Local development

For theme development, clone both repositories as siblings:

~/pgsty/
├── oink/
└── oink.pgsty.com/

Use the short Make targets for common development tasks:

make b  # Build the site against the sibling theme checkout
make d  # Develop against the sibling theme checkout
make s  # Serve the site against the sibling theme checkout
make c  # Run the complete site test suite

These targets create or refresh the ignored go.work file and use the sibling theme checkout. The dev and serve targets do not pin a port, so Hugo can select an available one. The long target names (build, dev, serve, and check) work too. Override the automatically selected port or theme checkout only when needed:

make dev PORT=1314
make dev THEME_DIR=/path/to/oink

Published builds ignore the workspace and resolve the version of github.com/pgsty/oink recorded in go.mod.

License

Site code, build tooling, and material derived from the Docsy project site are licensed under the Apache License 2.0.

Unless otherwise noted, original Oink documentation content is licensed under the Creative Commons Attribution 4.0 International License.

About

Oink Website

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages