38 lines
641 B
Markdown
38 lines
641 B
Markdown
|
|
## Usage
|
|
|
|
Préparer un fichier `docmachine.yaml`:
|
|
|
|
personae:
|
|
- TECHY
|
|
- GEOPOLY
|
|
|
|
context: |
|
|
some text here
|
|
|
|
audience: |
|
|
some text here
|
|
|
|
prerequisites: |
|
|
some text here
|
|
|
|
goals: |
|
|
some text here
|
|
|
|
pattern: "{{chapter.index}}.{{section.index}}.{{chapter.slug}}.json"
|
|
|
|
|
|
Run docmachine to build the main toc
|
|
|
|
docmachine plan -c docmachine.yaml --level 0 --output .
|
|
|
|
|
|
Run docmachine to build the toc for all chapters
|
|
|
|
docmachine plan -c docmachine.yaml --level 1 --output .
|
|
|
|
|
|
Run docmachine to build the toc (if missing)
|
|
|
|
docmachine plan -c docmachine.yaml --level 0 --output .
|
|
|