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 b9ece9a
Show file tree
Hide file tree
Showing 9 changed files with 9,616 additions and 5,545 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 b9ece9a

Please sign in to comment.