Changeset 3a7d81ba for gnome/platform


Ignore:
Timestamp:
02/14/2023 04:21:13 PM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
b266534e
Parents:
e6bb6b7f
git-author:
Xi Ruoyao <xry111@…> (02/14/2023 03:58:43 PM)
git-committer:
Xi Ruoyao <xry111@…> (02/14/2023 04:21:13 PM)
Message:

gcr (3 and 4): Make doc generation explicit

Location:
gnome/platform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gnome/platform/gcr.xml

    re6bb6b7f r3a7d81ba  
    135135
    136136    <para>
     137      If you have <xref linkend='gi-docgen'/> installed and wish to build
     138      the API documentation for this package, issue:
     139    </para>
     140
     141<screen role='nodump'><userinput>sed -e "/install_dir/s@,\$@ / 'gcr-&gcr-version;'&amp;@" \
     142    -e "/fatal-warnings/d"                    \
     143    -i ../docs/*/meson.build                  &amp;&amp;
     144meson configure -Dgtk_doc=true                &amp;&amp;
     145ninja</userinput></screen>
     146
     147    <para>
    137148      To test the results, issue: <command>ninja test</command>.
    138149      The tests must be run from an X Terminal or similar. <!-- One test,
     
    181192
    182193    <para>
    183       <option>-Dgtk_doc=true</option>: Use this switch if you wish
    184       to generate the API reference documentation. Note that you must
    185       have <xref linkend='gi-docgen'/> installed, and use the following
    186       command to fix an issue in the build system before running
    187       <command>cd build</command>:
    188     </para>
    189 
    190 <screen role='nodump'><userinput>sed -e "/install_dir/s@,\$@ / 'gcr-&gcr-version;'&amp;@" \
    191     -e "/fatal-warnings/d" -i docs/*/meson.build</userinput></screen>
    192 
     194      <option>-Dgtk_doc=true</option>: &gi-doc-disable;
     195    </para>
    193196
    194197    <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • gnome/platform/gcr4.xml

    re6bb6b7f r3a7d81ba  
    120120
    121121    <para>
     122      If you have <xref linkend='gi-docgen'/> installed and wish to build
     123      the API documentation for this package, issue:
     124    </para>
     125
     126<screen role='nodump'><userinput>sed -e "/install_dir/s@,\$@ / 'gcr-&gcr4-version;'&amp;@" \
     127    -e "/fatal-warnings/d"                   \
     128    -i ../docs/*/meson.build                 &amp;&amp;
     129meson configure -Dgtk_doc=true               &amp;&amp;
     130ninja</userinput></screen>
     131
     132    <para>
    122133      To test the results, issue: <command>ninja test</command>.
    123134      The tests must be run from an X Terminal or similar.
     
    145156
    146157    <para>
    147       <option>-Dgtk_doc=true</option>: Use this switch if you wish
    148       to generate the API reference documentation. Note that you must
    149       have <xref linkend='gi-docgen'/> installed, and use the following
    150       command to fix an issue in the build system before running
    151       <command>cd build</command>:
    152     </para>
    153 
    154 <screen role='nodump'><userinput>sed -e "/install_dir/s@,\$@ / 'gcr-&gcr4-version;'&amp;@" \
    155     -e "/fatal-warnings/d" -i docs/*/meson.build</userinput></screen>
     158      <option>-Dgtk_doc=true</option>: &gi-doc-disable;
     159    </para>
    156160
    157161    <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.