commit 38ae778bb670d5bbbed5790dedde60ac57b2feda
parent a041814526a1512b217782528155aea79c165b3c
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Thu, 14 Dec 2023 15:16:08 +0100
improve dot alt table
Diffstat:
4 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/dot-alt/Makefile b/dot-alt/Makefile
@@ -14,9 +14,7 @@ dot_alt.rst.tmp: registry.rec rst.template
../format.sh rst.template < registry.rec > $@
rst.header.tmp:
- cat rst.header.template README POLICY > $@
- echo "Entries" >> $@
- echo "^^^^^^^" >> $@
+ cat README POLICY rst.header.template > $@
dot_alt.rst: rst.header.tmp dot_alt.rst.tmp
cat rst.header.tmp dot_alt.rst.tmp > $@
diff --git a/dot-alt/README b/dot-alt/README
@@ -1,3 +1,6 @@
+.alt Subdomains
+---------------
+
This registry is for the `.alt Top-Level-Domains (TLDs) of the Domain Name System (RFC 9476) <https://www.rfc-editor.org/rfc/rfc9476.html>`__.
This registry is used to ensure that names of alternative name systems
diff --git a/dot-alt/rst.header.template b/dot-alt/rst.header.template
@@ -1,4 +1,11 @@
-.alt Subdomains
----------------
+Entries
+^^^^^^^
+.. list-table:: .alt Subdomains
+ :widths: 10 20 10 60
+ :header-rows: 1
+ * - Label
+ - Contact
+ - References
+ - Description
diff --git a/dot-alt/rst.template b/dot-alt/rst.template
@@ -1,10 +1,4 @@
-
-
-=================== ===========================================================
-Label {{Label}}
-------------------- -----------------------------------------------------------
-Contact {{Contact}}
-References {{References}}
-Description {{Description}}
-=================== ===========================================================
-
+ * - {{Label}}
+ - {{Contact}}
+ - {{References}}
+ - {{Description}}