[build] 4.3.8

This commit is contained in:
qingwei.li 2017-10-07 10:08:27 +08:00
parent 9b4e6669db
commit 25acd8ce77
5 changed files with 11 additions and 8 deletions

View File

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

View File

@ -2694,13 +2694,16 @@ function genTree (toc, maxLevel) {
var cache$1 = {};
var re = /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@\[\]^`{|}~]/g;
function lower (string) {
return string.toLowerCase()
}
function slugify (str) {
if (typeof str !== 'string') { return '' }
str = /^[\w\s]+$/g.test(str) ? str.toLowerCase() : str;
var slug = str
.trim()
.replace(/[A-Z]+/g, lower)
.replace(/<[^>\d]+>/g, '')
.replace(re, '')
.replace(/\s/g, '-')
@ -3976,7 +3979,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.3.7';
Docsify.version = '4.3.8';
/**
* Run Docsify

4
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -37,5 +37,5 @@
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
}
},
"version": "4.3.7"
"version": "4.3.8"
}

View File

@ -1,6 +1,6 @@
{
"name": "docsify-server-renderer",
"version": "4.3.7",
"version": "4.3.8",
"description": "docsify server renderer",
"author": {
"name": "qingwei-li",