Skip to content

Commit 2f53d9d

Browse files
authored
Merge pull request #306 from grnet/fix-adr-readme-publishing
Fix ADR README publishing
2 parents 346b1b7 + 0808677 commit 2f53d9d

5 files changed

Lines changed: 8 additions & 33 deletions

File tree

‎adr/001-replace-lpid-with-ebwoid.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Authors:**
44
- Erwin Nieuwlaar, KVK, Netherlands
55

6-
## Context:
6+
## Context
77
In webuild-consortium/eudi-wallet-rulebooks-and-schemas#24, the LPID (Legal Person Identification Data) rulebook was removed in favour of the EBWOID (European Business Wallet Owner Identification Data) rulebook. It was unclear whether this represented a consortium decision. Hence, an ADR to discuss support/objections and document this decision is clearly.
88
The PID/EBWOID working group agreed to proceed with this change during a weekly discussion session.
99

‎adr/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ Propose new ADRs using the [template](_template.md). Announce them to the [Archi
3232

3333
## Supporting analysis
3434

35+
<!--BEGIN INDEX-->
3536
- [Attestations, Documents and Data Analysis](build-document-vs-attestation-analysis.md)
3637
- [EDD Identification, Discovery and Connection Analysis](build-edd-identification-discovery-connection-analysis.md)
38+
<!--END INDEX-->
3739

3840
## ADR process for WE BUILD
3941

‎blueprint/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*~
22
*.html
3+
appendix-adr.md
34
cs-*.md
45
cs-*.qmd
56
quarto-*.deb

‎blueprint/appendix-adr.md‎

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎blueprint/build-quarto.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,15 @@ def get_indexed_mds(index_file: str) -> list[str]:
7272

7373
def generate_adr_appendix():
7474
print("Generating ADR appendix...")
75-
generate_qmd("appendix-adr.md", numbered=True)
7675
base_path = "../adr/"
77-
adr_mds = get_indexed_mds(base_path + "README.md")
76+
shutil.copy(base_path + "README.md", "appendix-adr.md")
77+
generate_qmd("appendix-adr.md", numbered=True)
78+
adr_mds = get_indexed_mds("appendix-adr.md")
7879
with open("appendix-adr.qmd", "a") as adr_appendix_qmd:
7980
for adr_md in adr_mds:
8081
print("Found ADR:", adr_md)
8182
shutil.copy(base_path + adr_md, adr_md)
82-
include(adr_appendix_qmd, generate_qmd(adr_md, numbered=True), indent=1)
83+
REFS.append(generate_qmd(adr_md, numbered=True))
8384
print()
8485

8586

0 commit comments

Comments
 (0)