Check if doc links are broken (#4686)

* 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
This commit is contained in:
Matthias Mair 2023-04-26 23:24:26 +02:00 committed by GitHub
parent 608f96c723
commit 3975a85742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
name: Documentation Config Checks
name: Documentation Checks
on:
push:
@ -21,7 +21,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Run Checks
- 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

View File

@ -8,7 +8,7 @@ A list of known third-party InvenTree extensions is provided below. If you have
### Ki-nTree
[Ki-nTree](https://github.com/sparkmicro/Ki-nTree/) is a fantastic tool for automated creation of [KiCad](https://kicad-pcb.org/) library parts, with direct integration with InvenTree.
[Ki-nTree](https://github.com/sparkmicro/Ki-nTree/) is a fantastic tool for automated creation of [KiCad](https://www.kicad.org/) library parts, with direct integration with InvenTree.
### PK2InvenTree