Skip to content

Commit 79f8211

Browse files
authored
Merge pull request #965 from docsifyjs/develop
Develop -> Master : tracking changes PR
2 parents 8bf4b06 + 68327c5 commit 79f8211

File tree

19 files changed

+9302
-5671
lines changed

19 files changed

+9302
-5671
lines changed

Diff for: .github/FUNDING.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
open_collective: docsify
2+

Diff for: build/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const rollup = require('rollup')
22
const buble = require('rollup-plugin-buble')
33
const commonjs = require('rollup-plugin-commonjs')
44
const nodeResolve = require('rollup-plugin-node-resolve')
5-
const uglify = require('rollup-plugin-uglify')
5+
const { uglify } = require('rollup-plugin-uglify')
66
const replace = require('rollup-plugin-replace')
77
const isProd = process.env.NODE_ENV === 'production'
88
const version = process.env.VERSION || require('../package.json').version

Diff for: docs/configuration.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -397,14 +397,40 @@ window.$docsify = {
397397
- type: `String`
398398
- default: `_blank`
399399

400-
Target to open external links. Default `'_blank'` (new window/tab)
400+
Target to open external links inside the markdown. Default `'_blank'` (new window/tab)
401401

402402
```js
403403
window.$docsify = {
404404
externalLinkTarget: '_self' // default: '_blank'
405405
};
406406
```
407407

408+
## cornerExternalLinkTarget
409+
410+
- type:`String`
411+
- default:`_blank`
412+
413+
Target to open external link at the top right corner. Default `'_blank'` (new window/tab)
414+
415+
```js
416+
window.$docsify = {
417+
cornerExternalLinkTarget: '_self' // default: '_blank'
418+
};
419+
```
420+
421+
## externalLinkRel
422+
423+
- type: `String`
424+
- default: `noopener`
425+
426+
Default `'noopener'` (no opener) prevents the newly opened external page (when [externalLinkTarget](#externallinktarget) is `'_blank'`) from having the ability to control our page. No `rel` is set when its not `'_blank'`.
427+
428+
```js
429+
window.$docsify = {
430+
externalLinkTarget: '' // default: 'noopener'
431+
};
432+
```
433+
408434
## routerMode
409435

410436
- type: `String`

Diff for: docs/deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ It is recommended that you save your files to the `./docs` subfolder of the `mas
1515
![github pages](_images/deploy-github-pages.png)
1616

1717
!> You can also save files in the root directory and select `master branch`.
18-
You'll need to place a `.nojekyll` file in the deploy location (such as `/docs` or the gh-pages branch
18+
You'll need to place a `.nojekyll` file in the deploy location (such as `/docs` or the gh-pages branch)
1919

2020
## GitLab Pages
2121

0 commit comments

Comments
 (0)