nest /

Filename Size Date modified Message
hugo
tools
107 B
Optimises Dockerfile
118 B
Adds site wide visual regression tool
20 B
Implements `npm ci --production` in docker build
466 B
Optimises Dockerfile
8.9 KB
Add community.md and design-guidelines.md
801 B
Add some more stuff to the cicd plan
62 B
Add a docker-compose setup for easy local development
58.3 KB
Adds site wide visual regression tool
265 B
Adds site wide visual regression tool
1.5 KB
Adds site wide visual regression tool

Pidgin Nest

The place we like call home.

Table of contents

Dependencies

This project uses hugo, get it here

Developing Docs

To start devleopment server run: hugo server -s hugo -D --disableFastRender -v --verboseLog --noHTTPCache --i18n-warnings

  • --disableFastRender Disabling fast render is needed because hugo starts to ignore new content in the data dir
  • -v --verboseLog Better logging and debugging experience
  • --noHTTPCache To prevent caching issues

Docker

  1. docker build -t pidgin/nest:latest .
  2. docker run -it --rm -p 3000:3000 pidgin/nest:latest

Formatting

These are some regexes to quickly format templating

regex replace
`{{(\w .
`{{-(\w .
`(" \w

Hugo config

To disable Copy Code to Clipboard the disableInlineCopyToClipBoard switch can be used either in config [params] or in the front matter of the individual page

Tools

  • Visual Regression
    1. Run dev server
    2. To run the visual diff tool call node tools/visual-diff.js or npm run regression