@@ -6,7 +6,7 @@ const toc_en = require("./toc_en.json");
66const toc_ja = require ( "./toc_ja.json" ) ;
77
88const versions = {
9- text : "5.x " ,
9+ text : "5.next " ,
1010 items : [
1111 { text : "5.x (latest)" , link : "https://book.cakephp.org/5.x/" , target : '_self' } ,
1212 { text : "4.x" , link : "https://book.cakephp.org/4.x/" , target : '_self' } ,
@@ -60,19 +60,19 @@ export default {
6060 md . use ( substitutionsReplacer , { substitutions } ) ;
6161 }
6262 } ,
63- base : "/5.x /" ,
63+ base : "/5.next /" ,
6464 rewrites : {
6565 "en/:slug*" : ":slug*" ,
6666 } ,
6767 sitemap : {
68- hostname : "https://book.cakephp.org/5.x /" ,
68+ hostname : "https://book.cakephp.org/5.next /" ,
6969 } ,
7070 themeConfig : {
7171 socialLinks : [
7272 { icon : "github" , link : "https://github.com/cakephp/cakephp" } ,
7373 ] ,
7474 editLink : {
75- pattern : "https://github.com/cakephp/docs/edit/5.x /docs/:path" ,
75+ pattern : "https://github.com/cakephp/docs/edit/5.next /docs/:path" ,
7676 text : "Edit this page on GitHub" ,
7777 } ,
7878 sidebar : toc_en ,
@@ -81,7 +81,12 @@ export default {
8181 { text : "API" , link : "https://api.cakephp.org/" } ,
8282 { ...plugins } ,
8383 { ...versions } ,
84- ]
84+ ] ,
85+ versionBanner : {
86+ message : 'This is documentation for CakePHP 5.next' ,
87+ link : '/latest/' ,
88+ linkText : 'Go to latest docs.'
89+ }
8590 } ,
8691 locales : {
8792 root : {
0 commit comments