From 834489a56a7a3c66f3b2ee898810e12c8b426745 Mon Sep 17 00:00:00 2001 From: bremner Date: Sat, 13 Sep 2008 08:28:52 -0400 Subject: [PATCH] share my fumblings in calling IkiWiki::Setup --- doc/plugins/write/discussion.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/plugins/write/discussion.mdwn 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. +
+%IkiWiki::config=IkiWiki::defaultconfig();
+IkiWiki::Setup::load($config_file);
+print  join(",",keys %IkiWiki::config);
+
+ +[[DavidBremner]] +