diff --git a/docs/.templates/symbol-member/symbol-member.js b/docs/.templates/symbol-member/symbol-member.js index 680b2fff9f0..290191f5ef5 100644 --- a/docs/.templates/symbol-member/symbol-member.js +++ b/docs/.templates/symbol-member/symbol-member.js @@ -10,13 +10,14 @@ export default { } } - const title = member.overview.match(/(.*)(\(|\?|=|:)+/) + const title = member.overview.match(/(.*)(\(|\?|=|:)+/); return { title: title ? title[1] .split("(")[0] .split("<")[0] - .trim() : "", + .trim() + .replace("?", "") : "", member, deprecated, hasParams diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index fa460c96120..7e18640d96b 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -29,12 +29,12 @@ export default defineConfig({ themeConfig: { logo: "/tsed.svg", siteTitle: false, - apiUrl: "http://localhost:5173/api.json", + apiUrl: "/api.json", apiRedirectUrl: "", repo: "tsedio/tsed", githubProxyUrl: "https://api.tsed.io/rest/github/tsedio/tsed", editLink: { - pattern: "https://github.com/tsedio/tsed-website/edit/main/docs/:path" + pattern: "https://github.com/tsedio/tsed/edit/main/docs/:path" }, search: { provider: "algolia", diff --git a/docs/yarn.lock b/docs/yarn.lock index a13b7f8e469..7e99b8e2442 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -734,7 +734,7 @@ __metadata: version: 0.0.0-use.local resolution: "@tsed/docs-new@workspace:." dependencies: - "@tsed/vitepress-theme": "npm:1.2.0" + "@tsed/vitepress-theme": "npm:1.2.2" "@vueuse/core": "npm:10.11.0" autoprefixer: "npm:^10.4.19" axios: "npm:1.7.7" @@ -746,14 +746,14 @@ __metadata: languageName: unknown linkType: soft -"@tsed/vitepress-theme@npm:1.2.0": - version: 1.2.0 - resolution: "@tsed/vitepress-theme@npm:1.2.0" +"@tsed/vitepress-theme@npm:1.2.2": + version: 1.2.2 + resolution: "@tsed/vitepress-theme@npm:1.2.2" dependencies: "@vueuse/core": "npm:10.11.0" axios: "npm:1.7.7" lucide-vue-next: "npm:^0.436.0" - checksum: 10/acac9f8f7f0ef8a17311e6fd0991cb6f3c5fdb45bd17d065b78836eaedec674f2d68c6accca756baab01f5c413d92992eff19cb0fa64a26005fa1aa84fbe95c3 + checksum: 10/65354dfe4423e7023bdc2ee2b4223e93deeaf91dafb1a16dccf74243f0123da560faa6117d53108fff9e0ded7a22285798c99990d8151c53958ea1c0100f83bd languageName: node linkType: hard