This will allow JSON schemas for these two types of files to describe the version-specific content without requiring any outside information. Fixes: #27031
sphinx-lint
pre-commit
*.rst