about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-01-23 16:59:31 +0100
committerpennae <82953136+pennae@users.noreply.github.com>2023-01-26 00:32:56 +0100
commit381dcd7f9dd1e230aebbe6cfd58fc1d6d769506e (patch)
tree77f82047e39a03e6d524171523b93435125790aa /nixos/lib
parent45ef4e622c8d6301010d1fab6a2c266932d8ceca (diff)
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.
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/make-options-doc/options-to-docbook.xsl4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/lib/make-options-doc/options-to-docbook.xsl b/nixos/lib/make-options-doc/options-to-docbook.xsl
index a2e88febdaff3..05a98ac6946df 100644
--- a/nixos/lib/make-options-doc/options-to-docbook.xsl
+++ b/nixos/lib/make-options-doc/options-to-docbook.xsl
@@ -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>