Changeset ea93c11 for chapter09


Ignore:
Timestamp:
01/25/2024 05:59:06 PM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
31a18d02, 44850bb
Parents:
9ac6ff5
git-author:
Xi Ruoyao <xry111@…> (01/25/2024 05:49:29 PM)
git-committer:
Xi Ruoyao <xry111@…> (01/25/2024 05:59:06 PM)
Message:

treewide: Use <ulink> instead of <filename> for man pages

"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.

Location:
chapter09
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter09/networkd.xml

    r9ac6ff5 rea93c11  
    5151    <filename class="extension">.network</filename> files. For detailed
    5252    descriptions and example contents of these configuration files, consult
    53     the <filename>systemd-link(5)</filename>,
    54     <filename>systemd-netdev(5)</filename> and
    55     <filename>systemd-network(5)</filename> manual pages.</para>
     53    the <ulink role='man' url='&man;systemd-link.5'>systemd-link(5)</ulink>,
     54    <ulink role='man' url='&man;systemd-netdev.5'>systemd-netdev(5)</ulink>,
     55    and <ulink role='man'
     56    url='&man;systemd-network.5'>systemd-network(5)</ulink> manual
     57    pages.</para>
    5658
    5759    <sect3 id="systemd-network-devices">
     
    114116
    115117          <para>
    116             See <filename>systemd.link(5)</filename> for more information.
     118            See <ulink role='man' url='&man;systemd.link.5'>systemd.link(5)</ulink> for more information.
    117119          </para>
    118120        </listitem>
     
    358360     domain) because they are handled by the
    359361     <systemitem class='library'>myhostname</systemitem> NSS module, read
    360      the man page <filename>nss-myhostname(8)</filename> for details.</para>
     362     the man page <ulink role='man'
     363     url='&man;nss-myhostname.8'>nss-myhostname(8)</ulink> for
     364     details.</para>
    361365
    362366     <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents
  • chapter09/systemd-custom.xml

    r9ac6ff5 rea93c11  
    2222    entries commented out with the default settings indicated. This file is
    2323    where the log level may be changed as well as some basic logging settings.
    24     See the <filename>systemd-system.conf(5)</filename> manual page for details
    25     on each configuration option.</para>
     24    See the <ulink role='man'
     25    url='&man;systemd-system.conf.5'>systemd-system.conf(5)</ulink> manual
     26    page for details on each configuration option.</para>
    2627
    2728  </sect2>
     
    9091    files with the same name in
    9192    <filename class="directory">/usr/lib/tmpfiles.d</filename>. See
    92     <filename>tmpfiles.d(5)</filename> manual page for file format
    93     details.</para>
     93    <ulink role='man' url='&man;tmpfiles.d.5'>tmpfiles.d(5)</ulink> manual
     94    page for file format details.</para>
    9495
    9596    <para>
     
    136137EOF</userinput></screen>
    137138
    138      <para>See <filename>systemd.unit(5)</filename> manual page for more
     139     <para>See <ulink role='man'
     140     url='&man;systemd.unit.5'>systemd.unit(5)</ulink> manual page for more
    139141     information. After creating the configuration file, run
    140142     <userinput>systemctl daemon-reload</userinput> and <userinput>systemctl
     
    252254EOF</userinput></screen>
    253255
    254     <para>See the <filename>systemd-coredump(8)</filename>,
    255     <filename>coredumpctl(1)</filename>, and
    256     <filename>coredump.conf.d(5)</filename> manual pages for more
    257     information.</para>
     256    <para>See the <ulink role='man' url='&man;systemd-coredump.8'>systemd-coredump(8)</ulink>,
     257    <ulink role='man' url='&man;coredumpctl.1'>coredumpctl(1)</ulink>, and
     258    <ulink role='man'
     259    url='&man;coredump.conf.d.5'>coredump.conf.d(5)</ulink> manual pages for
     260    more information.</para>
    258261  </sect2>
    259262
  • chapter09/udev.xml

    r9ac6ff5 rea93c11  
    226226      <literal>pre:</literal> dependencies, or a mixture of both
    227227      <literal>pre:</literal> and <literal>post:</literal> dependencies.  See
    228       the <filename>modprobe.d(5)</filename> manual page for more information
    229       on <quote>softdep</quote> syntax and capabilities.</para>
     228      the <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink>
     229      manual page for more information on <quote>softdep</quote> syntax and
     230      capabilities.</para>
    230231
    231232      <para revision="sysv">If the module in question is not a wrapper and is
  • chapter09/usage.xml

    r9ac6ff5 rea93c11  
    3333    uses a run levels scheme. There are seven run levels, numbered 0 to 6.
    3434    (Actually, there are more run levels, but the others are for special cases and are
    35     generally not used. See <filename>init(8)</filename> for more details.)
     35    generally not used. See <ulink role='man'
     36    url='&man;init.8'>init(8)</ulink> for more details.)
    3637    Each one of the seven corresponds to actions the computer is supposed to
    3738    perform when it starts up or shuts down. The default run level is 3. Here are the
     
    342343  doubt, look in the <filename class="directory">/usr/share/keymaps</filename>
    343344  and <filename class="directory">/usr/share/consolefonts</filename> directories
    344   for valid keymaps and screen fonts. Read the <filename>loadkeys(1)</filename> and
    345   <filename>setfont(8)</filename> manual pages to determine the correct
    346   arguments for these programs.</para>
     345  for valid keymaps and screen fonts. Read the <ulink role='man'
     346  url='&man;loadkeys.1'>loadkeys(1)</ulink> and <ulink role='man'
     347  url='&man;setfont.8'>setfont(8)</ulink> manual pages to determine the
     348  correct arguments for these programs.</para>
    347349
    348350  <para>The <filename>/etc/sysconfig/console</filename> file should contain lines
Note: See TracChangeset for help on using the changeset viewer.