Skip to content

Automatically give contributors feedback for documentation changes #1120

@neumantm

Description

@neumantm

I think it would be very helpful to automatically give contributors feedback about documentation changes.

First, it would be nice if the docs of any PR would be build automatically, such that you can see the result.
This would also lower the barrier of entry for new contributors, as they would not need to install all the tools before contributing to the documentation.

Additionally it would be nice to catch any sphinx warnings.
However, this would require all existing sphinx warnings to be fixed first.
(There are currently around 60 warnings.)

Both could be implemented as a GitHub Actions Job.
However, I think it would be more useful to use the service of readthedocs for this.
That ensures the same environment as when the docs are actually build for publishing.

The first step would be to enable readthedocs builds on PRs: https://docs.readthedocs.io/en/stable/pull-requests.html

The second step (after all warnings have been resolved) is to fail on sphinx warnings: https://docs.readthedocs.io/en/stable/tutorial/index.html#making-warnings-more-visible

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