Compare commits

...

3 commits

Author SHA1 Message Date
qingwei.li
6eccca1000 chore: add changelog 4.5.7 2017-12-29 16:46:06 +08:00
qingwei.li
5a4d5d02d0 [build] 4.5.7 2017-12-29 16:46:04 +08:00
qingwei.li
f29e658037 docs: add maxAge for ssr 2017-12-29 16:45:32 +08:00
10 changed files with 20 additions and 9 deletions

View file

@ -1,3 +1,13 @@
<a name="4.5.7"></a>
## [4.5.7](https://github.com/QingWei-Li/docsify/compare/v4.5.6...v4.5.7) (2017-12-29)
### Features
* add navigation plugin, closed [#180](https://github.com/QingWei-Li/docsify/issues/180) ([f78be4c](https://github.com/QingWei-Li/docsify/commit/f78be4c))
<a name="4.5.6"></a>
## [4.5.6](https://github.com/QingWei-Li/docsify/compare/v4.5.3...v4.5.6) (2017-12-14)

View file

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

View file

@ -94,6 +94,7 @@ You can configure it in a special config file, or `package.json`.
```js
module.exports = {
template: './ssr.html',
maxAge: 60 * 60 * 1000, // lru-cache config
config: {
// docsify config
}

View file

@ -2851,7 +2851,7 @@ var Compiler = function Compiler (config, router) {
};
Compiler.prototype.matchNotCompileLink = function matchNotCompileLink (link) {
var links = this.config.noCompileLinks;
var links = this.config.noCompileLinks || [];
for (var i = 0; i < links.length; i++) {
var n = links[i];
@ -4063,7 +4063,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.5.6';
Docsify.version = '4.5.7';
/**
* Run Docsify

2
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "docsify",
"version": "4.5.6",
"version": "4.5.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"name": "docsify",
"version": "4.5.6",
"version": "4.5.7",
"description": "A magical documentation generator.",
"author": {
"name": "qingwei-li",

View file

@ -37,5 +37,5 @@
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
}
},
"version": "4.5.6"
"version": "4.5.7"
}

View file

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

View file

@ -61,7 +61,7 @@ export class Compiler {
}
matchNotCompileLink (link) {
const links = this.config.noCompileLinks
const links = this.config.noCompileLinks || []
for (var i = 0; i < links.length; i++) {
const n = links[i]