mirror of
https://github.com/Gar-b-age/CookLikeHOC.git
synced 2025-12-26 03:48:31 +08:00
fixup navbar
This commit is contained in:
parent
c773faff65
commit
db2119acc7
@ -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'])
|
||||
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()
|
||||
|
||||
@ -11,6 +11,9 @@ const EXCLUDED_DIRS = new Set([
|
||||
'.vitepress',
|
||||
'node_modules',
|
||||
'public',
|
||||
'docs',
|
||||
'images',
|
||||
'docker_support',
|
||||
])
|
||||
|
||||
function isDirectory(p: string) {
|
||||
|
||||
@ -2,7 +2,7 @@ import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
|
||||
const ROOT = process.cwd()
|
||||
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public'])
|
||||
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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user