将 'images' 和 'docker_support' 添加到排除目录中

This commit is contained in:
SoilZHu
2025-09-25 19:52:23 +08:00
parent 3afc7b26f5
commit 53f54197a4

View File

@@ -2,7 +2,7 @@ import fs from 'node:fs'
import path from 'node:path'
const DOC_EXT = ['.md']
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public', 'docs'])
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public', 'docs', 'images', 'docker_support'])
function isDirectory(p) {
return fs.existsSync(p) && fs.statSync(p).isDirectory()