Skip to content

Commit

Permalink
Ensured that validation will include the front-matter.
Browse files Browse the repository at this point in the history
The --lint specified with -f index would only validate the
regular pages, not the front-matter. We should check them all.
  • Loading branch information
gerph committed Aug 20, 2023
1 parent a0b35a1 commit ecfd43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/gerph/103/prmindex-makefile.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ all: images indices \&#10;</xsl:text>
<xsl:text>&#10;</xsl:text>
<xsl:text>&#10;</xsl:text>
<xsl:text>validate: &#10;</xsl:text>
<xsl:apply-templates select="//page" mode="validate"/>
<xsl:apply-templates select="//page|//front-matter[@href != '']" mode="validate"/>
<xsl:text>&#10;</xsl:text>
<xsl:text>&#10;</xsl:text>
<xsl:text>clean: clean-headers clean-html clean-sourcexml clean-help clean-images&#10;</xsl:text>
Expand Down

0 comments on commit ecfd43a

Please sign in to comment.