You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See how to convert TracWiki Macros like - [[TitleIndex(Administrative/)]]
TracWiki macro [[PageOutline]] was alredy converted into the RST content directive: .. contents:: in #9
See how to update the _Sidebar.rst to also include the list of last N modified pages, to get the same functionality as Trac.
Suggestion from Dan: In order for TitleIndex macros to be more useful, a script should run regularly (say, every time the wiki is updated) and update the file lists, instead of just once, at importing.
The text was updated successfully, but these errors were encountered:
Suggestion from Dan: In order for TitleIndex macros to be more useful, a script should run regularly (say, every time the wiki is updated) and update the file lists, instead of just once, at importing.
Yes. i was thinking of creating some helper python script, hosted inside the wiki repo to inject per-file footers.
Note that the GitHub wiki supports a general sidebar and footer that is show on all pages.
In RST, you can use the RST comments to mark the start of the footer. The script can then check each file, remove the current footer and inject a new one.
The RST comment can look like this.
.. footer-start-marker
For pageoutline, just a script that adds the page TOC at the very top.
As per #2 (comment):
See how to convert TracWiki Macros like - [[TitleIndex(Administrative/)]]
TracWiki macro [[PageOutline]] was alredy converted into the RST content directive:
.. contents::
in #9See how to update the _Sidebar.rst to also include the list of last N modified pages, to get the same functionality as Trac.
Suggestion from Dan: In order for TitleIndex macros to be more useful, a script should run regularly (say, every time the wiki is updated) and update the file lists, instead of just once, at importing.
The text was updated successfully, but these errors were encountered: