From 3c1358c700e3b3c110f096afc23ac5d0c518a8f8 Mon Sep 17 00:00:00 2001 From: George Oastler Date: Thu, 7 Mar 2024 15:22:05 +0000 Subject: [PATCH] amend base path --- typedoc.base.config.js | 1 + typedoc.config.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/typedoc.base.config.js b/typedoc.base.config.js index ea60869ff2..0845fee468 100644 --- a/typedoc.base.config.js +++ b/typedoc.base.config.js @@ -1,6 +1,7 @@ export default { includeVersion: true, darkHighlightTheme: 'material-theme-darker', + lightHighlightTheme: 'material-theme-default', searchInComments: true, excludeExternals: true, commentStyle: 'all', diff --git a/typedoc.config.js b/typedoc.config.js index 8e7c2fe830..f3e88505ff 100644 --- a/typedoc.config.js +++ b/typedoc.config.js @@ -1,9 +1,12 @@ import pkgJson from './package.json' assert { type: 'json' } +const basePath = new URL(import.meta.url).pathname.split('/').slice(0, -1).join('/') + export default { extends: './typedoc.base.config.js', entryPoints: pkgJson.workspaces, out: 'docs', entryPointStrategy: 'packages', name: 'Prosopo Captcha', + basePath, }