From: Joey Hess Date: Thu, 11 Sep 2008 21:16:04 +0000 (-0400) Subject: move demo back to plugin page X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/01485d9074971417a691007d6ca3b3f5640bb558?hp=7e6fa968c7c177a686664300570cb47a2a7a4cf2;ds=sidebyside move demo back to plugin page We don't want expensive demos in the directives pages. Add an example of its use instead. Also, some minor rewording. --- diff --git a/doc/plugins/brokenlinks.mdwn b/doc/plugins/brokenlinks.mdwn index f2e80d51f..c039a9d17 100644 --- a/doc/plugins/brokenlinks.mdwn +++ b/doc/plugins/brokenlinks.mdwn @@ -1,5 +1,9 @@ [[!template id=plugin name=brokenlinks author="[[Joey]]"]] [[!tag type/link type/meta]] -This plugin implements the [[ikiwiki/directive/brokenlinks]] [[ikiwiki/directive]]. -The directive generates a list of broken links on pages in the wiki. +This plugin provides a [[ikiwiki/directive/brokenlinks]] [[ikiwiki/directive]] +that generates a list of broken links on pages in the wiki. + +If this plugin is turned on, here's a list of broken links on this wiki: + +[[!brokenlinks pages="* and !recentchanges"]] diff --git a/underlays/basewiki/directive/brokenlinks.mdwn b/underlays/basewiki/directive/brokenlinks.mdwn index 3ae8909dc..27a333196 100644 --- a/underlays/basewiki/directive/brokenlinks.mdwn +++ b/underlays/basewiki/directive/brokenlinks.mdwn @@ -7,6 +7,6 @@ are written wrong. The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the pages to search for broken links, default is search them all. -If this plugin is turned on, here's a list of broken links on this wiki: +Example: -[[!brokenlinks pages="* and !recentchanges"]] + \[[!brokenlinks pages="* and !recentchanges"]]