libsoup3: Fix the description of -Ddocs=enabled, and add a sed to fix docdir

This commit is contained in:
Xi Ruoyao 2023-02-11 23:23:02 +08:00
parent ca02f08d0f
commit 63de2d9039
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -109,6 +109,12 @@
<sect2 role="installation">
<title>Installation of libsoup3</title>
<para>
Fix the installation path of API documentation:
</para>
<screen><userinput>sed 's/apiversion/soup_version/' -i docs/reference/meson.build</userinput></screen>
<para>
Install <application>libsoup3</application> by running the following
commands:
@ -154,9 +160,11 @@ ninja</userinput></screen>
</para>
<para>
<option>-Ddocs=enabled</option>: Use this option if you want to build
the documentation. Note that you must have
<xref linkend="gi-docgen"/> installed.
<option>-Ddocs=enabled</option>: If <xref linkend='gi-docgen'/> is
installed, the API documentation will be built and installed no matter
if this option is used or not. This option causes the
<command>meson</command> command to fail if
<xref linkend='gi-docgen'/> is not installed.
</para>
<para>