]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/custom-html: update link to Arch manual
authorMike Yuan <me@yhndnzj.com>
Sun, 14 Apr 2024 15:38:38 +0000 (23:38 +0800)
committerMike Yuan <me@yhndnzj.com>
Sun, 14 Apr 2024 15:38:38 +0000 (23:38 +0800)
man/custom-html.xsl

index 8b21e15fdae6f764b69b33168f2ce880f1aff643..2373bc34156d2a178c9b07f1e8b481f2c95a5f24 100644 (file)
 <xsl:template match="citerefentry[@project='archlinux']">
   <a>
     <xsl:attribute name="href">
-      <xsl:text>https://www.archlinux.org/</xsl:text>
-      <xsl:value-of select="refentrytitle"/>
-      <xsl:text>/</xsl:text>
+      <xsl:text>https://man.archlinux.org/man/</xsl:text>
       <xsl:value-of select="refentrytitle"/>
       <xsl:text>.</xsl:text>
       <xsl:value-of select="manvolnum"/>
-      <xsl:text>.html</xsl:text>
+      <xsl:text>.en.html</xsl:text>
     </xsl:attribute>
     <xsl:call-template name="inline.charseq"/>
   </a>