Changeset 26c597d


Ignore:
Timestamp:
03/03/2023 04:45:01 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
17217e43
Parents:
504e5ce
Message:

libnotify: Tell how to generate API doc with gi-docgen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/libnotify.xml

    r504e5ce r26c597d  
    8484    <bridgehead renderas="sect4">Optional</bridgehead>
    8585    <para role="optional">
    86       <xref linkend="gtk-doc"/> and
     86      <xref linkend="gi-docgen"/> and
    8787      <xref linkend="xmlto"/>
    8888    </para>
     
    128128
    129129    <para>
     130      If you have <xref linkend='gi-docgen'/> installed and wish to build
     131      the API documentation for this package, issue:
     132    </para>
     133
     134    <!-- No &libnotify-version; here because we'll mv the doc dir anyway -->
     135<screen remap='doc'><userinput>sed "/docs_dir =/s@\$@ / 'libnotify'@" \
     136    -i ../docs/reference/meson.build   &amp;&amp;
     137meson configure -Dgtk_doc=true         &amp;&amp;
     138ninja</userinput></screen>
     139
     140    <para>
    130141      Now, as the <systemitem class="username">root</systemitem> user:
    131142    </para>
     
    141152    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    142153      href="../../xincludes/meson-buildtype-release.xml"/>
    143 
    144     <para>
    145       <parameter>-Dgtk_doc=false</parameter>: Remove this parameter if
    146       <application>GTK-Doc</application> is installed and you wish to rebuild
    147       and install the API documentation.
    148     </para>
    149 
    150154  </sect2>
    151155
Note: See TracChangeset for help on using the changeset viewer.