Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restored broken links from flags to their fields/assemblies. #560

Merged
merged 1 commit into from Dec 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/metaschema/lib/metaschema-jsondocs-hugo-uswds.xsl
Expand Up @@ -44,7 +44,7 @@
<xsl:apply-templates select="allowed-values"/>
<xsl:for-each-group select="key('references',@name)/parent::*" group-by="true()">
<p><xsl:text>Appears as a property on: </xsl:text>
<xsl:for-each-group select="current-group()" group-by="@ref">
<xsl:for-each-group select="current-group()" group-by="(@ref|@name)">
<xsl:if test="position() gt 1 and last() ne 2">, </xsl:if>
<xsl:if test="position() gt 1 and position() eq last()"> and </xsl:if>
<xsl:apply-templates select="." mode="link-here"/>
Expand Down
2 changes: 1 addition & 1 deletion build/metaschema/lib/metaschema-xmldocs-hugo-uswds.xsl
Expand Up @@ -43,7 +43,7 @@
<xsl:apply-templates select="allowed-values"/>
<xsl:for-each-group select="key('references',@name)/parent::*" group-by="true()">
<p><xsl:text>This attribute appears on: </xsl:text>
<xsl:for-each-group select="current-group()" group-by="@ref">
<xsl:for-each-group select="current-group()" group-by="(@ref|@name)">
<xsl:if test="position() gt 1 and last() ne 2">, </xsl:if>
<xsl:if test="position() gt 1 and position() eq last()"> and </xsl:if>
<xsl:apply-templates select="." mode="link-here"/>
Expand Down