From 833bc1c07d0035aa202b3aeccf45a5cf5634e0fe Mon Sep 17 00:00:00 2001 From: Viki Date: Mon, 19 Aug 2024 10:38:56 +0800 Subject: [PATCH] docs: mark `use-web-observer` as internal --- docs/docs/zh-cn/roadmap/index.md | 7 +++++++ docs/scripts/generate-hooks-data.ts | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 docs/docs/zh-cn/roadmap/index.md diff --git a/docs/docs/zh-cn/roadmap/index.md b/docs/docs/zh-cn/roadmap/index.md new file mode 100644 index 00000000..8679795c --- /dev/null +++ b/docs/docs/zh-cn/roadmap/index.md @@ -0,0 +1,7 @@ +# 后期规划(Roadmap) + + + +## V1(当前版本) + + diff --git a/docs/scripts/generate-hooks-data.ts b/docs/scripts/generate-hooks-data.ts index b11727ae..362873a3 100644 --- a/docs/scripts/generate-hooks-data.ts +++ b/docs/scripts/generate-hooks-data.ts @@ -9,7 +9,7 @@ const __filename = fileURLToPath(import.meta.url) const __dirname = dirname(__filename) const hooksSrc = resolve(__dirname, '../../src') -const ignoredDirs = ['utils', 'use-track-ref-state', 'use-versioned-action'] +const ignoredDirs = ['utils', 'use-track-ref-state', 'use-versioned-action', 'use-web-observer'] const dirents = await fs.readdir(hooksSrc, { withFileTypes: true }) const hooksDirents = dirents.filter((d) => d.isDirectory() && ignoredDirs.every((e) => e !== d.name))