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.

pennae 381dcd7f 45ef4e62

Changed files
-4
nixos
lib
make-options-doc
-4
nixos/lib/make-options-doc/options-to-docbook.xsl
···
<xsl:param name="revision" />
<xsl:param name="documentType" />
-
<xsl:param name="program" />
<xsl:param name="variablelistId" />
<xsl:param name="optionIdPrefix" />
···
<xsl:attribute name="xlink:href">https://github.com/NixOS/nixpkgs/blob/<xsl:value-of select="$revision"/>/<xsl:value-of select="@value"/></xsl:attribute>
</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>