aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://anastigmatix.net/ <http://anastigmatix.net/@web>2014-09-23 01:25:14 -0400
committeradmin <admin@branchable.com>2014-09-23 01:25:14 -0400
commitbefbcddbef1ea4f13937fce0c45012ca3907027e (patch)
tree209e869cc3b1df990e09fbf5940f12f2ab3db612 /doc
parentb52e47181c8984cba27fb533b3bc802dbf0d0420 (diff)
downloadikiwiki-befbcddbef1ea4f13937fce0c45012ca3907027e.tar
ikiwiki-befbcddbef1ea4f13937fce0c45012ca3907027e.tar.gz
possible documentation error for %destsources in plugins/write
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Are___37__destsources_really___95__pages__95____63__.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/forum/Are___37__destsources_really___95__pages__95____63__.mdwn b/doc/forum/Are___37__destsources_really___95__pages__95____63__.mdwn
new file mode 100644
index 000000000..887de9f61
--- /dev/null
+++ b/doc/forum/Are___37__destsources_really___95__pages__95____63__.mdwn
@@ -0,0 +1,17 @@
+In [[plugins/write|plugins/write]] I am told that
+
+> The `%destsources` hash records the name of the source file used to
+> create each destination file. The key is the output filename (ie,
+> "foo/index.html"), and the value is the source filename that it was built
+> from (eg, "foo.mdwn").
+
+but that's not what I see happening. I see a hash that maps the output
+filename (eg., "foo/index.html") to a source _page_ name (eg., "foo").
+
+I need an additional visit to `%pagesources` to get from "foo"
+to "foo.mdwn".
+
+It seems to be consistent and happily working that way, so maybe the
+description in [[plugins/write]] is the only mistake. Have I missed something?
+
+-- [[jcflack]]