chore: пометить SLM Design как архив

This commit is contained in:
2026-08-22 19:08:55 +03:00
parent ed3d7fb8e0
commit 318c9a7b45
6 changed files with 58 additions and 23 deletions
+2 -2
View File
@@ -141,8 +141,8 @@ if (!notFoundHtml.includes('Такой страницы нет')) {
}
const homeHtml = htmlByPage.get('index.html')
if (!homeHtml.includes('Архитектура фронтенд-приложений')) {
throw new Error('Home page does not render the documentation-owned hero')
if (!homeHtml.includes('SLM Design больше не поддерживается')) {
throw new Error('Home page does not render the deprecation notice')
}
if ([...homeHtml.matchAll(/<h1\b/g)].length !== 1) {