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.
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