Updates macro description (#10789).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10402 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-09-16 15:27:21 +00:00
parent 747e4ecd3a
commit 34b64d646f
1 changed files with 1 additions and 0 deletions

View File

@ -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|