Restore anchors with legacy ids. Existing docs break without them.
Change-Id: I209fc6cf877a2f051264b1d3db4f5b894c284be9
This commit is contained in:
@@ -76,7 +76,6 @@ clouddocs-maven-plugin 1.14.0 (March 3, 2014)
|
||||
- Generate wadl and json representations of the API in the content directory. Using new wadl-tools version.
|
||||
- Support adding an xml:id attribute to the wadl:resources element in the DocBook content that will make the resulting section URIs unique.
|
||||
- For Rackspace branding, use new copyright format.
|
||||
- Remove legacy anchor in DocBook generated from wadl that could result in duplicate ids in some situations.
|
||||
- In content generated from wadl, no longer suppress content marked role="shortdesc" from the method docs.
|
||||
- Apiref output: Automatically generate the toc content.
|
||||
- Apiref output: Support Google Analytics parameters.
|
||||
|
||||
@@ -271,6 +271,9 @@
|
||||
<section xml:id="{$sectionIdComputed}">
|
||||
<xsl:processing-instruction name="dbhtml">stop-chunking</xsl:processing-instruction>
|
||||
<title><xsl:value-of select="$method.title"/></title>
|
||||
<xsl:if test="$sectionIdComputed != concat(@name,'_',$app_raxid,$raxid,'_',translate(parent::wadl:resource/@path, $replacechars, '___'),'_')">
|
||||
<anchor xml:id="{concat(@name,'_',$app_raxid,$raxid,'_',translate(parent::wadl:resource/@path, $replacechars, '___'),'_')}" xreflabel="{$method.title}"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="$security = 'writeronly'">
|
||||
<para security="writeronly">Source wadl: <link xlink:href="{@rax:original-wadl}"><xsl:value-of select="@rax:original-wadl"/></link> (method id: <xsl:value-of select="@rax:id"/>)</para>
|
||||
</xsl:if>
|
||||
|
||||
Reference in New Issue
Block a user