From 83d037e83fc5f7b8af3bb8b74b59e7accf0a2a42 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 16 Feb 2026 16:26:06 -0400 Subject: data: "Reference By Directory" field with schnuance --- src/data/yaml.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/data/yaml.js') diff --git a/src/data/yaml.js b/src/data/yaml.js index 7ba6d559..0519986b 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -640,6 +640,16 @@ export function parseDuration(string) { } } +export function parseAlwaysReferenceByDirectory(value) { + if (value === true) { + return 'always'; + } else if (value === false) { + return 'normally'; + } else { + return value; + } +} + export const extractAccentRegex = /^(?
.*?)(?: \((?.*)\))?$/; -- cgit 1.3.0-6-gf8a5