summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/plugins/write/discussion.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/plugins/write/discussion.mdwn b/doc/plugins/write/discussion.mdwn
new file mode 100644
index 000000000..50fbab1ef
--- /dev/null
+++ b/doc/plugins/write/discussion.mdwn
@@ -0,0 +1,10 @@
+Maybe this is obvious, but the config variable lives in the IkiWiki module, and one probably
+wants to call defaultconfig for most applications.
+<pre>
+%IkiWiki::config=IkiWiki::defaultconfig();
+IkiWiki::Setup::load($config_file);
+print join(",",keys %IkiWiki::config);
+</pre>
+
+[[DavidBremner]]
+