summaryrefslogtreecommitdiff
path: root/contributing/web_pages.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-05-19 17:15:13 +0200
committerThomas Schwinge <tschwinge@gnu.org>2009-05-19 17:40:46 +0200
commita732793347d0d7ffe4b8f490cb79ac79315369b5 (patch)
tree6f01a15bbc91dba19791903288709b1d1526201e /contributing/web_pages.mdwn
parent3db86a54801e8e5ba1555702db80b588213796c3 (diff)
Support ikiwiki's w3mmode.
Diffstat (limited to 'contributing/web_pages.mdwn')
-rw-r--r--contributing/web_pages.mdwn32
1 files changed, 32 insertions, 0 deletions
diff --git a/contributing/web_pages.mdwn b/contributing/web_pages.mdwn
index d2ab93f6..f1388bc2 100644
--- a/contributing/web_pages.mdwn
+++ b/contributing/web_pages.mdwn
@@ -161,6 +161,38 @@ You can also locally get the whole set of pages rendered to HTML:
Now open `hurd-web.rendered/index.html' to browse the pages.
+### ikiwiki's `w3mmode`
+
+If you're a [`w3m`](http://w3m.sourceforge.net/) user, you can also use `w3m`
+to edit your files locally, as it were done through the web interface at
+<http://www.bddebian.com:8888/~hurd-web/>.
+
+First, generate the wrapper. Unless the configuration is changed, this has to
+be done only once.
+
+ $ hurd-web/render_locally --w3m-wrapper
+ successfully generated /home/thomas/.ikiwiki/wrappers/hurd-web.cgi
+
+Render the pages:
+
+ $ hurd-web/render_locally --w3m
+ [...]
+ scanning contributing/web_pages.mdwn
+ rendering contributing/web_pages.mdwn
+
+ Now open `hurd-web.rendered.w3m/index.html' to browse the pages.
+
+Invoke `w3m`:
+
+ $ w3m hurd-web.rendered.w3m/index.html
+
+Or, to directly create a new page:
+
+ $ w3m 'file:///$LIB/ikiwiki-w3m.cgi/hurd-web.cgi?page=open_issues/gnumach_has_a_bug&do=create'
+
+Note that the changes you do via `w3m` will not be committed to the VCS (see
+[[render_locally]] for details).
+
## Publish Your Changes
If you like what you've done, then it's now time to publish your changes.