Skip to content

[Docs][CI] Enable more sphinx-lint rules for documentation #41611

@amoeba

Description

@amoeba

Describe the enhancement requested

The work in #39990 enabled sphinx-lint as a pre-commit hook but enabled just two rules so as to start off simple:

  • trailing-whitespace
  • missing-final-newline

sphinx-lint offers a total of 22 rules and some of these are clearly useful as, at least at the time of writing, they catch meaningful meaningful problems in our documentation sources.

We should consider the full ruleset and enabling as many as we think offer good value.

Component(s)

Continuous Integration, Documentation

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions