forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: Howto: "macros" in xdocs?
Date Fri, 05 Nov 2004 08:27:00 GMT
Charles Ames escribió:
> Forgive me if this is in the FAQ, but we didn't see it...
> We're building a product documentation site with Forrest.  We want to define
> site-wide "macros", like ${product-version} and ${release-date}, that can be
> inserted in individual content\xdocs\* files and replaced by corresponding
> literal values, like "6.0.1", at render time.
> What's the easiest way to do this with Forrest?

There are some ways how you can do that.

I reckon one way would be to implemend it in the skin and skinconf. Have 
a look in the document2site.xsl and site2xhtml.xsl.



"Together we stand, divided we fall"
Hey you (Pink Floyd)

View raw message