Author: bdube Date: Sun Jan 23 22:53:28 2011 New Revision: 1062562 URL: http://svn.apache.org/viewvc?rev=1062562&view=rev Log: Use @context and @version to create unique section identifiers in the list of changes
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl?rev=1062562&r1=1062561&r2=1062562&view=diff ============================================================================== --- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl (original) +++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl Sun Jan 23 22:53:28 2011 @@ -166,6 +166,9 @@ <xsl:choose> <xsl:when test="$title != ''"> <section> + <xsl:attribute name="id"> + <xsl:value-of select="concat(@context, '_', ../@version)" /> + </xsl:attribute> <title><xsl:value-of select="$title"/></title> <ul> <xsl:choose> @@ -199,6 +202,9 @@ </xsl:for-each> <xsl:if test="$projectInfo.changes.includeContributorList = 'true'"> <section> + <xsl:attribute name="id"> + <xsl:value-of select="concat('contributors', '_', @version)" /> + </xsl:attribute> <title><i18n:text i18n:key="release_committers">Contributors to this release</i18n:text></title> <p> <i18n:text i18n:key="release_committers_s1">We thank the following people for their contributions to this release.</i18n:text> Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml?rev=1062562&r1=1062561&r2=1062562&view=diff ============================================================================== --- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml (original) +++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml Sun Jan 23 22:53:28 2011 @@ -24,6 +24,7 @@ <person name="Cyriaque Dupoirieux" email="cyriaque.dupoiri...@apache.org" id="CD"/> <person name="Thorsten Scherler" email="thors...@apache.org" id="TS"/> <person name="Juan Jose Pablos" email="che...@apache.org" id="jjp" /> + <persion name="Brian M. Dube" email="bd...@apache.org" id="BMD" /> <person name="Volunteer needed" email="d...@forrest.apache.org" id="open"/> </developers> <!-- Define here the Title of the Context you want to display in the Changes pages. @@ -55,6 +56,10 @@ </p> </section> </notes> + <action type="update" context="code" dev="BMD"> + Use @context and @version to create unique section identifiers + in the list of changes. + </action> <action type="update" context="code" dev="RDG" fixes-bug="FOR-977"> Fix URLs to issues in the release notes generation. </action>