fix https://github.com/NixOS/nixops/issues/331

+2 -1
+2 -1
nixos/doc/manual/options-to-docbook.xsl
··· 11 11 <xsl:output method='xml' encoding="UTF-8" /> 12 12 13 13 <xsl:param name="revision" /> 14 + <xsl:param name="program" /> 14 15 15 16 16 17 <xsl:template match="/expr/list"> ··· 188 189 </xsl:otherwise> 189 190 </xsl:choose> 190 191 </xsl:when> 191 - <xsl:when test="$revision != 'local' and contains(@value, 'nixops') and contains(@value, '/nix/')"> 192 + <xsl:when test="$revision != 'local' and $program = 'nixops' and contains(@value, '/nix/')"> 192 193 <xsl:attribute name="xlink:href">https://github.com/NixOS/nixops/blob/<xsl:value-of select="$revision"/>/nix/<xsl:value-of select="substring-after(@value, '/nix/')"/></xsl:attribute> 193 194 </xsl:when> 194 195 <xsl:otherwise>