From c599b991a102624c24e1bd1591ae24aa9a135199 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Wed, 22 Apr 2020 13:21:51 +0900 Subject: [PATCH] ci: Add hook for doctoc --- README.md | 4 ++++ package.json | 3 +++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 280d9ac09..c7a5f6b3a 100644 --- a/README.md +++ b/README.md @@ -997,6 +997,10 @@ jobs: publish_dir: ./Output ``` +
+ ## License diff --git a/package.json b/package.json index ae2486e83..e94ca2fa4 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,9 @@ "src/**/*.ts": [ "prettier --check", "eslint" + ], + "README.md": [ + "npx doctoc@1.4.0 --github" ] }, "repository": {