Skip to content

Commit f4858cd

Browse files
committed
Update XSL to match UI.
1 parent 450be03 commit f4858cd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

entries2html-base.xsl

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
<!-- Set this to true to display links to /category/version/{version} -->
55
<xsl:variable name="version-category-links" select="false()"/>
6+
<!-- Set this to false to prevent prefixing method names with a dot -->
7+
<xsl:variable name="method-prefix-dot" select="true()"/>
68

79
<xsl:template match="/">
810
<script>{
@@ -133,7 +135,7 @@
133135
<xsl:for-each select="signature[1]">
134136
<xsl:call-template name="method-signature">
135137
<xsl:with-param name="method-name" select="$entry-name"/>
136-
<xsl:with-param name="dot" select="true()"/>
138+
<xsl:with-param name="dot" select="$method-prefix-dot"/>
137139
</xsl:call-template>
138140
</xsl:for-each>
139141
</a>
@@ -143,7 +145,7 @@
143145
<li>
144146
<xsl:call-template name="method-signature">
145147
<xsl:with-param name="method-name" select="$entry-name"/>
146-
<xsl:with-param name="dot" select="true()"/>
148+
<xsl:with-param name="dot" select="$method-prefix-dot"/>
147149
</xsl:call-template>
148150
</li>
149151
</xsl:for-each>
@@ -162,7 +164,7 @@
162164
<xsl:for-each select="signature[1]">
163165
<xsl:call-template name="method-signature">
164166
<xsl:with-param name="method-name" select="$entry-name"/>
165-
<xsl:with-param name="dot" select="true()"/>
167+
<xsl:with-param name="dot" select="$method-prefix-dot"/>
166168
</xsl:call-template>
167169
</xsl:for-each>
168170
</span>
@@ -274,7 +276,7 @@
274276
</xsl:if>
275277
<xsl:call-template name="method-signature">
276278
<xsl:with-param name="method-name" select="$entry-name"/>
277-
<xsl:with-param name="dot" select="true()"/>
279+
<xsl:with-param name="dot" select="$method-prefix-dot"/>
278280
</xsl:call-template>
279281
</h4>
280282

0 commit comments

Comments
 (0)