From 26c597d579e9061c0e3ef37d298f3d0d4a42d56a Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 3 Mar 2023 12:45:01 +0800 Subject: [PATCH] libnotify: Tell how to generate API doc with gi-docgen --- x/lib/libnotify.xml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/x/lib/libnotify.xml b/x/lib/libnotify.xml index d8a3a266cc..071050f812 100644 --- a/x/lib/libnotify.xml +++ b/x/lib/libnotify.xml @@ -83,7 +83,7 @@ Optional - and + and @@ -126,6 +126,17 @@ ninja This package does not come with a test suite. + + If you have installed and wish to build + the API documentation for this package, issue: + + + +sed "/docs_dir =/s@\$@ / 'libnotify'@" \ + -i ../docs/reference/meson.build && +meson configure -Dgtk_doc=true && +ninja + Now, as the root user: @@ -140,13 +151,6 @@ mv -v /usr/share/doc/libnotify{,-&libnotify-version;} - - - -Dgtk_doc=false: Remove this parameter if - GTK-Doc is installed and you wish to rebuild - and install the API documentation. - -