From d35da058322121a4cd44159164f657814bcc62a7 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Fri, 3 Feb 2023 09:25:55 +0100 Subject: docs: show source link (#1780) Co-authored-by: Shinigami92 --- scripts/apidoc/moduleMethods.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/apidoc/moduleMethods.ts') diff --git a/scripts/apidoc/moduleMethods.ts b/scripts/apidoc/moduleMethods.ts index bf7b93f9..b89e873c 100644 --- a/scripts/apidoc/moduleMethods.ts +++ b/scripts/apidoc/moduleMethods.ts @@ -9,7 +9,7 @@ import { selectApiModules, } from './typedoc'; import type { PageAndDiffIndex } from './utils'; -import { diffHash } from './utils'; +import { diffHash, methodDiffHash } from './utils'; /** * Analyzes and writes the documentation for modules and their methods such as `faker.animal.cat()`. @@ -62,7 +62,7 @@ function processModuleMethod(module: DeclarationReflection): PageAndDiffIndex { diff: methods.reduce( (data, method) => ({ ...data, - [method.name]: diffHash(method), + [method.name]: methodDiffHash(method), }), { moduleHash: diffHash({ -- cgit v1.2.3