mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 21:37:20 +08:00
* feat:提交前端代码 * feat:提交logo样式切换 * feat:替换avatar、部分位置icon、chatchat相关说明、git链接、Wiki链接、关于、设置、反馈与建议等功能,关闭lobehub自检更新功能 * fix:移除多余代码 --------- Co-authored-by: liunux4odoo <41217877+liunux4odoo@users.noreply.github.com>
15 lines
611 B
TypeScript
15 lines
611 B
TypeScript
import { globSync } from 'glob';
|
|
import { resolve } from 'node:path';
|
|
|
|
export const WIKI_URL = 'https://github.com/lobehub/lobe-chat/wiki/';
|
|
export const ROOT = resolve(__dirname, '../..');
|
|
export const DOCS_DIR = resolve(ROOT, 'contributing');
|
|
export const HOME_PATH = resolve(DOCS_DIR, 'Home.md');
|
|
export const SIDEBAR_PATH = resolve(DOCS_DIR, '_Sidebar.md');
|
|
export const docsFiles = globSync(resolve(DOCS_DIR, '**/*.md').replaceAll('\\', '/'), {
|
|
ignore: ['Home.md', '_Sidebar.md', '_Footer.md'],
|
|
nodir: true,
|
|
}).filter((file) => !file.includes('.zh-CN.md'));
|
|
|
|
export const SPLIT = '<!-- DOCS LIST -->';
|