Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.32 KB

github-pages.md

File metadata and controls

42 lines (33 loc) · 1.32 KB

GitHub Pages Development

Preview the site locally

Serve the folder over HTTP instead:

cd github-pages
python3 -m http.server 8000

Then open http://localhost:8000/. Alternatively, use the VS Code Live Server extension or run npx serve github-pages.

Add inspiration designs

  • Inspiration designs live in github-pages/inspiration/ as one JSON file per design.
  • Add each filename to github-pages/inspiration.json so the planner can discover and display it.
  • Downloaded designs (json) use this same format and can be directly placed in the inspiration directory.
  • Downloaded design PNGs include the embededd JSON design data. They can also uploaded back into the designer.
  • The grid property contains seven 52-character rows:
    • . is an empty spot in the grid
    • r red,
    • o orange
    • y yellow
    • g green
    • b blue
    • i pink
    • p purple
    • w white
    • n gray
    • k black
  • Custom colors are listed in the optional customColors array and referenced in order with 1–9.

Deployment

  • The github pages site is automatically deployed if any file changes in the github-pages folder are pushed to the main branch.