File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 103103 'https://raw.githubusercontent.com/docsifyjs/docsify/main/CHANGELOG.md' ,
104104 '/.*/_navbar.md' : '/_navbar.md' ,
105105 '/zh-cn/(.*)' :
106- 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master /$1' ,
106+ 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@main /$1' ,
107107 } ,
108108 auto2top : true ,
109109 coverpage : true ,
203203 if ( / g i t h u b u s e r c o n t e n t \. c o m / . test ( vm . route . file ) ) {
204204 url = vm . route . file
205205 . replace ( 'raw.githubusercontent.com' , 'github.com' )
206- . replace ( / \/ m a s t e r / , '/blob/master' ) ;
206+ . replace ( / \/ m a s t e r / , '/blob/master' )
207+ . replace ( / \/ m a i n / , '/blob/main' ) ;
207208 } else if ( / j s d e l i v r \. n e t / . test ( vm . route . file ) ) {
208209 url = vm . route . file
209210 . replace ( 'cdn.jsdelivr.net/gh' , 'github.com' )
210- . replace ( '@master ' , '/blob/master ' ) ;
211+ . replace ( '@main ' , '/blob/main ' ) ;
211212 } else {
212213 url =
213214 'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
Original file line number Diff line number Diff line change @@ -119,4 +119,4 @@ _index.html_
119119
120120## Enjoy it
121121
122- Release your website and start experiencing the magical offline feature. : ghost : You can turn off Wi-Fi and refresh the current site to experience it.
122+ Release your website and start experiencing the magical offline feature.
You can’t perform that action at this time.
0 commit comments