mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-02 12:10:04 +08:00
bump: 3.5.1
This commit is contained in:
parent
594299ffbd
commit
7209b82982
@ -1,3 +1,6 @@
|
||||
# 3.5.1 / 2017-03-25
|
||||
|
||||
* fix: .md file extension regex
|
||||
|
||||
# 3.5.0 / 2017-03-25
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
![logo](_media/icon.svg)
|
||||
|
||||
# docsify <small>3.4</small>
|
||||
# docsify <small>3.5</small>
|
||||
|
||||
> A magical documentation site generator.
|
||||
|
||||
|
@ -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
2
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user