Add option to configure portable links behaviour: off, error or warning

This commit is contained in:
Alex Shpak
2025-09-27 00:05:41 +02:00
parent 7960aa3672
commit 6a134d4fe9
4 changed files with 20 additions and 6 deletions
+3 -2
View File
@@ -136,8 +136,9 @@ enableGitInfo = true
# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
# Theme will print warning if page referenced in markdown does not exists.
BookPortableLinks = true
# Theme will print warning or error if page referenced in markdown does not exists.
# Possible values are false | 'warning' | 'error'
BookPortableLinks = 'warning'
# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use.