bump: 3.5.1

This commit is contained in:
qingwei.li 2017-03-25 16:26:07 +08:00
parent 594299ffbd
commit 7209b82982
4 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
# 3.5.1 / 2017-03-25
* fix: .md file extension regex
# 3.5.0 / 2017-03-25

View File

@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>3.4</small>
# docsify <small>3.5</small>
> A magical documentation site generator.

View File

@ -386,7 +386,7 @@ function toURL (path, params) {
route.query = merge({}, route.query, params);
path = route.path + stringifyQuery(route.query);
path = path.replace(/\.md/g, '');
path = path.replace(/\.md(\?)|\.md$/, '$1');
return cleanPath('#/' + path)
}

2
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long