Add docs for transformers #177
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check rst lint for documentation | |
on: | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- 'docs/**' | |
permissions: | |
contents: read | |
jobs: | |
pylint-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install doc8 | |
- name: Analysing the mindnlp docs | |
run: | | |
doc8 docs |