on-broken-links

This commit is contained in:
2026-06-13 21:38:07 +03:00
parent f6e7624fb8
commit 243ea13567
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -30,6 +30,7 @@ const {
} = docsConfig.dirs || {}
const giteaUrl = 'https://git.jt4d.ru';
const onBrokenLinks = (process.env.DOCUSERVIX_ON_BROKEN_LINKS as Config['onBrokenLinks']) || 'throw';
const config: Config = {
title,
@@ -56,7 +57,7 @@ const config: Config = {
organizationName: org,
projectName: repo,
onBrokenLinks: 'throw',
onBrokenLinks,
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you