maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r542086 - /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Date Mon, 28 May 2007 02:48:38 GMT
Author: jvanzyl
Date: Sun May 27 19:48:37 2007
New Revision: 542086

URL: http://svn.apache.org/viewvc?view=rev&rev=542086
Log:
o note about jira issue related to the hard coding of the velocity use and the need for a
content filtering inteface.

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java?view=diff&rev=542086&r1=542085&r2=542086
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Sun May 27 19:48:37 2007
@@ -181,6 +181,7 @@
 
                 RenderingContext context = new RenderingContext( moduleBasedir, doc, module.getParserId()
);
 
+                // DOXIA-111: we need a general filter here that knows how to alter the context
                 if ( doc.endsWith( ".vm" ) )
                 {
                     context.setAttribute( "velocity", "true" );
@@ -289,6 +290,7 @@
         {
             Reader reader = null;
 
+            // DOXIA-111: the filter used here must be checked generally.
             if ( renderingContext.getAttribute( "velocity" ) != null )
             {
                 String resource = new File( fullPathDoc ).getAbsolutePath();



Mime
View raw message