aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorspalax <spalax@web>2013-12-04 12:41:51 -0400
committeradmin <admin@branchable.com>2013-12-04 12:41:51 -0400
commitf5397e2b7cc81679d77a39ad6fa816cced8ace28 (patch)
tree69244f27eb0f6a8b1af10ce430bd7da0b3553eb9 /doc/plugins
parentd88437a387961d4c4522fd0296b503979e870e64 (diff)
downloadikiwiki-f5397e2b7cc81679d77a39ad6fa816cced8ace28.tar
ikiwiki-f5397e2b7cc81679d77a39ad6fa816cced8ace28.tar.gz
Add reference to a bug
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/contrib/sidebar2.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/plugins/contrib/sidebar2.mdwn b/doc/plugins/contrib/sidebar2.mdwn
index 3c3226729..eea76b39d 100644
--- a/doc/plugins/contrib/sidebar2.mdwn
+++ b/doc/plugins/contrib/sidebar2.mdwn
@@ -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: