Skip to content

catpea/warrior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

warrior

A Book About Growing Up

Upgrade/Depreciation Notice

poetry will be replaced by https://github.com/catpea/furkies-purrkies and removed. warrior will be replaced by https://github.com/catpea/westland-warrior and removed. server will be removed website will be built by https://github.com/catpea/eternia

Note to github: please allow me to run website and homepage at the same time so that I may make the switch to a leaner system that will take up less space on your system.

Usage

To add a new chapter.

  • We will create a chapter named doctor
  • copy the directory ./data/_new to ./data/doctor
  • edit index.yaml to add the necessary sections
  • add doctor to data/index.yaml
  • execute ./build-data.mjs; to create the JSON data file
  • execute ./build-docs.mjs to rebuild the docs directory
  • commit, docs will be served by github
  • the JSON file can be used in more complex projects