avoids unstaged changes (which would confuse the next check by testing something different than what will be committed)
checks that rendering succeeds
checks for orphaned files (ie .md files that aren't linked to in the SUMMARY.md)
A hook utility to run user's local hooks if they are defined. For example, ./git-hooks/pre-commit will run .git/hooks/pre-commit as a final step if the latter exists.
This includes:
README.md
.pre-commit
hook that:.md
files that aren't linked to in theSUMMARY.md
)./git-hooks/pre-commit
will run.git/hooks/pre-commit
as a final step if the latter exists.