Skip to content

Commit 4ccc5f4

Browse files
committed
fix base for new docs
1 parent 36aa170 commit 4ccc5f4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/.vitepress/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const toc_en = require("./toc_en.json");
77
const versions = {
88
text: "5.x",
99
items: [
10-
{ text: "5.x (current)", link: "book.cakephp.org/migrations/5.x/", target: '_self' },
10+
{ text: "5.x (current)", link: "book.cakephp.org/migrations/5/", target: '_self' },
1111
{ text: "4.x", link: "https://book.cakephp.org/migrations/4/", target: '_self' },
1212
{ text: "3.x", link: "https://book.cakephp.org/migrations/3/", target: '_self' },
1313
{ text: "2.x", link: "https://book.cakephp.org/migrations/2/", target: '_self' },
@@ -20,12 +20,12 @@ export default {
2020
srcDir: 'en',
2121
title: 'Migrations plugin',
2222
description: 'Migrations - CakePHP migrations Documentation',
23-
base: "/5.x/",
23+
base: '/migrations/5/',
2424
rewrites: {
2525
"en/:slug*": ":slug*",
2626
},
2727
sitemap: {
28-
hostname: "https://book.cakephp.org/migrations/5.x/",
28+
hostname: "https://book.cakephp.org/migrations/5/",
2929
},
3030
themeConfig: {
3131
socialLinks: [

0 commit comments

Comments
 (0)