You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2007/03/15 02:35:54 UTC
svn commit: r518433 - in /forrest/trunk:
main/webapp/resources/stylesheets/plugins-to-xdoc.xsl
main/webapp/sitemap.xmap
site-author/content/xdocs/procedures/release/How_to_release.xml
Author: crossley
Date: Wed Mar 14 18:35:53 2007
New Revision: 518433
URL: http://svn.apache.org/viewvc?view=rev&rev=518433
Log:
Automatically construct the full URL for the relevant version of the plugin docs.
Issue: FOR-963
Modified:
forrest/trunk/main/webapp/resources/stylesheets/plugins-to-xdoc.xsl
forrest/trunk/main/webapp/sitemap.xmap
forrest/trunk/site-author/content/xdocs/procedures/release/How_to_release.xml
Modified: forrest/trunk/main/webapp/resources/stylesheets/plugins-to-xdoc.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/stylesheets/plugins-to-xdoc.xsl?view=diff&rev=518433&r1=518432&r2=518433
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/plugins-to-xdoc.xsl (original)
+++ forrest/trunk/main/webapp/resources/stylesheets/plugins-to-xdoc.xsl Wed Mar 14 18:35:53 2007
@@ -19,6 +19,8 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+ <xsl:param name="pluginDocsVersion"/>
+
<xsl:template match="pluginList">
<document>
<header>
@@ -35,7 +37,13 @@
in the projects <code>forrest.properties</code> file. When Forrest
builds the site it will automatically discover the plugin and install
it. For more information on how to use plugins see
- <a href="http://forrest.apache.org/pluginDocs/plugins_0_80/usingPlugins.html">
+<!-- See FOR-963 regarding the reasons for this full URL. -->
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>http://forrest.apache.org/pluginDocs/plugins_</xsl:text>
+ <xsl:value-of select="$pluginDocsVersion"/>
+ <xsl:text>/usingPlugins.html</xsl:text>
+ </xsl:attribute>
Extending Forrest with Plugins
</a>.
</p>
Modified: forrest/trunk/main/webapp/sitemap.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/sitemap.xmap?view=diff&rev=518433&r1=518432&r2=518433
==============================================================================
--- forrest/trunk/main/webapp/sitemap.xmap (original)
+++ forrest/trunk/main/webapp/sitemap.xmap Wed Mar 14 18:35:53 2007
@@ -463,7 +463,9 @@
<map:part src="{lm:plugin.descriptor.forrest}"/>
<map:part src="{lm:plugin.descriptor.whiteboard}"/>
</map:aggregate>
- <map:transform src="{lm:transform.plugins.xdoc}"/>
+ <map:transform src="{lm:transform.plugins.xdoc}">
+ <map:parameter name="pluginDocsVersion" value="{1}"/>
+ </map:transform>
<map:serialize type="xml"/>
</map:match>
Modified: forrest/trunk/site-author/content/xdocs/procedures/release/How_to_release.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/procedures/release/How_to_release.xml?view=diff&rev=518433&r1=518432&r2=518433
==============================================================================
--- forrest/trunk/site-author/content/xdocs/procedures/release/How_to_release.xml (original)
+++ forrest/trunk/site-author/content/xdocs/procedures/release/How_to_release.xml Wed Mar 14 18:35:53 2007
@@ -281,10 +281,6 @@
</ol>
</li>
<li>Similarly edit tabs.xml</li>
- <li>Edit the hard-coded URL in main/webapp/resources/stylesheets/plugins-to-xdoc.xsl
- to be the next version.
- (See FOR-963.)
- </li>
<li>
<p>Remove the past versions (0.6) docs directory by doing 'svn rm site-author/content/xdocs/docs_0_60</p>
<fixme author="">Do we also remove the generated docs from forrest/site/docs_0_60 SVN? This also removes it from the website.</fixme>
Re: svn commit: r518433 - in /forrest/trunk: main/webapp/resources/stylesheets/plugins-to-xdoc.xsl
main/webapp/sitemap.xmap site-author/content/xdocs/procedures/release/How_to_release.xml
Posted by Ross Gardler <rg...@apache.org>.
crossley@apache.org wrote:
> Author: crossley
> Date: Wed Mar 14 18:35:53 2007
> New Revision: 518433
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=518433
> Log:
> Automatically construct the full URL for the relevant version of the plugin docs.
> Issue: FOR-963
Woo-Hoo!!!!
Thanks David.
Ross