mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-06 11:36:53 +03:00
Add Makefile and Markdown linter (#73)
* Add Makefile * Update .gitignore to exclude venv * Add requirements.txt for venv * Add pymarkdown lint Github action * Update .md from lint tool * Update README with make commands * Add linter config
This commit is contained in:
committed by
GitHub
parent
bbe3bd79db
commit
0cd98c67e2
25
.github/workflows/markdown-style-checks.yml
vendored
Normal file
25
.github/workflows/markdown-style-checks.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Markdown style checks
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/**' # Only run on changes to the docs directory
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
paths:
|
||||
- 'docs/**' # Only run on changes to the docs directory
|
||||
|
||||
jobs:
|
||||
markdown-lint:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Create venv
|
||||
run: make install
|
||||
- name: Lint markdown
|
||||
run: make lint-md
|
||||
Reference in New Issue
Block a user