Skip to content

pre-commit hooks to enforce Radxa Documentation Policies

Notifications You must be signed in to change notification settings

radxa-docs/pre-commit-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test

pre-commit-hooks

Radxa-specific hooks to enforce our documentation policies

Hooks available

use-webp-image

Prevent non-webp image from being commited. svg is allowed.

Currently does not automatically convert the image.

fix-en-dash-list

Detect and fix potential misuse of en dash in Markdown list.

Development against radxa-doc/documentation

First, run pre-commit install to ensure this repo is also shell checked.

Please refer to pre-commit documentation about developing hooks interactively.

In short, run the following command in radxa-doc/documentation project folder:

pre-commit try-repo --verbose --all-files ../pre-commit-hooks
pre-commit try-repo --verbose --all-files --hook-stage manual ../pre-commit-hooks
pre-commit try-repo --verbose --all-files ../pre-commit-hooks check-folder-structure

About

pre-commit hooks to enforce Radxa Documentation Policies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages