GNOME Bugzilla – Bug 764407
Broken links to structs in function definitions
Last modified: 2016-06-07 10:00:33 UTC
on page: https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html Pretty much all of the links in function definitions seem to be broken. For example clicking gboolean in any function def. will lead to https://gstreamer.freedesktop.org/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean which 404's. Seems like any links that lead to the same page (for example GstVideoInfo) work, but the rest don't. On an additional note you might want to recheck the information on that page. For example the example for gst_video_frame_map() (https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#gst-video-frame-map) uses a non-existing function GST_VIDEO_FRAME_PLANE_PSTRIDE().
*** Bug 766939 has been marked as a duplicate of this bug. ***
This must be a gtk-doc bug, I don't think anything changed here on our side. > Preparing docs for upload (rebasing cross-references) ... > On-line location of glib: https://developer.gnome.org/glib/unstable/ > ... Stefan, any ideas?
How do we upload the docs? Do we run 'gtkdoc-rebase --online --html-dir=/path/to/our/docs' ?
Yes, afaict: https://cgit.freedesktop.org/gstreamer/common/tree/upload-doc.mak#n20
Created attachment 328765 [details] build.log.xz We narrowed this down to a problem with gtkdoc-fixxref. Log attached, not sure if it shows anything useful though.
Tim, is this with the patch I posted: https://paste.fedoraproject.org/372781/64205314/ If you run: xzcat ~/Downloads/build.log.xz | grep "Scanning index" | grep --color "dir=" or look at: https://paste.fedoraproject.org/372835/68000014/ we can see that the issue is that the dirs are not ending on a '/'.
Everything works fine for me now with that gtkoc-fixxref patch applied.
Thanks for verifying! commit 86eeca1a9b27fb68aeaba77ad1959b3aa1a78080 Author: Stefan Sauer <ensonic@users.sf.net> Date: Tue May 31 21:05:35 2016 +0200 fixxref: add missing path separator
*** Bug 762520 has been marked as a duplicate of this bug. ***