Compare commits

...
6 Commits
Author SHA1 Message Date
qingwei.li 8e203b07ab -> v2.4.2 2017-02-14 10:23:14 +08:00
qingwei.li eff6d21539 bump: 2.4.2 2017-02-14 10:23:08 +08:00
qingwei.li dc536a3930 fix(index): load file path error 2017-02-14 10:22:44 +08:00
qingwei.li cc4ffb4ab7 -> v2.4.1 2017-02-13 23:23:25 +08:00
qingwei.li d62da2034f bump: 2.4.1 2017-02-13 23:23:13 +08:00
qingwei.li dd0c84bb40 fix(index): cover page 2017-02-13 23:21:27 +08:00
6 changed files with 22 additions and 9 deletions
+15
View File
@@ -1,3 +1,18 @@
### 2.4.2
> 2017-02-14
#### Bug fixes
- fix(index): load file path error
### 2.4.1
> 2017-02-13
#### Bug fixes
- fix(index): cover page
### 2.4.0
> 2017-02-13
+1 -1
View File
@@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>2.3.0</small>
# docsify <small>2.4.2</small>
> A magical documentation site generator.
+2 -3
View File
@@ -2938,9 +2938,8 @@ var mainRender = function (cb) {
}
// replace route
route = '/' + route;
if (OPTIONS.alias && OPTIONS.alias[route]) {
route = getAlias(route);
if (OPTIONS.alias && OPTIONS.alias['/' + route]) {
route = getAlias('/' + route);
} else {
route = (OPTIONS.basePath + route).replace(/\/+/, '/');
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "docsify",
"version": "2.4.0",
"version": "2.4.2",
"description": "A magical documentation generator.",
"main": "lib/docsify.js",
"files": [
+2 -3
View File
@@ -72,9 +72,8 @@ const mainRender = function (cb) {
}
// replace route
route = '/' + route
if (OPTIONS.alias && OPTIONS.alias[route]) {
route = getAlias(route)
if (OPTIONS.alias && OPTIONS.alias['/' + route]) {
route = getAlias('/' + route)
} else {
route = (OPTIONS.basePath + route).replace(/\/+/, '/')
}