Add compatibility with Sphinx 5.1.
Review Request #12488 — Created July 25, 2022 and submitted — Latest diff uploaded
BeanbagDocstringto work with the line-processing
interface of Sphinx 5.1, and fixes up unit tests to check expected
results for Django's
:setting:role on 5.0 an higher.
Ran unit tests using Sphinx 4.5, 5.0, and 5.1. All tests pass.