From e3db1b7fe149daef5a6ce5f75efe48fd8144062a Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Fri, 13 Dec 2024 23:33:34 -0800 Subject: [PATCH] Refactor typedocHelpers to fix file path in getFilePathToPackage function --- docs/src/typedocHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/typedocHelpers.ts b/docs/src/typedocHelpers.ts index db522629b..b5700471e 100644 --- a/docs/src/typedocHelpers.ts +++ b/docs/src/typedocHelpers.ts @@ -2,7 +2,7 @@ import type { StarlightTypeDocOptions } from 'starlight-typedoc'; // Utility function to create TypeDoc related paths export function getFilePathToPackage(name: string, path: string) { - return `../../packages/${name}/${path}`; + return `../packages/${name}/${path}`; } // Utility function to create TypeDoc options for the StudioCMS packages so that each package documentation is the same when generated