X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/63edea27bc71c3bdf1837f994fb7effdd93fb2dd..d2b50c37b44972e60d08854e9e780a09481872d5:/doc/plugins/polygen.mdwn diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn index d04708e2a..f9cea1f4d 100644 --- a/doc/plugins/polygen.mdwn +++ b/doc/plugins/polygen.mdwn @@ -1,29 +1,25 @@ -This plugin allows inserting text generated by polygen into a wiki page. -For example: +[[!template id=plugin name=polygen author="Enrico Zini"]] +[[!tag type/fun]] +[[!tag type/widget]] - \[[polygen grammar="genius"]] - -It's also possible to specify a starting nonterminal for the grammar by -including `symbol="text"` in the directive. - -This plugin is included in ikiwiki, but not enabled by default. -It was contributed by Enrico Zini. +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=""" ---- -If this plugin is enabled, and polygen is installed, here are a few notes -about ikiwiki. +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 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: -[[tag type/fun]] +"""]]