Modify ↓
Opened 18 years ago
Closed 18 years ago
#1784 closed enhancement (fixed)
[patch] Various improvements to TOC macro for 0.11
| Reported by: | osimons | Owned by: | Noah Kantrowitz |
|---|---|---|---|
| Priority: | normal | Component: | TocMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
Enclosed is a patch that:
- Accepts wildcard (ike 'Trac*') as input for pagename (will close #480).
- Respects
notitleargument also fortitleindexonly making it a list of the page names. - For empty pages and
titleindex, it will add all pages instead of just the current page (a much more useful title index...) - Changes default heading to 'Page Index' if it is a
titleindexbeing rendered (and it is not replaced by another heading as argument, ornoheadingis passed). - Properly highlights the current page if it exists in a title index list.
- Does some updates to resolve the various
FIXME:andTODO:items in the code. - Updates documentation to reflect these changes, and also removes a piece information that has not been true for some time.
As far as I can tell, these changes are all very gentle with regards to existing uses of the macro - I don't think they will be affected negatively.
Attachments (2)
Change History (5)
Changed 18 years ago by
| Attachment: | tocmacro_various_011dev-r2460.diff added |
|---|
comment:1 Changed 18 years ago by
| Summary: | [path] Various improvements to TOC macro for 0.11 → [patch] Various improvements to TOC macro for 0.11 |
|---|
Oops. Typo in title. Updated.
Changed 18 years ago by
| Attachment: | tocmacro_various_011dev-r2794.diff added |
|---|
Patch updated for new resource / context APIs + supporting new fine-grained security + reviewed all code again.
comment:2 Changed 18 years ago by
comment:3 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Commit done. Ticket closed.
Note: See
TracTickets for help on using
tickets.



Patch for r2460 - various improvements to TOC macro.