mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
docs: синхронизировать английское руководство (#668)
Английская версия догнана до структуры и содержания русского руководства. Структурный гейт защищает H2-H4 и маркер актуальной версии от нового рассинхрона. Issue: #668 User-Visible: no
This commit is contained in:
committed by
claude[bot]
parent
cbc39cea7b
commit
85cba3d8b4
@@ -6,6 +6,7 @@ import { fileURLToPath } from 'node:url';
|
||||
import { DOC_SCREENSHOTS } from '../demo/docs/screenshots.mjs';
|
||||
import { visualFingerprint } from './source-fingerprint.mjs';
|
||||
import { freshnessSink, screenshotsMode } from './docs-freshness.mjs';
|
||||
import { guideParityErrors } from './user-guide-parity.mjs';
|
||||
|
||||
const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..');
|
||||
const EXTERNAL = process.argv.includes('--external');
|
||||
@@ -184,6 +185,11 @@ for (const [en, ru, required] of [
|
||||
}
|
||||
}
|
||||
|
||||
errors.push(...guideParityErrors(
|
||||
canonicalText(resolve(ROOT, 'docs/USER-GUIDE.md')),
|
||||
canonicalText(resolve(ROOT, 'docs/USER-GUIDE.ru.md')),
|
||||
));
|
||||
|
||||
const staleTerms = [
|
||||
[/\bMarkup (?:tab|mode|editor)\b/gi, 'Plan'],
|
||||
[/(?:вкладка|режим|редактор) «Разметка»/gi, '«План»'],
|
||||
|
||||
Reference in New Issue
Block a user