From: Josh Triplett Date: Sat, 9 Feb 2008 02:35:12 +0000 (-0800) Subject: Add --prefix-directives and --no-prefix-directives options to ikiwiki X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/a35dd1d806f9bca82c0c04a4ff6c69956e3371a0?ds=sidebyside Add --prefix-directives and --no-prefix-directives options to ikiwiki This avoids the need to set prefix_directives with --set. --- diff --git a/doc/usage.mdwn b/doc/usage.mdwn index cd8f0542c..4c08c5b39 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -277,6 +277,11 @@ configuration options of their own. Toggle creating output files named page/index.html (default) instead of page.html. +* --prefix-directives, --no-prefix-directives + + Toggle new '!'-prefixed syntax for preprocessor directives. ikiwiki currently + defaults to --no-prefix-directives. + * --w3mmode, --no-w3mmode Enable [[w3mmode]], which allows w3m to use ikiwiki as a local CGI script, diff --git a/ikiwiki.in b/ikiwiki.in index 1ce7e1688..e0a591824 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -29,6 +29,7 @@ sub getconfig () { #{{{ "render=s" => \$config{render}, "wrappers!" => \$config{wrappers}, "usedirs!" => \$config{usedirs}, + "prefix-directives!" => \$config{prefix_directives}, "getctime" => \$config{getctime}, "numbacklinks=i" => \$config{numbacklinks}, "rcs=s" => \$config{rcs},