This was introduced when soup3 support was added, because we had to bump the soname, but the public API remained the same, so it made sense to keep the same api version in docs. Now with gi-docgen, it looks weird, because we end up with a directory webkit2gtk-4.0 in the tarball that contains the file webkit2gtk-4.1.devhelp2 and the documentation itself shows the api version as 4.1. So, better use the library api version for the docs too now.
Pull request: https://github.com/WebKit/WebKit/pull/2291
This probably also fixes bug #237211.
Committed 252371@main (da77da209f51): <https://commits.webkit.org/252371@main> Reviewed commits have been landed. Closing PR #2291 and removing active labels.