Hello everyone,
I am trying to modify the way the table of content (toc) macro behaves on
xwiki, and I have a few questions concerning that.
1- Is there anywhere else the macro is defined besides in macros.mv? the
changes I've made there did not show up on my xwiki instance after I
restarted it.
2- what is the point of macros.txt? I was not able to find documentation
for what xwiki is doing with that.
3- how would you recommend going about writing a new toc macro? I've been
doing that using velocity on a dedicated xwiki page, but I'm not able to
call some of the methods that toc macro is using, namely this call:
#set ($tocData = ${tdoc.getTOC($init, $max, $numbered)})
Thanks!