aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-16 12:38:26 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-16 12:38:26 -0400
commitd42f5ec009bff055ebf36feb972cde8e540673f8 (patch)
tree21c3f990bf02f5c016eda02763b40f40d78e3e49 /doc
parent7e987bbfeeea0d93a7d636de5124ecf15ef730be (diff)
downloadikiwiki-d42f5ec009bff055ebf36feb972cde8e540673f8.tar
ikiwiki-d42f5ec009bff055ebf36feb972cde8e540673f8.tar.gz
response
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/preview_changes_before_git_commit.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/todo/preview_changes_before_git_commit.mdwn b/doc/todo/preview_changes_before_git_commit.mdwn
index e0e6ba866..187497cf4 100644
--- a/doc/todo/preview_changes_before_git_commit.mdwn
+++ b/doc/todo/preview_changes_before_git_commit.mdwn
@@ -5,3 +5,13 @@ push`ing. For the GNU Hurd's web pages, we include a *render_locally* script,
<http://www.gnu.org/software/hurd/contributing/web_pages.html>, section
*Preview Changes*. With ikiwiki, one can use `make docwiki`, but that excludes
a set of pages, as per `docwiki.setup`. --[[tschwinge]]
+
+> `ikiwiki -setup some.setup --render file.mdwn` will build the page and
+> dump it to stdout. So, for example:
+
+ ikiwiki -setup docwiki.setup --render doc/todo/preview_changes_before_git_commit.mdwn | w3m -T text/html
+
+> You have to have a setup file, though it suffices to make up your own
+> if you don't have the real one. Using ikiwiki.info's real setup file
+> won't actually work since it uses a search plugin that gets unhappy
+> if this is not in `/srv/web/ikiwiki.info`. --[[Joey]]