mirror of
https://github.com/gromlab-ru/slm-design.git
synced 2026-09-16 09:20:18 +03:00
chore: пометить SLM Design как архив
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user