Define generation flow/lifecycle
oubiwann opened this issue · comments
Duncan McGreggor commented
The output of this ticket will be a file in ./docs
detailing everything below.
Things to keep in mind/include while creating this doc:
- Content management:
- Steps to add new site
- Steps to add new "sub-site"
- Steps to add new page, new sub-pages
- How to add metadata
- How to indicate which template will be used
- Protected metadata keys
- How to add custom metadata
- Template management
- How templates are organised
- Steps to create templates
- Variables the templates have access to
- How to reference maps, lists, etc.
- How to iterate over values
- Content Generation
- Order of operations when content it generated
- How to compile templates
- How to (re)generate content for a single template
- How to (re)generate content for a directory (including all children)
- How to (re)generate all content