You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being able to provide your own templates for the README and the ADRs
6
+
can be really useful. It allows you to customize this to your personal
7
+
or team needs while still sticking with the tool and processes for
8
+
maintaining proper ADRs.
9
+
10
+
## Context and Problem Statement
11
+
12
+
Currently, there is no way to deviate from the existing templates for
13
+
the README and the ADRs. If you want to customize these, you will lose all
14
+
changes upon regen of the README. Effectively, if you do not agree with
15
+
the templates that are shipped with ADL, the tool may not be useful to you.
16
+
17
+
## Considered Options
18
+
19
+
### Do Nothing
20
+
These templates are minimal and other additions can be captured elsewhere.
21
+
22
+
### Support user-driven templates
23
+
Create a templates directory and allow users to specify templates to be
24
+
used on behalf of the CLI when generated READMEs and ADRs. Specify the fields
25
+
via a templating language that the CLI can replace.
26
+
27
+
## Decision Outcome
28
+
29
+
We are going to support user-driven templates via a templates folder in the ADR directory. The templates folder should not be linked in the README contents.
30
+
The templates folder will also have it's own README with information on the
31
+
supported files that you can template, as well as the templating items that
32
+
can be replaced by the CLI such as timestamp or contents.
33
+
34
+
<!-- Add additional information here, comparison of options, research, etc -->
0 commit comments