From c35444826ca47123697a8f2512866f4f99964cc4 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 21 Sep 2006 21:34:29 +0000 Subject: * Add --render mode, which can be used to preview an edit at the command line by test rendering a single page. --- doc/usage.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/usage.mdwn b/doc/usage.mdwn index 0c7e7d036..aa352736c 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -75,6 +75,15 @@ These options control the mode that ikiwiki is operating in. along with this one. --rebuild will also force feeds to be polled even if they were polled recently. +* --render file + + Renders a single file, outputting the resulting html. Does not save state, + so this cannot be used for building whole wikis, but it is useful for + previewing an edited file at the command line. Generally used in conjunction + with --setup to load in a wiki's setup: + + ikiwiki --setup ~/ikiwiki.setup --render foo.mdwn + * --version Print ikiwiki version number. -- cgit v1.2.3