Skip to content

Commit

Permalink
Fix tutorial links.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Dec 5, 2023
1 parent 8e78c2f commit 79e2ba7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions asio/src/doc/tutorial.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,11 @@
<xsl:value-of select="@refid"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="$refid = 'index'">
<xsl:text>[link asio.tutorial </xsl:text>
<xsl:value-of select="."/>
<xsl:text>]</xsl:text>
</xsl:when>
<xsl:when test="$refid = 'asynchronous_operation'">
<xsl:text>[link asio.overview.model.async_ops </xsl:text>
<xsl:value-of select="."/>
Expand Down Expand Up @@ -394,12 +399,7 @@
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="$refid='index_1index'">
<xsl:text>[link asio.tutorial </xsl:text>
<xsl:value-of select="$text"/>
<xsl:text>]</xsl:text>
</xsl:when>
<xsl:when test="@external='reference.tags'">
<xsl:when test="contains(@external, 'reference.tags')">
<xsl:variable name="anchor">
<xsl:call-template name="refid-to-anchor">
<xsl:with-param name="text" select="$refid"/>
Expand Down

0 comments on commit 79e2ba7

Please sign in to comment.