move demo back to plugin page
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Sep 2008 22:00:25 +0000 (18:00 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Sep 2008 22:00:25 +0000 (18:00 -0400)
doc/plugins/polygen.mdwn
underlays/basewiki/directive/polygen.mdwn

index fa4aa0bf7e736395686d033d0914d3d4b8ab7e73..6045c1ec91dc23f99c737b622fb2846a672f26bf 100644 (file)
@@ -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>
+
+"""]]
index 72b0312350b98f2404ff794d15edc7a703f3b488..0ad5c12e3134844c60bec418977c351f43f0a217 100644 (file)
@@ -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>
-
-"""]]