From 1cb769fa3e09175bd842f02e48641b8b61a9092d Mon Sep 17 00:00:00 2001 From: nbogie Date: Mon, 29 Jun 2026 13:12:04 +0100 Subject: [PATCH] Pass 'src' as inputPath to saveYuidocOuput for p5.sound rather than defaulting to the too-wide '.' fixes #1470 Also correct comment on saveYuidocOutput which stated it parsed the p5.js library. That's not true on 2.0 branch - its seems it is currently ONLY used for p5.sound. --- src/scripts/parsers/reference.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/parsers/reference.ts b/src/scripts/parsers/reference.ts index eb441c1571..27a3bf2d13 100644 --- a/src/scripts/parsers/reference.ts +++ b/src/scripts/parsers/reference.ts @@ -67,7 +67,7 @@ export const parseLibraryReference = 'https://github.com/processing/p5.sound.js.git', 'main' ); - await saveYuidocOutput('p5.sound.js', 'data-sound'); + await saveYuidocOutput('p5.sound.js', 'data-sound', { inputPath: 'src' }); const soundData = await getYuidocOutput('data-sound'); if (!soundData) throw new Error('Error generating p5.sound reference data!'); @@ -154,7 +154,7 @@ const getYuidocOutput = async (outDirName: string): Promise