trivial: create urlmap for each gi-docgen target rather than sharing

This commit is contained in:
Mario Limonciello 2021-09-07 15:08:01 -05:00 committed by Mario Limonciello
parent 1210aa4ae7
commit 9d113822c9
6 changed files with 16 additions and 9 deletions

View File

@ -42,7 +42,7 @@ base_url = "https://github.com/fwupd/fwupd/blob/@version@/"
content_images = [
"../data/org.freedesktop.fwupd.svg",
]
urlmap_file = "../urlmap.js"
urlmap_file = "urlmap_fwupd.js"
[[object]]
name = "build_user_agent_system"

View File

@ -49,7 +49,7 @@ content_images = [
"architecture-plan.svg",
"../data/org.freedesktop.fwupd.svg",
]
urlmap_file = "../urlmap.js"
urlmap_file = "urlmap_fwupdplugin.js"
[[object]]
name = "Device"

View File

@ -72,8 +72,11 @@ if get_option('docs') == 'docgen'
install_data(['index.html'],
install_dir : join_paths(datadir, 'doc', 'fwupd')
)
install_data(['urlmap.js'],
install_dir : join_paths(datadir, 'doc', 'fwupd')
install_data(['urlmap_fwupd.js'],
install_dir : join_paths(datadir, 'doc', 'fwupd', 'libfwupd')
)
install_data(['urlmap_fwupdplugin.js'],
install_dir : join_paths(datadir, 'doc', 'fwupd', 'libfwupdplugin')
)
elif get_option('docs') == 'gtkdoc'

View File

@ -1,5 +0,0 @@
baseURLs = [
[ 'Gio', 'https://people.gnome.org/~ebassi/docs/_build/Gio/' ],
[ 'GObject', 'https://people.gnome.org/~ebassi/docs/_build/GObject/' ],
[ 'Fwupd', '../libfwupd/' ],
]

4
docs/urlmap_fwupd.js Normal file
View File

@ -0,0 +1,4 @@
baseURLs = [
[ 'Gio', 'https://people.gnome.org/~ebassi/docs/_build/Gio/' ],
[ 'GObject', 'https://people.gnome.org/~ebassi/docs/_build/GObject/' ],
]

View File

@ -0,0 +1,5 @@
baseURLs = [
[ 'Gio', 'https://people.gnome.org/~ebassi/docs/_build/Gio/' ],
[ 'GObject', 'https://people.gnome.org/~ebassi/docs/_build/GObject/' ],
[ 'Fwupd', '../libfwupd/' ],
]