about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-30 19:52:23 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-30 19:52:23 +0200
commit775e0b43a5c0c4276c0931ef07b3fe0967fcc7bb (patch)
tree0e9310dd0ae74593b5de91728477ac8efad10af9
parentba09d13880a9bbd2b99971e76f960c6f8cd4acd3 (diff)
downloadchawan-775e0b43a5c0c4276c0931ef07b3fe0967fcc7bb.tar.gz
update docs
-rw-r--r--doc/config.md30
-rw-r--r--doc/urimethodmap.md6
2 files changed, 25 insertions, 11 deletions
diff --git a/doc/config.md b/doc/config.md
index 6c933cdc..996f0c16 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -176,9 +176,9 @@ the line number.</td>
 [mailcap](mailcap.md) files.
 <!-- MANON -->
 <!-- MANON
-mailcap (**cha-mailcap**(5))
+mailcap files. (See **cha-mailcap**(5) for details.)
 MANOFF -->
-files.</td>
+</td>
 </tr>
 
 <tr>
@@ -186,12 +186,25 @@ files.</td>
 <td>array of paths</td>
 <td>Search path for
 <!-- MANOFF -->
-[mime.types](mime.types.md)
+[mime.types](mime.types.md) files.
+<!-- MANON -->
+<!-- MANON
+mime.types files. (See **cha-mime.types**(5) for details.)
+MANOFF -->
+</td>
+</tr>
+
+<tr>
+<td>cgi-dir</td>
+<td>array of paths</td>
+<td>Search path for
+<!-- MANOFF -->
+[local CGI](localcgi.md) scripts.
 <!-- MANON -->
 <!-- MANON
-mime.types (**cha-mime.types**(5))
+local CGI scripts. (See **cha-localcgi**(5) for details.)
 MANOFF -->
-files.</td>
+</td>
 </tr>
 
 <tr>
@@ -199,13 +212,12 @@ files.</td>
 <td>array of paths</td>
 <td>Search path for
 <!-- MANOFF -->
-[mime.types](mime.types.md)
-[local CGI](localcgi.md)
+[urimethodmap](urimethodmap.md) files.
 <!-- MANON -->
 <!-- MANON
-local CGI (**cha-localcgi**(5))
+urimethodmap files. (See **cha-urimethodmap**(5) for details.)
 MANOFF -->
-scripts.</td>
+</td>
 </tr>
 
 </table>
diff --git a/doc/urimethodmap.md b/doc/urimethodmap.md
index fe48ba0a..4bb0d645 100644
--- a/doc/urimethodmap.md
+++ b/doc/urimethodmap.md
@@ -32,7 +32,7 @@ URIMethodMap-File = *URIMethodMap-line
 
 URIMethodMap-Line = Comment / URIMethodMap-Entry
 
-URIMethodMap-Entry = Protocol *WHITESPACE Template *WHITESPACE
+URIMethodMap-Entry = Protocol *WHITESPACE Template *WHITESPACE CR
 
 Protocol = 1*CHAR COLON
 
@@ -51,7 +51,9 @@ Examples:
 protocol:	/cgi-bin/interpret-protocol?%s
 # This is ok too:
 protocol:/cgi-bin/interpret-protocol?%s
-# This is incorrect:
+# Spaces and tabs are both allowed, so this is also ok:
+protocol:	/cgi-bin/interpret-protocol?%s
+# However, this is incorrect, because the colon sign is missing:
 protocol	/cgi-bin/interpret-protocol?%s
 ```