mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
feat: map overlays, identity restore, settings, conversations, and i18n updates
This commit is contained in:
parent
db8a58536a
commit
c2a183d688
125 changed files with 8786 additions and 905 deletions
|
|
@ -1,6 +1,7 @@
|
|||
/**
|
||||
* Copy docs/ tree into meshchatx/src/frontend/public/meshchatx-docs/ for in-app serving.
|
||||
* Source of truth: docs/ at repo root.
|
||||
* Skips docs/agents/ (contributor/agent guidance, not end-user docs).
|
||||
*/
|
||||
|
||||
const fs = require("fs");
|
||||
|
|
@ -11,12 +12,17 @@ const srcDir = path.join(root, "docs");
|
|||
const destDir = path.join(root, "meshchatx", "src", "frontend", "public", "meshchatx-docs");
|
||||
|
||||
const COPY_EXTENSIONS = new Set([".md", ".txt", ".json"]);
|
||||
const SKIP_TOP_LEVEL_DIRS = new Set(["agents"]);
|
||||
|
||||
function walkSync(dir, callback) {
|
||||
function walkSync(dir, callback, relBase = "") {
|
||||
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
||||
const rel = relBase ? path.join(relBase, entry.name) : entry.name;
|
||||
if (!relBase && entry.isDirectory() && SKIP_TOP_LEVEL_DIRS.has(entry.name)) {
|
||||
continue;
|
||||
}
|
||||
const fullPath = path.join(dir, entry.name);
|
||||
if (entry.isDirectory()) {
|
||||
walkSync(fullPath, callback);
|
||||
walkSync(fullPath, callback, rel);
|
||||
} else {
|
||||
callback(fullPath);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue