tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fix https://github.com/NixOS/nixops/issues/331
Domen Kožar
9 years ago
5260686a
bac26e08
+2
-1
1 changed file
expand all
collapse all
unified
split
nixos
doc
manual
options-to-docbook.xsl
+2
-1
nixos/doc/manual/options-to-docbook.xsl
···
11
<xsl:output method='xml' encoding="UTF-8" />
12
13
<xsl:param name="revision" />
0
14
15
16
<xsl:template match="/expr/list">
···
188
</xsl:otherwise>
189
</xsl:choose>
190
</xsl:when>
191
-
<xsl:when test="$revision != 'local' and contains(@value, 'nixops') and contains(@value, '/nix/')">
192
<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
</xsl:when>
194
<xsl:otherwise>
···
11
<xsl:output method='xml' encoding="UTF-8" />
12
13
<xsl:param name="revision" />
14
+
<xsl:param name="program" />
15
16
17
<xsl:template match="/expr/list">
···
189
</xsl:otherwise>
190
</xsl:choose>
191
</xsl:when>
192
+
<xsl:when test="$revision != 'local' and $program = 'nixops' and contains(@value, '/nix/')">
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>
194
</xsl:when>
195
<xsl:otherwise>