PyGObject Reference API official vs lazka one

Hi,
I’m a little lost. Why is the official documentation for PyGobject pointing to Welcome to GNOME Python API documentation — GNOME Python API when this one PyGObject API Reference contains everything?

For example I was unable to find “push_main_context” and “pop_main_context” in the first link also the second one contains more lib-binding than the first.

2 Likes

Hi @Narcisse_DOUDIEU_SIE, the PyGObject API Reference is a great resource for sure. The reason for the change is for modernization of how the docs are generated.

PyGObject, like many other GTK libraries, have been upgrading from GTK-Doc to GI-DocGen based documentation. GI-Docgen reuses the introspection data generated by GObject-based libraries to generate the API reference of these libraries.

Previously, we were using pgi-docgen. pgi is a cool project that creates python bindings without C code. pgi-docgen was then able to read the GIR docs and create a Sphinx website from them.

To summarize, the new API docs are using a more standard approach. If you see issues where you think APIs are missing, we would be glad for an issue report here: Issues · Arjan Molenaar / pygobject-docs · GitLab

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.