webkit2gtk-4.1 and webkit2gtk-4.0 are separate API versions. Even though all the APIs are the same, the docs should still not conflict. Currently webkitgtk-4.1 installs docs as webkit2gtk-4.0.
(In reply to Michael Catanzaro from comment #0) > Currently webkitgtk-4.1 installs docs as webkit2gtk-4.0. Actually this is true for the latest release, 2.36.3, but we replaced gtk-doc with gi-docgen without any releases yet. So not sure whether this problem remains.
This is now solved, we had to do fix it for the GTK4 docs as well as per bug #237211 *** This bug has been marked as a duplicate of bug 237211 ***