summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-07-29 13:44:17 -0700
committerKevin McCarthy <kevin@8t8.us>2020-08-29 14:39:17 -0700
commit6fc793235c32145af09437ddcc4e80ea857bced0 (patch)
tree2c5d0ccf0a48a9ab2e48435ac847903fdece938d /doc
parent0f455d5132da7a4153d0728e5bf75135f17bc0fd (diff)
Remove relative path expansion for some cases.
Some paths, such as the folder browser, or certain hook values, should be expanded for shortcuts, but not for relative paths. Configuration variables that hold commands that search by PATH should also not be expanded. Create a separate call, and a separate data type for config vars.
Diffstat (limited to 'doc')
-rw-r--r--doc/makedoc.pl38
1 files changed, 20 insertions, 18 deletions
diff --git a/doc/makedoc.pl b/doc/makedoc.pl
index 7dc178c4..fa2b9359 100644
--- a/doc/makedoc.pl
+++ b/doc/makedoc.pl
@@ -96,24 +96,26 @@ my $SP_END_SECT = 18;
my $SP_REFER = 19;
# Types to documentation readable strings:
-my %type2human = ("DT_NONE" => "-none-",
- "DT_BOOL" => "boolean",
- "DT_NUM" => "number",
- "DT_LNUM" => "number (long)",
- "DT_STR" => "string",
- "DT_PATH" => "path",
- "DT_QUAD" => "quadoption",
- "DT_SORT" => "sort order",
- "DT_RX" => "regular expression",
- "DT_MAGIC" => "folder magic",
- "DT_ADDR" => "e-mail address",
- "DT_MBCHARTBL"=> "string",
- "DT_L10N_STR" => "string (localized)");
-
-my %string_types = ("DT_STR" => 1,
- "DT_RX" => 1,
- "DT_ADDR" => 1,
- "DT_PATH" => 1,
+my %type2human = ("DT_NONE" => "-none-",
+ "DT_BOOL" => "boolean",
+ "DT_NUM" => "number",
+ "DT_LNUM" => "number (long)",
+ "DT_STR" => "string",
+ "DT_PATH" => "path",
+ "DT_CMD_PATH" => "path",
+ "DT_QUAD" => "quadoption",
+ "DT_SORT" => "sort order",
+ "DT_RX" => "regular expression",
+ "DT_MAGIC" => "folder magic",
+ "DT_ADDR" => "e-mail address",
+ "DT_MBCHARTBL" => "string",
+ "DT_L10N_STR" => "string (localized)");
+
+my %string_types = ("DT_STR" => 1,
+ "DT_RX" => 1,
+ "DT_ADDR" => 1,
+ "DT_PATH" => 1,
+ "DT_CMD_PATH" => 1,
"DT_MBCHARTBL" => 1,
"DT_L10N_STR" => 1);