From 3802b9f7beb891e8e68e7fe347145ea1c2d1993b Mon Sep 17 00:00:00 2001 From: Stephen Curran Date: Fri, 31 Jan 2025 09:27:04 -0800 Subject: [PATCH] Fix RFCs with misformatted header line, clean up AIP 2.0 titles Signed-off-by: Stephen Curran --- code/genSite.sh | 4 +++- concepts/0781-trust-input-protocol/README.md | 2 +- concepts/0812-compression-dictionary/README.md | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/code/genSite.sh b/code/genSite.sh index e56f2ee65..b6bf54d27 100755 --- a/code/genSite.sh +++ b/code/genSite.sh @@ -40,6 +40,8 @@ for i in docs/features/*/README.md docs/concepts/*/README.md docs/aip2/*/README. sed -e '/Authors/s#](#](mailto:#g' -e 's#mailto:mailto:#mailto:#g' $i >$i.tmp; mv $i.tmp $i done +# To Do: Check that there is EXACTLY one ":" in the RFC Readme first line or error. + # Cleanup the links in the RFCs for i in docs/features/*/README.md docs/concepts/*/README.md docs/aip2/*/README.md; do sed \ @@ -65,7 +67,7 @@ echo '# RFCs by AIP and Status' >>${MKDOCSTMP} # Navigation for AIP 2.0 files echo "- AIP 2.0:" >>${MKDOCSTMP} -for i in docs/aip2/*/README.md ; do head -n 1 $i | sed -e "s/# / - /" -e "s/: / /" -e "s#\$#: $i#" -e "s#docs/##"; done >>${MKDOCSTMP} +for i in docs/aip2/*/README.md ; do head -n 1 $i | sed -e "s/# / - /" -e "s/: / /" -e "s#\$#: $i#" -e "s#docs/##" -e "s/Aries RFC //"; done >>${MKDOCSTMP} # Navigation for all RFCs by Status python code/generate_mkdocs_index.py diff --git a/concepts/0781-trust-input-protocol/README.md b/concepts/0781-trust-input-protocol/README.md index aad9f021f..4124662ec 100644 --- a/concepts/0781-trust-input-protocol/README.md +++ b/concepts/0781-trust-input-protocol/README.md @@ -1,5 +1,5 @@ -# RFC 0781 Trust Input Protocol +# RFC 0781: Trust Input Protocol - Authors: Mathieu Glaude, Subhasis Ojha - Status: PROPOSED - Since: 2023-11-23 diff --git a/concepts/0812-compression-dictionary/README.md b/concepts/0812-compression-dictionary/README.md index 2f776977f..f3844e9ce 100644 --- a/concepts/0812-compression-dictionary/README.md +++ b/concepts/0812-compression-dictionary/README.md @@ -1,4 +1,4 @@ -# 0812: Compressing DIDComm messages using dictionaries (Ex. 0000: RFC Topic) +# 0812: Compressing DIDComm messages using dictionaries - Authors: [Kim Ebert](kim@indicio.tech) - Status: [PROPOSED](/README.md#proposed) - Since: 2022-