From a6a15824015db5bf5ef2c305c433fb3c273005b2 Mon Sep 17 00:00:00 2001 From: sunshinesmilelk <1176136681@qq.com> Date: Wed, 9 Oct 2024 20:52:30 +0800 Subject: [PATCH] chore: automatic toc generator --- .github/workflows/toc.yml | 10 ++++++++++ README.md | 16 ++-------------- 2 files changed, 12 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/toc.yml diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml new file mode 100644 index 00000000..46f0703f --- /dev/null +++ b/.github/workflows/toc.yml @@ -0,0 +1,10 @@ +on: + push: + paths: + - 'README.md' # 只有 README.md 发生变化时触发name: TOC Generator +jobs: + generateTOC: + name: TOC Generator + runs-on: ubuntu-latest + steps: + - uses: technote-space/toc-generator@v4 diff --git a/README.md b/README.md index 8b2bfa60..465efe62 100644 --- a/README.md +++ b/README.md @@ -27,20 +27,8 @@ Language: English | [简体中文](./README_zh.md) --- -## Table of Contents - -- [Quick Start](#Quick-Start) -- [Quick Integration](#Quick-Integration) -- [New Features](#New-Features) - - [prompt cell](#prompt-cell) - - [sql cell](#sql-cell) -- [Technical Architecture](#Technical-Architecture) -- [Future Plans](#Future-Plans) -- [More](#More) - - [Reporting Issues](#Reporting-Issues) - - [Contributing](#Contributing) - - [Contributors](#Contributors) - - [Contact Us](#Contact-Us) + + ---