fix(action): добавление настройки on-broken-links
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user