aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-11 18:00:25 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-11 18:00:25 -0400
commit701720198f2c3464b8fcac55a951e9f54cb4c1dc (patch)
treece146d0e885f05583e38f6039182525c12147f09
parentd48e55c3d98c0668e5463ae9d20004e42605b007 (diff)
downloadikiwiki-701720198f2c3464b8fcac55a951e9f54cb4c1dc.tar
ikiwiki-701720198f2c3464b8fcac55a951e9f54cb4c1dc.tar.gz
move demo back to plugin page
-rw-r--r--doc/plugins/polygen.mdwn23
-rw-r--r--underlays/basewiki/directive/polygen.mdwn19
2 files changed, 21 insertions, 21 deletions
diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn
index fa4aa0bf7..6045c1ec9 100644
--- a/doc/plugins/polygen.mdwn
+++ b/doc/plugins/polygen.mdwn
@@ -1,5 +1,24 @@
[[!template id=plugin name=polygen author="Enrico Zini"]]
[[!tag type/fun]]
-This plugin implements the [[ikiwiki/directive/polygen]] [[ikiwiki/directive]].
-The directive allows inserting text generated by polygen into a wiki page.
+This plugin provides the [[ikiwiki/directive/polygen]] [[ikiwiki/directive]],
+which allows inserting text generated by polygen into a wiki page.
+
+[[!if test="enabled(polygen)" then="""
+----
+
+Here are a few notes about ikiwiki, courtesy of polygen:
+
+Ikiwiki is internally based on a [[!polygen grammar="designpatterns"]]
+coupled to a [[!polygen grammar="designpatterns"]], as described in
+"[[!polygen grammar="paper"]]" by [[!polygen grammar="nipponame"]] of
+[[!polygen grammar="boyband"]].
+
+Ikiwiki reviews:
+<ul>
+<li>[[!polygen grammar="reviews"]]</li>
+<li>[[!polygen grammar="reviews"]]</li>
+<li>[[!polygen grammar="reviews"]]</li>
+</ul>
+
+"""]]
diff --git a/underlays/basewiki/directive/polygen.mdwn b/underlays/basewiki/directive/polygen.mdwn
index 72b031235..0ad5c12e3 100644
--- a/underlays/basewiki/directive/polygen.mdwn
+++ b/underlays/basewiki/directive/polygen.mdwn
@@ -7,22 +7,3 @@ For example:
It's also possible to specify a starting nonterminal for the grammar by
including `symbol="text"` in the directive.
-
-[[!if test="enabled(polygen)" then="""
-----
-
-Here are a few notes about ikiwiki, courtesy of polygen:
-
-Ikiwiki is internally based on a [[!polygen grammar="designpatterns"]]
-coupled to a [[!polygen grammar="designpatterns"]], as described in
-"[[!polygen grammar="paper"]]" by [[!polygen grammar="nipponame"]] of
-[[!polygen grammar="boyband"]].
-
-Ikiwiki reviews:
-<ul>
-<li>[[!polygen grammar="reviews"]]</li>
-<li>[[!polygen grammar="reviews"]]</li>
-<li>[[!polygen grammar="reviews"]]</li>
-</ul>
-
-"""]]