mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
3975a85742
* add check for links * fix style * call silently * add dep * add path * ignore readme as it contains necesarry broken links * fix syntax * check recursevly * run in sync * use linkcheckmd instaead * use sync * add requests * revert fix to check if checks still work * fix lookup * fix old link * run check verbose * run async * remove recurse * introduce error for test * fix link
32 lines
603 B
YAML
32 lines
603 B
YAML
name: Documentation Checks
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- l10*
|
|
|
|
pull_request:
|
|
branches-ignore:
|
|
- l10*
|
|
|
|
jobs:
|
|
|
|
mkdocs:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9
|
|
- name: Check Config
|
|
run: |
|
|
pip install pyyaml
|
|
python docs/ci/check_mkdocs_config.py
|
|
- name: Check Links
|
|
run: |
|
|
pip install linkcheckmd requests
|
|
python -m linkcheckmd docs --recurse
|