Re: Re: Re: Does doxia render velocity macros in site

2016-04-20 Thread Petar Tahchiev
ave to create a custom skin. You should really create > complete sample project. > > Michael > > > Gesendet: Mittwoch, 20. April 2016 um 14:51 Uhr > > Von: "Petar Tahchiev" > > An: "Maven Developers List" > > Betreff: Re: Re: Does doxia render

Re: Re: Re: Does doxia render velocity macros in site

2016-04-20 Thread Michael Osipov
0. April 2016 um 14:51 Uhr > Von: "Petar Tahchiev" > An: "Maven Developers List" > Betreff: Re: Re: Does doxia render velocity macros in site > > Indeed, > > with MSITE 3.5.1 I can add my macro in a .vm file next to my documentation, > but since i have

Re: Re: Does doxia render velocity macros in site

2016-04-20 Thread Petar Tahchiev
Indeed, with MSITE 3.5.1 I can add my macro in a .vm file next to my documentation, but since i have 50 modules in my project and they are require this macro it kind of makes it unusable. I was hoping to have it declared in my theme just once, and then reference it from every module. 2016-04-20 1

Re: Re: Does doxia render velocity macros in site

2016-04-20 Thread Michael Osipov
> Here's the test repo: > > https://github.com/ptahchiev/maven-velocity-macro Cloned and tested. Upgrade to MSITE 3.5.1 and your pain will go away. #parse/#include has been resolved with DOXIASITETOOLS 1.7.1/MSITE 3.5.1. Michael > 2016-04-20 8:57 GMT+02:00 Petar Tahchiev : > > > Ok, > > > > h

Re: Does doxia render velocity macros in site

2016-04-20 Thread Petar Tahchiev
Here's the test repo: https://github.com/ptahchiev/maven-velocity-macro 2016-04-20 8:57 GMT+02:00 Petar Tahchiev : > Ok, > > here's what I've tried: >= NOMACRO: I create a file properties.vm, right next to my > index.adoc.vm and inside it I put > > #set($a = "Petar") > $a > >

Re: Does doxia render velocity macros in site

2016-04-19 Thread Petar Tahchiev
Ok, here's what I've tried: = NOMACRO: I create a file properties.vm, right next to my index.adoc.vm and inside it I put #set($a = "Petar") $a then inside my index.adoc.vm I put #parse("properties.vm") [ERROR] Max recursion depth reached (10) File stack: > C:\wo

Re: Does doxia render velocity macros in site

2016-04-19 Thread Michael Osipov
Am 2016-04-20 um 08:35 schrieb Petar Tahchiev: 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 w

Re: Does doxia render velocity macros in site

2016-04-19 Thread Petar Tahchiev
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 #myMac

Re: Does doxia render velocity macros in site

2016-04-19 Thread Michael Osipov
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 d

Does doxia render velocity macros in site

2016-04-19 Thread 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,