mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-11-30 11:08:58 +08:00
[build] 4.3.8
This commit is contained in:
parent
9b4e6669db
commit
25acd8ce77
@ -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.
|
||||
|
||||
|
@ -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
4
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
@ -37,5 +37,5 @@
|
||||
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
|
||||
}
|
||||
},
|
||||
"version": "4.3.7"
|
||||
"version": "4.3.8"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "docsify-server-renderer",
|
||||
"version": "4.3.7",
|
||||
"version": "4.3.8",
|
||||
"description": "docsify server renderer",
|
||||
"author": {
|
||||
"name": "qingwei-li",
|
||||
|
Loading…
Reference in New Issue
Block a user