-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing referenced SGML file when building documentation #16
Comments
@andreasbaumann try running From what I briefly tested, the whole Lines 84 to 85 in 13b4dbd
That Hope that helps. |
So,
with n>1 might be a problem here.. thanks :-) |
Aha. Found it. Obviously in newer versions of gtkdoc it builds a So the following snippet in Now the problem is: how can you make documentation build with different versions |
I should say I'm using gtk-doc 1.31 on Archlinux. |
Oh geez. @andreasbaumann can you please poke the gnome people (e.g. on IRC) on what we're supposed to do in this situation? @GNOME thanks for breaking app compat again! You're the best!.. |
Poked :-) |
Have a look at their feedback in https://gitlab.gnome.org/GNOME/gtk-doc/issues/103 : "In your case the fix is simple - in https://github.com/kupferlauncher/keybinder/blob/master/docs/keybinder-docs.sgml#L24 - just don't include files you don't need anyway. From a quick look at your sources your library is not providing gobjects - its a plain c library." |
Since this library doesn't define any gobjects, the generated xml/object_index.sgml is always empty, and xml/tree_index.sgml is altogether absent with gtk-doc 1.31+. Fix a possible doc build error by not including the tree_index.sgml. See GitHub issue kupferlauncher#16.
version 0.3.2
./configure --prefix=/usr --enable-gtk-doc
make
results in:
Where are those SGML file supposed to come from?
The text was updated successfully, but these errors were encountered: