X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2c17255b6641e33374a446ca281a0ad6d46af1dc..bda428f713d922f9422585bad3add84495697437:/doc/plugins/autoindex/discussion.mdwn?ds=sidebyside

diff --git a/doc/plugins/autoindex/discussion.mdwn b/doc/plugins/autoindex/discussion.mdwn
index b09481cdc..76d09cd3c 100644
--- a/doc/plugins/autoindex/discussion.mdwn
+++ b/doc/plugins/autoindex/discussion.mdwn
@@ -6,7 +6,7 @@ for the html output and not place the markdown files in the wiki source?
 > writing them out, as [[JoeRayhawk]] suggests below? I think
 > add_autofile would be the way to do this.
 > I've added this to [[todo]] as [[todo/autoindex should use add__95__autofile]]
-> and [[todo/transient in-memory pages]]. --[[smcv]]
+> and [[todo/transient_pages]]. --[[smcv]]
 
 The reason being that I have a lot of directories which need to be autoindexed,
 but I would prefer if the index files didn't clutter up my git repository.
@@ -22,6 +22,8 @@ If you just don't want to clutter your git repo, below it's a patch does the fol
 
 * If you set autoindex_commit to 1 (this is the default), auto-generated index files will be put in the repo provided you enabled rcs backend.
 
+[[!toggle id="patch-for-autoindex_commit" text="patch for autoindex_commit"]]
+[[!toggleable id="patch-for-autoindex_commit" text="""
 <pre>
 --- autoindex.pm.orig	2009-10-01 17:13:51.000000000 +0800
 +++ autoindex.pm	2009-10-01 17:21:09.000000000 +0800
@@ -65,7 +67,7 @@ If you just don't want to clutter your git repo, below it's a patch does the fol
  				gettext("automatic index generation"),
  				undef, undef);
 </pre>
-
+"""]]
  
 Warning:  I guess this patch may work, but I *haven't tested it yet*.  -- [[weakish]]