File tree 3 files changed +29
-0
lines changed
3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.3.0
2
+
3
+ > 2017-02-11
4
+ - feat(src): add alias feature
5
+
1
6
## 2.2.1
2
7
3
8
> 2017-02-11
Original file line number Diff line number Diff line change @@ -460,6 +460,18 @@ window.$docsify = {
460
460
}
461
461
```
462
462
463
+ ### alias
464
+
465
+ Create aliases to certain other pages more easily.
466
+
467
+ ``` js
468
+ window .$docsify = {
469
+ alias: {
470
+ ' /changelog' : ' https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG'
471
+ }
472
+ }
473
+ ```
474
+
463
475
## Plugins
464
476
465
477
### Full Text Search
Original file line number Diff line number Diff line change @@ -467,6 +467,18 @@ window.$docsify = {
467
467
}
468
468
```
469
469
470
+ ### alias
471
+
472
+ 设置别名方便自定义路由或者引入其他文件。
473
+
474
+ ``` js
475
+ window .$docsify = {
476
+ alias: {
477
+ ' /changelog' : ' https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG'
478
+ }
479
+ }
480
+ ```
481
+
470
482
## Plugins
471
483
472
484
### 全文检索 - search
You can’t perform that action at this time.
0 commit comments