mirror of
https://github.com/Comfy-Org/embedded-docs.git
synced 2026-11-05 00:17:31 +00:00
[PR #208] [MERGED] chore: enforce the structure checks for es, now a published locale #205
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/embedded-docs#205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/embedded-docs/pull/208
Author: @lin-bot23
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @comfyui-wiki
Base:
main← Head:chore/es-published-structure-check📝 Commits (1)
3aa811cchore: enforce the structure checks for es, now a published locale📊 Changes
2 files changed (+4 additions, -3 deletions)
View changed files
📝
.github/scripts/check_doc_structure.py(+2 -1)📝
docs-generation/scripts/sync_to_comfy_docs.py(+2 -2)📄 Description
What
esis now a locale the docs site actually publishes (docs#2107added the Spanish built-in node reference,docs#2112completed the Spanish site), butcheck_doc_structure.pystill treated it as translated-but-not-rendered:So a Spanish page with a broken heading level, a missing section or a wrong "Edit on GitHub" link is repaired silently in
--fixmode and never counted as a violation, while the same defect in ja/zh/ko fails the check.Change
.github/scripts/check_doc_structure.py—ENFORCED_LANGS = ("ja", "zh", "ko", "es"), comment updated.docs-generation/scripts/sync_to_comfy_docs.py— comment-only: the group-label tuple is already(EN, zh, ja, ko, es), the two comments still said four locales.Nothing else needed: the sync side already publishes es (
BUILTIN_ES,"page_prefix": "es/built-in-nodes",lang_idx: 4,DEFAULT_GROUP_ES, and all 28CATEGORY_TO_GROUPentries carry the Spanish label).Verification
python3 .github/scripts/check_doc_structure.py(full tree, es enforced)0 repaired, 0 defect(s) found— the existing es corpus already conforms--changed-only --base origin/main0 repaired, 0 defect(s) foundpython3 .github/scripts/check_md_format.py(full tree)0 errors, 125 warnings— unchangedEnabling the rules therefore does not require any doc change today; it only means Spanish defects become enforcement-level from now on.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.