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, }