Skip to content

users-guide: Ensure extlinks is compatible with Sphinx <4

Ben Gamari requested to merge wip/T23818 into master

The semantics of the extlinks attribute annoyingly changed in Sphinx 4 which we addressed in #22690 (closed). However, in so doing we lost compatibility with older Sphinx versions, which are still in use on some distributions. Fix this.

However, the version check is a bit complicated due to #23818 (closed), which I also fix.

Fixes #23807 (closed). Fixes #23818 (closed).

Edited by Ben Gamari

Merge request reports