summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-16 15:27:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-16 15:27:21 +0000
commit34b64d646fc110b6ccdde9ab8acd71660fb8fa84 (patch)
tree2ebbcc67707383a1794a8a04ae353a88aba45e7c /lib
parent747e4ecd3a981e5d48d3028f5cd870b130eb65b4 (diff)
downloadredmine-34b64d646fc110b6ccdde9ab8acd71660fb8fa84.tar.gz
redmine-34b64d646fc110b6ccdde9ab8acd71660fb8fa84.zip
Updates macro description (#10789).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10402 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting/macros.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb
index 1ae86345b..50dbb853d 100644
--- a/lib/redmine/wiki_formatting/macros.rb
+++ b/lib/redmine/wiki_formatting/macros.rb
@@ -180,6 +180,7 @@ module Redmine
desc "Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:\n\n" +
" !{{child_pages}} -- can be used from a wiki page only\n" +
+ " !{{child_pages(depth=2)}} -- display 2 levels nesting only\n"
" !{{child_pages(Foo)}} -- lists all children of page Foo\n" +
" !{{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo"
macro :child_pages do |obj, args|