Patch #3962

Add a maximum nesting option to the {{child_pages}} macro

Added by Oxan - about 8 years ago. Updated almost 3 years ago.

Status:ClosedStart date:2009-10-02
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-

Description

Add a new parameter to the {{child_pages}} macro to control the maximum nesting. It's name is maxnesting and it's an integer. The defualt is to be fully recursive (unlimited nesting). Giving 0 as maximum nesting results in only direct children, 1 with also their children, etc.

Patch is based on 0.8.4, but it should be working on trunk also.

maxnesting-parameter.patch Magnifier (2.77 KB) Oxan -, 2009-10-02 21:36


Related issues

Duplicates Redmine - Feature #10789: Macros {{child_pages}} with depth parameter Closed

History

#1 Updated by Oxan - about 8 years ago

Ah, I've forgotten to escape the macro in the description.

#2 Updated by Go MAEDA almost 3 years ago

  • Description updated (diff)

#3 Updated by Go MAEDA almost 3 years ago

  • Duplicates Feature #10789: Macros {{child_pages}} with depth parameter added

#4 Updated by Go MAEDA almost 3 years ago

  • Status changed from New to Closed

A option depth that controls recursion depth was added by #10789.
I close this issue.

Also available in: Atom PDF