Changes between Initial Version and Version 4 of Ticket #10638
- Timestamp:
- Mar 22, 2013, 12:50:52 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10638
-
Property
Trac Release
changed from
to
0.12
- Property Owner changed from anybody to osimons
-
Property
Component
changed from
Request-a-Hack
toTocMacro
-
Property
Trac Release
changed from
-
Ticket #10638 – Description
initial v4 1 The existing TOC macro ( http://trac-hacks.org/wiki/TocMacro) uses the headline (h1 to h6) to create the table of contents. This results in a very confusing toc structure, because a headline h1 on a page on the 3rd level will be displayed on the first level of the toc.1 The existing TOC macro (TocMacro) uses the headline (h1 to h6) to create the table of contents. This results in a very confusing toc structure, because a headline h1 on a page on the 3rd level will be displayed on the first level of the toc. 2 2 3 3 Page structure with used headlines on the page: … … 18 18 }}} 19 19 20 My plannes for an improved macro are to focus the toc creation on the url. 21 So the resulting TOC should look likes this. 20 My planns for an improved macro are to focus the toc creation on the url. So the resulting TOC should look likes this. 22 21 23 22 {{{ … … 31 30 So what should the macro do? 32 31 33 - create the toc structure based on the url structure[[BR]] 34 - use the first headline on each page as text for the toc entry[[BR]] 35 - allow the user to specify the depth of the toc[[BR]] 36 32 - create the toc structure based on the url structure[[BR]] 33 - use the first headline on each page as text for the toc entry[[BR]] 34 - allow the user to specify the depth of the toc[[BR]] 37 35 38 36 Thanks for your help