Hi Michael,

I had a chat with Herve last night, and he mentioned this is actually not
possible. If one wants to use velocity macros one must put it in the site
(if you put them in your theme it will not work). Which is a shame, as I
have a project with 50 submodules and each module requires #myMacro() just
once, so I was hoping to have it declared once in the site.vm in the theme,
and then use it in each of those modules.

2016-04-20 8:31 GMT+02:00 Michael Osipov <micha...@apache.org>:

> Am 2016-04-19 um 20:26 schrieb Petar Tahchiev:
>
>> Hello,
>>
>> I'm asking this question here, as I don't really see the answer in the
>> documentation or anywhere else on the internet. If you have a website
>> document: src/site/asciidoc/index.adoc.vm and you use a velocity macro in
>> it:
>>
>> # myMacro()
>>
>>
>> I know doxia will process the velocity and it works fine, but will it also
>> process the macro? I doesn't work for me, and I'm not sure if it is
>> implemented at all. I'm trying to debug it now, but I can't seem to find
>> any setting regarding this.
>>
>
> Hervé and me have been working at Doxia and the rest lately a lot. Do you
> think you could create a sample project for that? I would take a look at it.
>
> Michael
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


-- 
Regards, Petar!
Karlovo, Bulgaria.
---
Public PGP Key at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

Reply via email to