generated from coulomb/repo-seed
Deterministic templating and generation support
This commit is contained in:
4
examples/templates/adr-summary.data.yaml
Normal file
4
examples/templates/adr-summary.data.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
title: Use Deterministic Templates
|
||||
status: proposed
|
||||
context: Authors need repeatable Markdown generation before assisted generation.
|
||||
decision: Use small data-bound templates and keep provider hooks external.
|
||||
7
examples/templates/adr-summary.generation.md
Normal file
7
examples/templates/adr-summary.generation.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# ADR Summary Generation
|
||||
|
||||
```yaml generation
|
||||
template: adr-summary.template.md
|
||||
data_file: adr-summary.data.yaml
|
||||
output: adr-summary.generated.md
|
||||
```
|
||||
11
examples/templates/adr-summary.template.md
Normal file
11
examples/templates/adr-summary.template.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# {{title}}
|
||||
|
||||
Status: {{status}}
|
||||
|
||||
## Context
|
||||
|
||||
{{context}}
|
||||
|
||||
## Decision
|
||||
|
||||
{{decision}}
|
||||
Reference in New Issue
Block a user