Skip to content

Commit

Permalink
Merge pull request #867 from swcurran/fix-gen-process
Browse files Browse the repository at this point in the history
Fix RFCs with misformatted header line, clean up AIP 2.0 titles
  • Loading branch information
WadeBarnes authored Jan 31, 2025
2 parents 420e331 + 3802b9f commit fa3b466
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion code/genSite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion concepts/0781-trust-input-protocol/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion concepts/0812-compression-dictionary/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 0812: Compressing DIDComm messages using dictionaries (Ex. 0000: RFC Topic)
# 0812: Compressing DIDComm messages using dictionaries
- Authors: [Kim Ebert]([email protected])
- Status: [PROPOSED](/README.md#proposed)
- Since: 2022-
Expand Down

0 comments on commit fa3b466

Please sign in to comment.