Compare commits

...
5 Commits
Author SHA1 Message Date
qingwei.li 20a83808f3 -> v3.0.1 2017-02-19 14:55:28 +08:00
qingwei.li 4419b2119e bump: 3.0.1 2017-02-19 14:55:20 +08:00
qingwei.li cd99b522e7 fix(route): empty alias 2017-02-19 14:54:22 +08:00
qingwei.li 787656a1ee docs(index): enable execute script 2017-02-19 14:44:37 +08:00
qingwei.li f573caa3c6 docs(cover): update version number 2017-02-19 14:41:27 +08:00
7 changed files with 12 additions and 6 deletions
+5
View File
@@ -1,4 +1,9 @@
3.0.1 / 2017-02-19
==================
* fix(route): empty alias
3.0.0 / 2017-02-19
==================
+1 -1
View File
@@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>2.4.3</small>
# docsify <small>3.0</small>
> A magical documentation site generator.
+1
View File
@@ -26,6 +26,7 @@
auto2top: true,
coverpage: true,
loadSidebar: true,
executeScript: true,
alias: {
'/zh-cn/changelog': '/changelog',
'/changelog': 'https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG'
+1 -1
View File
@@ -3258,7 +3258,7 @@ function routeMixin (proto) {
var config = ref.config;
var base = getBasePath(config.basePath);
path = getAlias(path, config.alias);
path = config.alias ? getAlias(path, config.alias) : path;
path = getFileName(path);
path = path === '/README.md' ? (config.homepage || path) : path;
path = isAbsolutePath(path) ? path : getPath(base, path);
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "docsify",
"version": "3.0.0",
"version": "3.0.1",
"description": "A magical documentation generator.",
"main": "lib/docsify.js",
"files": [
+1 -1
View File
@@ -20,7 +20,7 @@ export function routeMixin (proto) {
const { config } = this
const base = getBasePath(config.basePath)
path = getAlias(path, config.alias)
path = config.alias ? getAlias(path, config.alias) : path
path = getFileName(path)
path = path === '/README.md' ? (config.homepage || path) : path
path = isAbsolutePath(path) ? path : getPath(base, path)