Skip to content

Commit

Permalink
fix: docs versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Dec 25, 2022
1 parent b4ab156 commit 09a0082
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,13 @@ export default defineConfig({
],

nav: [
{ text: 'Guide', link: `${BASE_URL}guide` },
{ text: 'Config', link: `${BASE_URL}config` },
{ text: 'Guide', link: `/guide` },
{ text: 'Config', link: `/config` },
{
text: VERSION,
items: [
{ text: 'v1.x', link: '/v1/' },
{ text: 'v0.x', link: '/v0/' }
{ text: 'v1.x', link: 'https://axios-cache-interceptor.js.org/v1/' },
{ text: 'v0.x', link: 'https://axios-cache-interceptor.js.org/v0/' }
].filter((i) => !BASE_URL.startsWith(i.link))
}
],
Expand Down

0 comments on commit 09a0082

Please sign in to comment.