Merge branch '1537-fixxref' into 'master'

Meson: doc: fix cross references

Closes #1537

See merge request GNOME/glib!344
This commit is contained in:
Xavier Claessens 2018-09-24 14:49:02 +00:00
commit 8bfb1d0ea3
3 changed files with 3 additions and 4 deletions

View File

@ -221,8 +221,8 @@ if get_option('gtk_doc')
], ],
fixxref_args: [ fixxref_args: [
'--html-dir=' + docpath, '--html-dir=' + docpath,
'--extra-dir=' + join_paths(meson.current_build_dir(), '../glib/html'), '--extra-dir=' + join_paths('gio', '..', 'glib', 'html'),
'--extra-dir=' + join_paths(meson.current_build_dir(), '../gobject/html'), '--extra-dir=' + join_paths('gio', '..', 'gobject', 'html'),
], ],
install: true install: true
) )

View File

@ -140,7 +140,6 @@ if get_option('gtk_doc')
], ],
fixxref_args: [ fixxref_args: [
'--html-dir=' + docpath, '--html-dir=' + docpath,
# TODO: gobject/gio extra dirs
], ],
install: true) install: true)
endif endif

View File

@ -103,7 +103,7 @@ if get_option('gtk_doc')
], ],
fixxref_args: [ fixxref_args: [
'--html-dir=' + docpath, '--html-dir=' + docpath,
'--extra-dir=' + join_paths(meson.current_build_dir(), '../glib/html'), '--extra-dir=' + join_paths('gobject', '..', 'glib', 'html'),
], ],
install: true install: true
) )