Skip to content

Commit

Permalink
docs: fix template issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Oct 29, 2024
1 parent cd50824 commit 7453bf0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions docs/.templates/symbol-member/symbol-member.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit 7453bf0

Please sign in to comment.