summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-14 21:43:05 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-14 21:43:05 -0400
commita8daf61b7d3c38e95ba8a168cdba3dfbce750e16 (patch)
tree9c548dc81361a2cf1f024984f0c1541e20a7d951
parentacb6f66fbe77e0f331d1e531de67c9a1483c0f26 (diff)
improve instructions
It's better to -refresh rather than rebuild, as this way ikiwiki deletes all the html files rendered to destdir for the aggregated pages before.
-rw-r--r--doc/plugins/aggregate.mdwn5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/plugins/aggregate.mdwn b/doc/plugins/aggregate.mdwn
index 61743a816..d87e33ab9 100644
--- a/doc/plugins/aggregate.mdwn
+++ b/doc/plugins/aggregate.mdwn
@@ -100,8 +100,9 @@ you should follow this process:
in those PageSpecs. For example, if the PageSpec was `foo/*`, it should
be changed to `internal(foo/*)`. This has to be done because internal
pages are not matched by regular globs.
-2. Use [[ikiwiki-transition]] to move all existing aggregated `.html`
+2. Turn on `aggregateinternal` in the setup file.
+3. Use [[ikiwiki-transition]] to move all existing aggregated `.html`
files. The command to run is `ikiwiki-transition aggregateinternal $srcdir`,
or if you have changed the `htmlext` option to something other than "html",
`ikiwiki-transition aggregateinternal $srcdir $htmlext`
-3. Turn on `aggregateinternal` in the setup file and rebuild the wiki.
+4. Refresh the wiki. (`ikiwiki -setup your.setup -refresh`)