/site

pinglue.org website - and even more: a template for any doc-base site - just customize the components and insert your docs at docs-src and you are done

Primary LanguageHTMLApache License 2.0Apache-2.0

pinglue.org website

A bootstrapped template based on GatsbyJS to generate doc site based on md/mdx content (found in /docs-src folder)

Pre-req

  • Npm version 8.3.0 (make sure you use the same npm version, otherwise problem with package-lock.json ...)
  • Node version 14.18.0 or higher

Project

General Help

  • Git quick start: https://pinglue.github.io/dev-guides/git/quick-start

  • Keep your personal email from publishing on Git along with your code! https://pinglue.github.io/dev-guides/git/commit-email-privacy

  • we are following git branch model similar to git flow - and for branch names, the format is type/name-in-kebab-case, for example if your issue/task title is "Add left sidebar -2x" then your branch could be called feature/add-left-sidebar ... note that the name is the kebab-case of the issue title (dropping the story value 2x) which makes the branch even more related to the issue you are working with. We can use the same name as branch for the corresponding PR.

Design system:

Installation and running

To run:

  1. clone the repo

  2. install:

from repo root:

npm install
  1. run Gatsby dev server:
npm run develop
  1. Open in browser localhost:8000

  2. To see the list of all available pages, type a non-existent address like localhost:8000/abc - the error page shows a list of available pages. The main pages we are dealing with are those in /docs route.