From 9040eed54585fd43c99c1f125ff7663844c5d70f Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Sat, 24 Aug 2019 10:50:03 +0100 Subject: [PATCH] Improve ZIP index: format in a table, include status, and cross out Withdrawn/Rejected/Obsolete ZIPs. Signed-off-by: Daira Hopwood --- README.md | 34 ++++++++++++++++++---------------- makeindex.sh | 8 +++++++- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index a691fd29..865372a9 100644 --- a/README.md +++ b/README.md @@ -41,19 +41,21 @@ See [COPYING](COPYING) for more information or see http://opensource.org/license Index of ZIPs ------------- -* [ZIP 0: ZIP Process](zip-0000) -* [ZIP 32: Shielded Hierarchical Deterministic Wallets](zip-0032) -* [ZIP 143: Transaction Signature Verification for Overwinter](zip-0143) -* [ZIP 200: Network Upgrade Mechanism](zip-0200) -* [ZIP 201: Network Peer Management for Overwinter](zip-0201) -* [ZIP 202: Version 3 Transaction Format for Overwinter](zip-0202) -* [ZIP 203: Transaction Expiry](zip-0203) -* [ZIP 205: Deployment of the Sapling Network Upgrade](zip-0205) -* [ZIP 206: Deployment of the Blossom Network Upgrade](zip-0206) -* [ZIP 207: Split Founders' Reward](zip-0207) -* [ZIP 208: Shorter Block Target Spacing](zip-0208) -* [ZIP 209: Prohibit Negative Shielded Value Pool](zip-0209) -* [ZIP 210: Sapling Anchor Deduplication within Transactions](zip-0210) -* [ZIP 243: Transaction Signature Verification for Sapling](zip-0243) -* [ZIP 308: Sprout to Sapling Migration](zip-0308) -* [ZIP guide: {Something Short and To the Point}](zip-guide) +| ZIP | Title | Status | +|-----|-------|--------| +| 0 | [ZIP Process](zip-0000) | Active | +| 32 | [Shielded Hierarchical Deterministic Wallets](zip-0032) | Final | +| 143 | [Transaction Signature Verification for Overwinter](zip-0143) | Final | +| 200 | [Network Upgrade Mechanism](zip-0200) | Final | +| 201 | [Network Peer Management for Overwinter](zip-0201) | Final | +| 202 | [Version 3 Transaction Format for Overwinter](zip-0202) | Final | +| 203 | [Transaction Expiry](zip-0203) | Final | +| 205 | [Deployment of the Sapling Network Upgrade](zip-0205) | Final | +| 206 | [Deployment of the Blossom Network Upgrade](zip-0206) | Draft | +| ~207~ | ~[Split Founders' Reward](zip-0207)~ | Withdrawn | +| 208 | [Shorter Block Target Spacing](zip-0208) | Implemented | +| 209 | [Prohibit Negative Shielded Value Pool](zip-0209) | Final | +| 210 | [Sapling Anchor Deduplication within Transactions](zip-0210) | Draft | +| 243 | [Transaction Signature Verification for Sapling](zip-0243) | Final | +| 308 | [Sprout to Sapling Migration](zip-0308) | Final | +| guide | [{Something Short and To the Point}](zip-guide) | Draft | diff --git a/makeindex.sh b/makeindex.sh index 85e0d540..0d509f42 100755 --- a/makeindex.sh +++ b/makeindex.sh @@ -5,8 +5,14 @@ cat </dev/null; then + echo "| ~`basename $zipfile .rst | sed -r 's@zip-0{0,3}@@'`~ | ~[`grep '^\s*Title:' $zipfile | sed 's@\s*Title:\s*@@'`](`basename $zipfile .rst`)~ | `grep '^\s*Status:' $zipfile | sed 's@\s*Status:\s*@@'` |" + else + echo "| `basename $zipfile .rst | sed -r 's@zip-0{0,3}@@'` | [`grep '^\s*Title:' $zipfile | sed 's@\s*Title:\s*@@'`](`basename $zipfile .rst`) | `grep '^\s*Status:' $zipfile | sed 's@\s*Status:\s*@@'` |" + fi done