Project

General

Profile

Actions

Patch #3962

closed

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

Added by Oxan - about 15 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2009-10-02
Due date:
% Done:

0%

Estimated time:

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.


Files

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

Related issues

Is duplicate of Redmine - Feature #10789: Macros {{child_pages}} with depth parameterClosedJean-Philippe Lang

Actions
Actions #1

Updated by Oxan - about 15 years ago

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

Actions #2

Updated by Go MAEDA over 9 years ago

  • Description updated (diff)
Actions #3

Updated by Go MAEDA over 9 years ago

  • Is duplicate of Feature #10789: Macros {{child_pages}} with depth parameter added
Actions #4

Updated by Go MAEDA over 9 years ago

  • Status changed from New to Closed

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

Actions

Also available in: Atom PDF