summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:16:04 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:17:10 -0400
commit01485d9074971417a691007d6ca3b3f5640bb558 (patch)
tree96d80dce0f6676ea2918148738c0288f3843930b
parent7e6fa968c7c177a686664300570cb47a2a7a4cf2 (diff)
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.
-rw-r--r--doc/plugins/brokenlinks.mdwn8
-rw-r--r--underlays/basewiki/directive/brokenlinks.mdwn4
2 files changed, 8 insertions, 4 deletions
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"]]