diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/Does_IkiWiki::Setup::load__40____41___really_return_a_hash__63__.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/write.mdwn | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/bugs/Does_IkiWiki::Setup::load__40____41___really_return_a_hash__63__.mdwn b/doc/bugs/Does_IkiWiki::Setup::load__40____41___really_return_a_hash__63__.mdwn index 898941474..6facec896 100644 --- a/doc/bugs/Does_IkiWiki::Setup::load__40____41___really_return_a_hash__63__.mdwn +++ b/doc/bugs/Does_IkiWiki::Setup::load__40____41___really_return_a_hash__63__.mdwn @@ -6,3 +6,5 @@ Shouldn't this print a bunch of output (admittedly not very nicely formatted). [ 11 rocinante ~/tmp ] perl -M'IkiWiki::Setup' -e 'print IkiWiki::Setup::load("foo.setup");' </pre> I get nothing with ikiwiki 2.63 [[DavidBremner]] + +> The docs were wrong, it populates `%config`. --[[Joey]] [[done]] diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index e8ba0a6ab..920fb8797 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -805,6 +805,6 @@ when imported, populate `$IkiWiki::Setup::raw_setup` with a reference to a hash containing all the config items. They should also implement a `gendump` function. -By the way, to parse a ikiwiki setup file, a program just needs to -do something like: -`use IkiWiki::Setup; my %setup=IkiWiki::Setup::load($filename)` +By the way, to parse a ikiwiki setup file and populate `%config`, a +program just needs to do something like: +`use IkiWiki::Setup; IkiWiki::Setup::load($filename)` |