You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This target runs markdown-toc on all files that contain
26
28
# a pair of comments <!-- toc --> and <!-- tocstop -->.
@@ -35,3 +37,6 @@ markdown-toc:
35
37
echo markdown-toc: no TOC markers, skipping $$f;\
36
38
fi;\
37
39
done
40
+
41
+
markdown-toc-check: markdown-toc
42
+
git diff --exit-code ':*.md'|| (echo 'Generated markdown Table of Contents is out of date, please run "make markdown-toc" and commit the changes in this PR.'&&exit 1)
0 commit comments