Skip to content

Commit

Permalink
docs: fix URLs, remove link to v1 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
newcat committed Oct 23, 2024
1 parent c8c9567 commit db71d85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ There is also the `baklavajs` package, which contains the core package as well a

## Getting Started & Documentation

You can find the documentation here: https://v2.baklava.tech
You can find the documentation here: https://baklava.tech

## BaklavaJS v1
The old version of BaklavaJS can be found here: https://github.com/newcat/baklavajs/tree/v1
Expand Down
6 changes: 1 addition & 5 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ export default defineConfig({
nav: [
{
text: "API Reference",
link: "https://v2.baklava.tech/api/",
},
{
text: "v1",
link: "https://v1.baklava.tech",
link: "https://baklava.tech/api/",
},
],
sidebar: [
Expand Down
2 changes: 1 addition & 1 deletion docs/components/ApiLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const props = withDefaults(
const href = computed(() => {
const transformedModuleName = props.module.replace("@", "_").replace("/", "_").replace("-", "_");
let url = `https://v2.baklava.tech/api/${props.type}/${transformedModuleName}`;
let url = `https://baklava.tech/api/${props.type}/${transformedModuleName}`;
if (props.type !== "modules") {
url += `.${props.name}`;
}
Expand Down

0 comments on commit db71d85

Please sign in to comment.