Skip to content

Commit 6f31133

Browse files
authored
docs: record architecture decisions (#46)
* docs: keep markdown docs in source control * docs: record architecture decisions * chore: enforce markdownlint on *.md files * docs: deploy ADRs to GitHub Pages
1 parent dc108de commit 6f31133

7 files changed

+872
-2
lines changed

.adr-dir

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/architecture/decisions

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ test-report.junit.xml
33
tsconfig.tsbuildinfo
44
coverage/
55
dist/
6-
docs/
76
node_modules/
87

8+
# Exclude generated doc files
9+
!docs/
10+
docs/*
11+
!docs/architecture/
12+
!docs/*.md
13+
914
# Exclude (most of) the testing vault
1015
!test-vault/
1116
test-vault/*

.markdownlint.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/refs/heads/main/schema/markdownlint-config-schema.json",
3+
"extends": "markdownlint/style/prettier"
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 1. Record architecture decisions
2+
3+
Date: 2025-03-06
4+
5+
## Status
6+
7+
Accepted
8+
9+
## Context
10+
11+
We need to record the architectural decisions made on this project.
12+
13+
## Decision
14+
15+
We will use Architecture Decision Records, as [described by Michael Nygard](http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions).
16+
17+
## Consequences
18+
19+
See Michael Nygard's article, linked above. For a lightweight ADR toolset, see Nat Pryce's [adr-tools](https://github.com/npryce/adr-tools).

0 commit comments

Comments
 (0)