Opened 8 years ago

Last modified 3 days ago

#2033 new enhancement

Let SubWiki Create Nested Unordered-Lists

Reported by: peter.koerner@… Owned by:
Priority: high Component: HierWikiPlugin
Severity: normal Keywords:
Cc: peter.koerner@… Trac Release: 0.10


Hi I use SubWiki for generating Indexes of my Documentation. I didn't like the way all pages were printeted in a plain list so I searched for some kind of nested index. I didn't find anything like that for the Trac-Wiki ans so I bite the bullet and wrote a recursing function that iterates over the pages-tree and generates a nested view of the pages' subsites. Thiw is the first time I touched python, so please be patient with my coding style ;) Unfortunately I changed the indenting of the original file to one tab per indent, so it's hard to get a good diff of it. I attached the whole so maybe someone could have a look at it.

Attachments (2) (3.0 KB) - added by peter.koerner@… 8 years ago.
Let Subwiki Create Nested Unordered Lists
hierwikiplugin.diff (4.6 KB) - added by anonymous 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by peter.koerner@…

Let Subwiki Create Nested Unordered Lists

comment:1 Changed 7 years ago by jeff@…

  • Priority changed from normal to high

This patch should definitely be applied -- it's well worth it, thanks!

I'm going to add a link to this buy on the HierWiki plugin page since this is the way the list *should* be generated.

Changed 7 years ago by anonymous

comment:2 Changed 7 years ago by anonymous

I have enhanced further to produce different output style with 3rd paramter. The attachment:hierwikiplugin.diff contains the change so it should now be easier to merge. But I only did 0.10 version.

Here is the meaning of the style parameter:

ParentPage/SubPage? Page Name
SubPage? Page Name
Page Name?

comment:3 Changed 3 days ago by rjollos

  • Owner coderanger deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.