File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 103
103
'https://raw.githubusercontent.com/docsifyjs/docsify/main/CHANGELOG.md' ,
104
104
'/.*/_navbar.md' : '/_navbar.md' ,
105
105
'/zh-cn/(.*)' :
106
- 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master /$1' ,
106
+ 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@main /$1' ,
107
107
} ,
108
108
auto2top : true ,
109
109
coverpage : true ,
203
203
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 ) ) {
204
204
url = vm . route . file
205
205
. 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' ) ;
207
208
} else if ( / j s d e l i v r \. n e t / . test ( vm . route . file ) ) {
208
209
url = vm . route . file
209
210
. replace ( 'cdn.jsdelivr.net/gh' , 'github.com' )
210
- . replace ( '@master ' , '/blob/master ' ) ;
211
+ . replace ( '@main ' , '/blob/main ' ) ;
211
212
} else {
212
213
url =
213
214
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
Original file line number Diff line number Diff line change @@ -119,4 +119,4 @@ _index.html_
119
119
120
120
## Enjoy it
121
121
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