Skip to content

[Docs][CI] Investigate linting C++ and other docs in CI #39990

@amoeba

Description

@amoeba

Describe the enhancement requested

It would be good to look into what we currently have enabled and what we could easily add for linting docs PRs. #39989 found two types of errors, both of which would be good to avoid. I think sphinx-build already offers some form of reStructuredText linting and there appear to be other tools such as https://github.com/sphinx-contrib/sphinx-lint.

  • Find a tool we can use for linting in developer and CI environments
  • Add an archery lint tasks for this
  • Integrate said tool into developer workflows (like pre-commit hooks)
  • Integrate said tool into CI

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