-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a0fd01
commit c1ffa52
Showing
22 changed files
with
166 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
adr init docs madr | ||
adr new The First Decision | ||
cat docs/0002-the-first-decision.md | ||
cat docs/0001-the-first-decision.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
adr init docs madr | ||
docs/0001-record-architecture-decisions.md | ||
docs/0000-record-architecture-decisions.md | ||
adr new First Decision | ||
docs/0002-first-decision.md | ||
docs/0001-first-decision.md | ||
adr new Second Decision | ||
docs/0003-second-decision.md | ||
docs/0002-second-decision.md | ||
adr generate toc | ||
# Architecture Decision Records | ||
|
||
* [Use Markdown Architectural Decision Records](0001-record-architecture-decisions.md) | ||
* [First Decision](0002-first-decision.md) | ||
* [Second Decision](0003-second-decision.md) | ||
* [Use Markdown Architectural Decision Records](0000-record-architecture-decisions.md) | ||
* [First Decision](0001-first-decision.md) | ||
* [Second Decision](0002-second-decision.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
adr init docs madr | ||
docs/0001-record-architecture-decisions.md | ||
docs/0000-record-architecture-decisions.md | ||
adr new An idea that seems good at the time | ||
docs/0002-an-idea-that-seems-good-at-the-time.md | ||
adr new -s 2 A better idea | ||
docs/0003-a-better-idea.md | ||
docs/0001-an-idea-that-seems-good-at-the-time.md | ||
adr new -s 1 A better idea | ||
docs/0002-a-better-idea.md | ||
adr new This will work | ||
docs/0004-this-will-work.md | ||
docs/0003-this-will-work.md | ||
adr new -s 3 The end | ||
docs/0005-the-end.md | ||
docs/0004-the-end.md | ||
# with default extension in links | ||
adr generate graph | ||
digraph { | ||
node [shape=plaintext]; | ||
_1 [label="Use Markdown Architectural Decision Records"; URL="0001-record-architecture-decisions.html"] | ||
_2 [label="An idea that seems good at the time"; URL="0002-an-idea-that-seems-good-at-the-time.html"] | ||
_0 [label="Use Markdown Architectural Decision Records"; URL="0000-record-architecture-decisions.html"] | ||
_1 [label="An idea that seems good at the time"; URL="0001-an-idea-that-seems-good-at-the-time.html"] | ||
_0 -> _1 [style="dotted"]; | ||
_1 -> _2 [label="Superceded by"] | ||
_2 [label="A better idea"; URL="0002-a-better-idea.html"] | ||
_1 -> _2 [style="dotted"]; | ||
_2 -> _3 [label="Superceded by"] | ||
_3 [label="A better idea"; URL="0003-a-better-idea.html"] | ||
_2 -> _1 [label="Supercedes"] | ||
_3 [label="This will work"; URL="0003-this-will-work.html"] | ||
_2 -> _3 [style="dotted"]; | ||
_3 -> _2 [label="Supercedes"] | ||
_3 -> _5 [label="Superceded by"] | ||
_4 [label="This will work"; URL="0004-this-will-work.html"] | ||
_3 -> _4 [label="Superceded by"] | ||
_4 [label="The end"; URL="0004-the-end.html"] | ||
_3 -> _4 [style="dotted"]; | ||
_5 [label="The end"; URL="0005-the-end.html"] | ||
_4 -> _5 [style="dotted"]; | ||
_5 -> _3 [label="Supercedes"] | ||
_4 -> _3 [label="Supercedes"] | ||
} | ||
# with specified extension in links | ||
adr generate graph -e .xxx | ||
digraph { | ||
node [shape=plaintext]; | ||
_1 [label="Use Markdown Architectural Decision Records"; URL="0001-record-architecture-decisions.xxx"] | ||
_2 [label="An idea that seems good at the time"; URL="0002-an-idea-that-seems-good-at-the-time.xxx"] | ||
_0 [label="Use Markdown Architectural Decision Records"; URL="0000-record-architecture-decisions.xxx"] | ||
_1 [label="An idea that seems good at the time"; URL="0001-an-idea-that-seems-good-at-the-time.xxx"] | ||
_0 -> _1 [style="dotted"]; | ||
_1 -> _2 [label="Superceded by"] | ||
_2 [label="A better idea"; URL="0002-a-better-idea.xxx"] | ||
_1 -> _2 [style="dotted"]; | ||
_2 -> _3 [label="Superceded by"] | ||
_3 [label="A better idea"; URL="0003-a-better-idea.xxx"] | ||
_2 -> _1 [label="Supercedes"] | ||
_3 [label="This will work"; URL="0003-this-will-work.xxx"] | ||
_2 -> _3 [style="dotted"]; | ||
_3 -> _2 [label="Supercedes"] | ||
_3 -> _5 [label="Superceded by"] | ||
_4 [label="This will work"; URL="0004-this-will-work.xxx"] | ||
_3 -> _4 [label="Superceded by"] | ||
_4 [label="The end"; URL="0004-the-end.xxx"] | ||
_3 -> _4 [style="dotted"]; | ||
_5 [label="The end"; URL="0005-the-end.xxx"] | ||
_4 -> _5 [style="dotted"]; | ||
_5 -> _3 [label="Supercedes"] | ||
_4 -> _3 [label="Supercedes"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
adr init docs madr | ||
ls docs | ||
cat docs/0001-record-architecture-decisions.md | ||
cat docs/0000-record-architecture-decisions.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
adr init docs madr | ||
docs/0001-record-architecture-decisions.md | ||
docs/0000-record-architecture-decisions.md | ||
adr new First Record | ||
docs/0002-first-record.md | ||
docs/0001-first-record.md | ||
adr new Second Record | ||
docs/0003-second-record.md | ||
docs/0002-second-record.md | ||
adr new Third Record | ||
docs/0004-third-record.md | ||
adr link 4 Amends 2 "Amended by" | ||
adr link 4 Clarifies 3 "Clarified by" | ||
tail -5 docs/0002-first-record.md | ||
docs/0003-third-record.md | ||
adr link 3 Amends 1 "Amended by" | ||
adr link 3 Clarifies 2 "Clarified by" | ||
tail -5 docs/0001-first-record.md | ||
## Links <!-- optional --> | ||
|
||
* [Link type] [Link to ADR] <!-- example: Refined by [ADR-0005](0005-example.md) --> | ||
* … <!-- numbers of links can vary --> | ||
* Amended by [Third Record](0004-third-record.md) | ||
tail -5 docs/0003-second-record.md | ||
* Amended by [Third Record](0003-third-record.md) | ||
tail -5 docs/0002-second-record.md | ||
## Links <!-- optional --> | ||
|
||
* [Link type] [Link to ADR] <!-- example: Refined by [ADR-0005](0005-example.md) --> | ||
* … <!-- numbers of links can vary --> | ||
* Clarified by [Third Record](0004-third-record.md) | ||
tail -6 docs/0004-third-record.md | ||
* Clarified by [Third Record](0003-third-record.md) | ||
tail -6 docs/0003-third-record.md | ||
## Links <!-- optional --> | ||
|
||
* [Link type] [Link to ADR] <!-- example: Refined by [ADR-0005](0005-example.md) --> | ||
* … <!-- numbers of links can vary --> | ||
* Amends [First Record](0002-first-record.md) | ||
* Clarifies [Second Record](0003-second-record.md) | ||
* Amends [First Record](0001-first-record.md) | ||
* Clarifies [Second Record](0002-second-record.md) |
Oops, something went wrong.