File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 7979 '/ru-ru/(.*)' :
8080 'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1' ,
8181 '/zh-cn/(.*)' :
82- 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master /$1' ,
82+ 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@release-v4 /$1' ,
8383 } ,
8484 auto2top : true ,
8585 coverpage : true ,
184184 } else if ( / j s d e l i v r \. n e t / . test ( vm . route . file ) ) {
185185 url = vm . route . file
186186 . replace ( 'cdn.jsdelivr.net/gh' , 'github.com' )
187- . replace ( '@master ' , '/blob/master ' ) ;
187+ . replace ( '@release-v4 ' , '/blob/release-v4 ' ) ;
188188 } else {
189189 url =
190- 'https://github.com/docsifyjs/docsify/blob/develop /docs/' +
190+ 'https://github.com/docsifyjs/docsify/blob/release-v4 /docs/' +
191191 vm . route . file ;
192192 }
193193 var editHtml = '[:memo: Edit Document](' + url + ')\n' ;
Original file line number Diff line number Diff line change 4747 '/ru-ru/(.*)' :
4848 'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1' ,
4949 '/zh-cn/(.*)' :
50- 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master /$1' ,
50+ 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@release-v4 /$1' ,
5151 } ,
5252 auto2top : true ,
5353 basePath : '/docs/' ,
9595 } else if ( / j s d e l i v r \. n e t / . test ( vm . route . file ) ) {
9696 url = vm . route . file
9797 . replace ( 'cdn.jsdelivr.net/gh' , 'github.com' )
98- . replace ( '@master ' , '/blob/master ' ) ;
98+ . replace ( '@release-v4 ' , '/blob/release-v4 ' ) ;
9999 } else {
100100 url =
101- 'https://github.com/docsifyjs/docsify/blob/develop /docs/' +
101+ 'https://github.com/docsifyjs/docsify/blob/release-v4 /docs/' +
102102 vm . route . file ;
103103 }
104104 var editHtml = '[:memo: Edit Document](' + url + ')\n' ;
105105 return (
106106 editHtml +
107107 html +
108108 '\n\n----\n\n' +
109- '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>\n\n' +
110- '<a href="https://vercel.com/?utm_source=docsifyjs&utm_campaign=oss" target="_blank" title="Vercel has given us a Pro account"><img src="/docs/_media/powered-by-vercel.svg" alt="Vercel" width="150"></a>'
109+ '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
111110 ) ;
112111 } ) ;
113112 } ,
You can’t perform that action at this time.
0 commit comments