mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-09 21:36:10 +10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e70327ab2b | ||
|
|
7209b82982 | ||
|
|
594299ffbd |
@@ -1,3 +1,6 @@
|
||||
# 3.5.1 / 2017-03-25
|
||||
|
||||
* fix: .md file extension regex
|
||||
|
||||
# 3.5.0 / 2017-03-25
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||

|
||||
|
||||
# docsify <small>3.4</small>
|
||||
# docsify <small>3.5</small>
|
||||
|
||||
> A magical documentation site generator.
|
||||
|
||||
|
||||
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "docsify",
|
||||
"version": "3.5.0",
|
||||
"version": "3.5.1",
|
||||
"description": "A magical documentation generator.",
|
||||
"author": {
|
||||
"name": "qingwei-li",
|
||||
|
||||
@@ -70,7 +70,7 @@ export 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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user