aboutsummaryrefslogtreecommitdiff
path: root/dir-list-spec.txt
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2019-11-26 20:58:54 +0100
committerHans-Christoph Steiner <hans@eds.org>2019-11-26 21:03:19 +0100
commita3fd19302312d44257f175bded3551bc1397ced6 (patch)
treefe935d1f7925a9bbc1e7de08dcda27c4b5b56b78 /dir-list-spec.txt
parentc15cc8a5a869ef82f08e77c79074b892fac55932 (diff)
downloadtorspec-a3fd19302312d44257f175bded3551bc1397ced6.tar.gz
torspec-a3fd19302312d44257f175bded3551bc1397ced6.zip
fix erroneous header numbering punctuation
The clear standard is trailing "." after each numeric section. This fixes the small handful of outliers. This makes it easy to convert these headers to common markup formats, for example: http://hyperpolyglot.org/lightweight-markup
Diffstat (limited to 'dir-list-spec.txt')
-rw-r--r--dir-list-spec.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/dir-list-spec.txt b/dir-list-spec.txt
index 56ee0e6..e152c2d 100644
--- a/dir-list-spec.txt
+++ b/dir-list-spec.txt
@@ -162,7 +162,7 @@
The list header consists of a number of key-value pairs, embedded in
C-style comments.
-2.2.1 List Header Format
+2.2.1. List Header Format
"/*" SP+ "type=" Keyword SP+ "*/" SP* NL
@@ -234,7 +234,7 @@
Future releases may arbitrarily change the content of this section.
Parsers MUST NOT rely on a version increment when the format changes.
-2.3.1 List Generation Format
+2.3.1. List Generation Format
In general, parsers MUST NOT rely on the format of this section.
@@ -261,7 +261,7 @@
these lists after parsing them, and applies the DirAuthorityFallbackRate
to their weights.)
-2.4.1 Directory Entry Format
+2.4.1. Directory Entry Format
If a directory entry does not conform to this format, the entry SHOULD
be ignored by parsers.