[pango: 1/2] docs: Don't install in doc/pango/reference folder




commit 677fb7a4313d836de270a0bf7e9dc2b3ede99e58
Author: Vanadiae <vanadiae35 gmail com>
Date:   Thu Feb 24 22:43:39 2022 +0000

    docs: Don't install in doc/pango/reference folder
    
    Currently Devhelp (and hence Builder) cannot find the pango documentation,
    which means that all pango classes/enums links from GTK open the online
    version of the pango docs instead of using the local one.
    This is because pango installs its documentation in a subfolder under
    $datadir/doc/pango/reference instead of $datadir/doc/pango*/ where
    devhelp would be able to detect the pango*.devhelp2 file and hence
    show the pango docs. I assume the reason to put those docs in a
    subfolder is to keep the pango docs "tidy" since there can be 6 of them.
    But not having them available in devhelp makes the whole point of having
    docs installed moot, and as such I believe the inconvenient of having 6
    different Pango* documentation in the devhelp list are less important
    than being able to actually use the offline installed documentation.
    
    Hence this commit changes the docs install directory to $datadir/doc.

 docs/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index 100deb39..e123da2a 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -49,7 +49,7 @@ pango_content_files = [
 doc_conf = configuration_data()
 doc_conf.set('PANGO_VERSION', meson.project_version())
 
-docs_dir = pango_datadir / 'doc/pango/reference'
+docs_dir = pango_datadir / 'doc'
 
 pango_toml = configure_file(input: 'pango.toml.in',
                             output: 'pango.toml',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]