]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/postsparkline.mdwn
Fix documentation of anonok_pagespec. Closes: #521793
[ikiwiki.git] / doc / plugins / postsparkline.mdwn
1 [[!template id=plugin name=postsparkline author="[[Joey]]"]]
2 [[!tag type/chrome]]
3
4 This plugin provides the [[ikiwiki/directive/postsparkline]] [[ikiwiki/directive]].
5 It uses the [[sparkline]] plugin to create a sparkline of
6 statistics about a set of pages, such as posts to a blog.
7
8 # adding formulae
9
10 Additional formulae can be added without modifying this plugin by writing
11 plugins that register functions in the
12 `IkiWiki::Plugin::postsparkline::formula` namespace. These functions will
13 receive on input a reference to a hash of parameters, and a sorted list of
14 pages, and should return a list of data points for the sparkline plugin.