mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2026-01-27 04:40:41 +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
15
README.md
15
README.md
@@ -53,13 +53,8 @@ See https://python-markdown.github.io/extensions/admonition/
|
||||
## Local Test
|
||||
To test it locally:
|
||||
1. Clone this repo
|
||||
1. Install the required tools (See also [.github/workflows/build-docs.yaml](.github/workflows/build-docs.yaml)):
|
||||
```
|
||||
pip install --upgrade pip
|
||||
pip install mkdocs mkdocs-gen-files mkdocs-awesome-pages-plugin mkdocs-material pymdown-extensions mkdocs-enumerate-headings-plugin
|
||||
```
|
||||
1. In the main folder of the repo, call `mkdocs serve` (and keep it running).
|
||||
This will locally generate the documentation.
|
||||
You can access it under http://127.0.0.1:8000/AI-on-the-edge-device-docs/
|
||||
|
||||
Any change to the files will automatically be applied.
|
||||
2. Run `make install` that creates a virtual environment and installs all the dependencies
|
||||
3. Run `make serve`. This will locally generate the documentation. You can access it under http://127.0.0.1:8000/AI-on-the-edge-device-docs/
|
||||
Any change to the files will automatically be applied.
|
||||
4. Add your edits.
|
||||
5. Run `make lint-md` and correct any issues before opening a PR.
|
||||
|
||||
Reference in New Issue
Block a user