]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
share my fumblings in calling IkiWiki::Setup
authorbremner <bremner@web>
Sat, 13 Sep 2008 12:28:52 +0000 (08:28 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 13 Sep 2008 12:28:52 +0000 (08:28 -0400)
doc/plugins/write/discussion.mdwn [new file with mode: 0644]

diff --git a/doc/plugins/write/discussion.mdwn b/doc/plugins/write/discussion.mdwn
new file mode 100644 (file)
index 0000000..50fbab1
--- /dev/null
@@ -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]]
+