summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-12 21:20:34 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-12 21:20:34 -0400
commit97b71834bb99e967490b8b6f40677c248b947333 (patch)
tree5a17c2732ffbec89e6bd46a8c29d5d82830fc4bb /doc/plugins
parentf1e29d04a603351bd92780d1349d848b0eceba05 (diff)
fix IkiWiki::Setup::load docs
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/write.mdwn6
1 files changed, 3 insertions, 3 deletions
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)`