• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
Item7851 for doc work on
extensions that are not part of a release.
More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
• Does this site look broken?. Use the LitterTray web for test cases.
Item4153: Add control over TOC rendering
Item Form Data
AppliesTo: |
Component: |
Priority: |
CurrentState: |
WaitingFor: |
TargetRelease |
ReleasedIn |
Engine |
|
Enhancement |
Closed |
|
minor |
4.2.0 |
Detail
See:
TWiki:Codev.AddControlOverTocRendering
--
TWiki:Main/ArthurClemens - 28 May 2007
Implemented:
- Generated Table of Contents (TOC) settings
- The first header level to appear in the TOC:
- Set TOC_MIN_DEPTH =
- If not set:
1
- Possible values:
1
to 6
- The last header level to appear in the TOC:
- Set TOC_MAX_DEPTH =
- If not set:
6
- Possible values:
1
to 6
- Can be overridden by
depth
parameter of variable TOC
- The default TOC title:
- Set TOC_TITLE =
- If not set: nothing
- Possible values: any string, for example
On this page:
- Can be overridden by
title
parameter of variable TOC
- Do not show a TOC if the topic it contains is included in another topic:
- Set TOC_HIDE_IF_INCLUDED =
- If not set: included TOC is shown
- Possible values:
on
or nothing
The check for
TOC_HIDE_IF_INCLUDED
is done in sub
INCLUDE
in
TWiki.pm
.
--
TWiki:Main.ArthurClemens - 28 May 2007
Cleaned "WaitingFor" field.
--
TWiki:Main.GilmarSantosJr - 10 Aug 2008