Plugin for Redmine
Good day to all.
At work they put the Redmine project management system. It is quite well described on the Habré, so I will not repeat myself.
It includes a wiki by default, where you can maintain any kind of documentation. And for convenience, a table of contents is built into this wiki, i.e. A tree view of all wiki pages in alphabetical order.
With a large number of pages, the table of contents becomes, in my opinion, terribly inconvenient.
To fix this, I wrote a small plugin for redmine, which can be downloaded from GoogleDocs.
Under the cut is an illustration of the plugin.

This plugin does the following:
1. If the page does not have child pages, then its name is made a link to the page.
2. If the page has child pages, then the link "=>" to the right of the name will be a link to it, and when you click on the page name, the list of child pages will be hidden / displayed.
UPD: As requested, posted on github .
At work they put the Redmine project management system. It is quite well described on the Habré, so I will not repeat myself.
It includes a wiki by default, where you can maintain any kind of documentation. And for convenience, a table of contents is built into this wiki, i.e. A tree view of all wiki pages in alphabetical order.
With a large number of pages, the table of contents becomes, in my opinion, terribly inconvenient.
To fix this, I wrote a small plugin for redmine, which can be downloaded from GoogleDocs.
Under the cut is an illustration of the plugin.
This plugin does the following:
1. If the page does not have child pages, then its name is made a link to the page.
2. If the page has child pages, then the link "=>" to the right of the name will be a link to it, and when you click on the page name, the list of child pages will be hidden / displayed.
UPD: As requested, posted on github .