Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 971 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 971 Bytes

pupil-docs-website

pupil docs static site generator

Dependencies & Setup

  • hugo - static site generator written in Go
    • macOS: brew install hugo
    • Linux: snap install hugo
    • Windows: see hugo installation guide here
  • Pygments
    • pip install pygments or pip3 install pygments

Clone the repo and submodules:

git clone --recursive https://github.com/pupil-labs/pupil-docs-website.git

Preview site on local server

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.

Content

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.