Skip to content

Docs

Docs #357

Workflow file for this run

name: "Docs"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Only consider changes to documentation
paths:
- '**/*.md'
- '**/*.rst'
- '**/*.txt'
schedule:
- cron: '25 6 * * 3'
permissions:
contents: read
jobs:
documentation:
name: Lint RST and MD files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install rstcheck and markdownlint
run: |
pip install rstcheck
sudo gem install mdl
- name: Run rstcheck on all RST files
run: make checkrst
- name: Run mdl on all MD files
run: make checkmd