X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/07b28cfcf98c40d1c45276b18d09aab3fa491103..26b38742e74c5d49ee138e8384f834eba338ea1f:/doc/todo/preview_changes_before_git_commit.mdwn?ds=sidebyside 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, , 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]]