Skip to content

Create docs action that checks our docs when creating a new release #4249

Description

@milanholemans

Currently we check that our docs build successfully when submitting a new PR. However maintainers are humans as well and can make errors, for example we can introduce a broken link in release notes. This will result in all new PRs failing because there's a broken link in the docs.

We can tackle this by adding the same action to the stable and beta release pipeline.

Our current action:

test_docs:
if: github.repository_owner == 'pnp'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install -r docs/pip_requirements.txt
- run: mkdocs build --strict
working-directory: docs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions