From: Joey Hess <joey@kodama.kitenet.net>
Date: Thu, 11 Sep 2008 21:53:21 +0000 (-0400)
Subject: move back demo and add example
X-Git-Tag: 2.64~61
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/d48e55c3d98c0668e5463ae9d20004e42605b007

move back demo and add example
---

diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn
index f5b0a915f..6235963d3 100644
--- a/doc/plugins/pagecount.mdwn
+++ b/doc/plugins/pagecount.mdwn
@@ -1,5 +1,10 @@
 [[!template id=plugin name=pagecount author="[[Joey]]"]]
 [[!tag type/meta]]
 
-This plugin implements the [[ikiwiki/directive/pagecount]] [[ikiwiki/directive]].
-The directive displays number of pages currently in the wiki.
+This plugin provides the [[ikiwiki/directive/pagecount]]
+[[ikiwiki/directive]], which displays the number of pages
+currently in the wiki.
+
+If it is turned on it can tell us that this wiki includes
+[[!pagecount pages="* and !recentchanges"]]
+pages, of which [[!pagecount pages="*/Discussion"]] are discussion pages.
diff --git a/underlays/basewiki/directive/pagecount.mdwn b/underlays/basewiki/directive/pagecount.mdwn
index b2ed09a48..314fe382a 100644
--- a/underlays/basewiki/directive/pagecount.mdwn
+++ b/underlays/basewiki/directive/pagecount.mdwn
@@ -1,10 +1,8 @@
 The `pagecount` directive is supplied by the [[!iki plugins/pagecount]] plugin.
 
-This directive counts pages currently in the wiki.
+This directive counts pages currently in the wiki. Example:
+
+	\[[!pagecount pages="*"]]
 
 The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
 pages to count, default is to count them all.
-
-If it is turned on it can tell us that this wiki includes
-[[!pagecount pages="* and !recentchanges"]]
-pages, of which [[!pagecount pages="*/Discussion"]] are discussion pages.