Skip to content

Commit

Permalink
fix(theme): use withBase to resolve path for api.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Oct 29, 2024
1 parent 0595e7d commit 71dbc68
Show file tree
Hide file tree
Showing 6 changed files with 9,606 additions and 5,541 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export default defineConfig({
themeConfig: {
logo: "/tsed.svg",
siteTitle: false,
apiUrl: "https://tsed.io/api.json",
apiRedirectUrl: "https://api-docs.tsed.io",
apiUrl: "/api.json",
apiRedirectUrl: "",
repo: "tsedio/tsed",
githubProxyUrl: "https://api.tsed.io/rest/github/tsedio/tsed",
editLink: {
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ import {data} from './api.data';
</script>


<Api v-bind="data" />
<Api :modules="data.modules" :symbol-types="data.symbolTypes" />
Loading

0 comments on commit 71dbc68

Please sign in to comment.