GNOME Bugzilla – Bug 698021
GtkSourceView: bad links to GTK+ symbols (should be version 3 instead of version 2)
Last modified: 2014-03-08 20:23:38 UTC
Similar to bug #697587. Example: https://developer.gnome.org/gtksourceview/stable/GtkSourceBuffer.html#GtkSourceBuffer.object-hierarchy The link to GtkTextBuffer points to: https://developer.gnome.org/gtk2/GtkTextBuffer.html It should instead points to: https://developer.gnome.org/gtk3/stable/GtkTextBuffer.html
I don't know how the documentation available on the web site is generated, but in the Makefile.am, the FIXXREF_OPTIONS mention gtk3: https://git.gnome.org/browse/gtksourceview/tree/docs/reference/Makefile.am#n70 And the links work correctly in devhelp.
I just checked the 3.10.1 and 3.11.2 tarballs and the generated HTML files have pointers to developer.gnome.org/gtk2/, I'm reassigning the bug to gtksourceview, but maybe it should go to gtk-doc.
I think everything is fine in GtkSourceView, it's maybe a bug with the FIXXREF_OPTIONS.
In developer.gnome.org: > <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html">GtkTextBuffer</a> HTML file generated locally, not installed (in docs/reference/html/): > <a href="../gtk3/GtkTextBuffer.html">GtkTextBuffer</a> HTML file generated locally, and installed in /opt/gnome/: > <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html">GtkTextBuffer</a> So it seems that when installing the files, the links are modified (from relative paths to absolute paths). If gtk2 is present, it has maybe the priority. So it's maybe a gtk-doc bug.
It has been fixed recently, developer.gnome.org is just not up-to-date. *** This bug has been marked as a duplicate of bug 644111 ***