[codex] Move internal development notes to maintainers (#57316)

* docs: move internal notes to maintainers

* docs: drop internal notes agent guidance
This commit is contained in:
Onur Solmaz
2026-03-30 00:15:08 +02:00
committed by GitHub
parent d82d6ba0c4
commit 2da61e6553
26 changed files with 6 additions and 4369 deletions

View File

@@ -6,7 +6,7 @@ import path from "node:path";
const ROOT = process.cwd();
const GLOSSARY_PATH = path.join(ROOT, "docs", ".i18n", "glossary.zh-CN.json");
const DOC_FILE_RE = /^docs\/(?!zh-CN\/)(?!internal\/).+\.(md|mdx)$/i;
const DOC_FILE_RE = /^docs\/(?!zh-CN\/).+\.(md|mdx)$/i;
const LIST_ITEM_LINK_RE = /^\s*(?:[-*]|\d+\.)\s+\[([^\]]+)\]\((\/[^)]+)\)/;
const MAX_TITLE_WORDS = 8;
const MAX_LABEL_WORDS = 6;

View File

@@ -65,15 +65,7 @@ for (const item of docsConfig.redirects || []) {
}
const allFiles = walk(DOCS_DIR);
function isIgnoredDocsPath(relPath) {
return relPath.startsWith("internal/");
}
const relAllFiles = new Set(
allFiles
.map((abs) => normalizeSlashes(path.relative(DOCS_DIR, abs)))
.filter((rel) => !isIgnoredDocsPath(rel)),
);
const relAllFiles = new Set(allFiles.map((abs) => normalizeSlashes(path.relative(DOCS_DIR, abs))));
function isGeneratedTranslatedDoc(relPath) {
return relPath.startsWith("zh-CN/");
@@ -84,7 +76,7 @@ const markdownFiles = allFiles.filter((abs) => {
return false;
}
const rel = normalizeSlashes(path.relative(DOCS_DIR, abs));
return !isGeneratedTranslatedDoc(rel) && !isIgnoredDocsPath(rel);
return !isGeneratedTranslatedDoc(rel);
});
const routes = new Set();

View File

@@ -20,7 +20,7 @@ if (!statSync(DOCS_DIR).isDirectory()) {
process.exit(1);
}
const EXCLUDED_DIRS = new Set(["archive", "internal", "research"]);
const EXCLUDED_DIRS = new Set(["archive", "research"]);
/**
* @param {unknown[]} values