summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanadiae <vanadiae35@gmail.com>2022-02-24 22:43:39 +0000
committerVanadiae <vanadiae35@gmail.com>2022-02-24 22:43:39 +0000
commit677fb7a4313d836de270a0bf7e9dc2b3ede99e58 (patch)
treedc9937299e2ecbc811819821c74d01811c1ce46a
parent78be016d0bd59d4c6bea07311ccdfb6f1b66efa0 (diff)
downloadpango-677fb7a4313d836de270a0bf7e9dc2b3ede99e58.tar.gz
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.
-rw-r--r--docs/meson.build2
1 files changed, 1 insertions, 1 deletions
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',