]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Add reference to a bug
authorspalax <spalax@web>
Wed, 4 Dec 2013 16:41:51 +0000 (12:41 -0400)
committeradmin <admin@branchable.com>
Wed, 4 Dec 2013 16:41:51 +0000 (12:41 -0400)
doc/plugins/contrib/sidebar2.mdwn

index 3c322672962cfa9198b2d61b948d3bef993c3f0b..eea76b39d968d87a67878bc65859c7e1647d1f81 100644 (file)
@@ -31,6 +31,13 @@ etc.
 The default, which gives the behaviour of the sidebar plugin, is
 `global_sidebars => ["sidebar", "sidebar", "*"]`.
 
+*Remark: It would be more sensible to have a list of lists, as the following example, but I did not manage to do so because of [[this bug|bugs/structured_config_data_is_mangled]].*
+
+    global_sidebars => [
+      ["var1", "page1", "pagespec1"],
+      ["var2", "page2", "pagespec2"],
+      ]
+
 # Improvements over sidebar plugin
 
 * You can add several "sidebars" to your wiki. For example, to have a sidebar, a submeno that appear only in pages documentations, and a footer, your `global_sidebars` would be: