Skip to content

DOC: Implement script to validate list indentation in docs #21520

Open
@datapythonista

Description

@datapythonista

In #21518 it's been identified that several lists in the documentation don't follow the restructuredText standard (no indentation for top-level lists, 4 space indentation for sublists).

In that issue, (hopefully) all the formatting has been fixed manually. But it'd be useful to have a script that validates all the documentation pages, and makes sure no wrong formatting exists. Adding this script to lint.sh will also prevent that no lists with the wrong formatting are added in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous IntegrationCode StyleCode style, linting, code_checksDocs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions