pupil docs static site generator
hugo
- static site generator written inGo
- macOS:
brew install hugo
- Linux:
snap install hugo
- Windows: see hugo installation guide here
- macOS:
Pygments
pip install pygments
orpip3 install pygments
Clone the repo and submodules:
git clone --recursive https://github.com/pupil-labs/pupil-docs-website.git
Build and serve only published content
hugo server
Build and serve published content and drafts
hugo server -D
Serve on custom port
hugo server -p 3030
See server options in hugo docs here.
All text and image content are stored in the content
directory. content
is a submodule with repo at pupil-docs.
All content is written in markdown.