nixos/make-options-doc: remove program argument to xslt

this doesn't seem to be set anywhere, not from make-options-doc nor
anywhere else.
This commit is contained in:
pennae 2023-01-23 16:59:31 +01:00 committed by pennae
parent 45ef4e622c
commit 381dcd7f9d

View file

@ -13,7 +13,6 @@
<xsl:param name="revision" />
<xsl:param name="documentType" />
<xsl:param name="program" />
<xsl:param name="variablelistId" />
<xsl:param name="optionIdPrefix" />
@ -150,9 +149,6 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$revision != 'local' and $program = 'nixops' and contains(@value, '/nix/')">
<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>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="xlink:href">file://<xsl:value-of select="@value"/></xsl:attribute>
</xsl:otherwise>