Skip to content

Doc style check action not capturing example files. #432

@dipinknair

Description

@dipinknair

Currently doc style actions are run before generating galleries hence we are not checking the docs generated with python files in examples. For example, pymechanical-examples . This will cause issues since examples generated docs might not comply with vale.
Possible solutions can be

  1. Improve actions to read python files (but this is tricky since vale is not taking any commented rst header and reading multi line strings used as arguments for python functions in examples.)
  2. Create a post doc style actions after generating galleries to check files inside doc/source/examples folder to do vale check on them.

Other solutions are open to discussion 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions