Commit Graph

1592 Commits

Author SHA1 Message Date
Joe Pea
c8141f7673
Merge branch 'develop' into element-value-for-el-option 2022-01-26 09:26:40 -08:00
Joe Pea
b58941e88b
Merge pull request #1734 from docsifyjs/mark-ssr-as-experimental
docs: mention that SSR is experimental and incomplete, …
2022-01-26 08:59:54 -08:00
Joe Pea
8b20eb8a03
Merge branch 'develop' into element-value-for-el-option 2022-01-26 08:57:22 -08:00
Joe Pea
47cb36e74d mention that SSR is experimental and incomplete, prevent people from using it thinking it is ready for prime time 2022-01-23 19:43:46 -08:00
Joe Pea
e0bead3bd6
Merge pull request #1725 from docsifyjs/update-license
Update LICENSE
2022-01-23 00:04:04 -08:00
Joe Pea
799c0a4936
Update LICENSE 2022-01-16 19:52:18 -08:00
ChoKaPeek
719dcbea5c
fix: correctly fix missing +1, -1 (#1722) 2022-01-14 17:56:28 +08:00
Snyk bot
c1227b22cb
fix: packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities (#1715)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1090577
2022-01-13 15:46:55 +08:00
Joe Pea
00a76a4796
Merge branch 'develop' into element-value-for-el-option 2022-01-06 21:12:08 -08:00
i544693
e424a9d225 chore: update test snapshots. 2022-01-06 17:12:13 +08:00
i544693
e80238d4fc chore: add changelog 4.12.2 2022-01-06 16:55:27 +08:00
i544693
e405120e08 [build] 4.12.2 2022-01-06 16:55:22 +08:00
Joe Pea
00a87311b0 allow the el option to accept an HTMLElement instance
This aligns it with what the docs were already saying erroneously, plus
this is useful in cases when people have refs to an element already
(embedding Docsify in a custom element shadow root, or in a React
component that has a ref to the target element, etc).
2022-01-05 09:55:48 -08:00
Joe Pea
c90c6a4b74
style: allow devs to test both build and tests at the same time (#1707)
The docker:rebuild script rebuilds the docker image from scratch including the Docsify build, while the new one rebuilds only Docsify code and makes local re-testing faster.
2022-01-04 15:54:37 +08:00
Joe Pea
5cac06dd9c
Merge pull request #1688 from docsifyjs/docker-local
test: for making test steady in docker locally.
2022-01-03 22:18:48 -08:00
Joe Pea
aa91d9e475
Merge branch 'develop' into docker-local 2022-01-03 22:10:09 -08:00
Snyk bot
40e77490c6
fix: upgrade debug from 4.3.2 to 4.3.3 (#1692)
Snyk has created this PR to upgrade debug from 4.3.2 to 4.3.3.

See this package in npm:
https://www.npmjs.com/package/debug

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-12-21 15:29:04 +08:00
Koy
6fbff47761
Merge branch 'develop' into docker-local 2021-12-10 17:57:19 +08:00
i544693
c454335918 update: commands. 2021-12-10 16:41:41 +08:00
Joe Pea
47cd3b683b
Merge pull request #1683 from iNuanfeng/develop
Fix: Theme preview in Mobile Chrome, Safari
2021-12-09 20:07:45 -08:00
暖风
33999774f1
Merge branch 'develop' into develop 2021-12-10 10:02:50 +08:00
Joe Pea
40a5fa8f44
Merge pull request #1685 from docsifyjs/classes
convert Docsify and mixins to ES classes
2021-12-09 15:25:30 -08:00
i544693
a5b34c2c3f update: integration. 2021-12-10 02:12:58 +08:00
i544693
ba2127bcfa update: rebuild. 2021-12-10 02:11:12 +08:00
i544693
9200174666 update: remove user. 2021-12-10 02:09:19 +08:00
i544693
1a836c9479 test:docker locally. 2021-12-10 01:55:30 +08:00
Joe Pea
5e0f68caf0 convert Docsify and mixins to ES classes 2021-12-07 18:23:06 -08:00
暖风
f03eb796ad fix sidebar height style in Mobile Chrome 2021-12-06 10:11:01 +08:00
Snyk bot
cefe3f87e6
fix: upgrade node-fetch from 2.6.5 to 2.6.6 (#1668)
Snyk has created this PR to upgrade node-fetch from 2.6.5 to 2.6.6.

See this package in npm:
https://www.npmjs.com/package/node-fetch

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-11-24 15:35:50 +08:00
Joe Pea
760e0c7983
docs: update noCompileLinks documentation (#1666)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-11-19 17:19:45 +08:00
woshiguabi
c3cdadc371
fix: Cannot read property 'tagName' of null (#1655)
Have a look at this issue #1154 .
https://codesandbox.io/s/loving-matsumoto-hp985?file=/index.html
Open devtools and click the *blank space* of svg(not path) will reproduce this issue.

`parentNode` may be `null`.
https://github.com/docsifyjs/docsify/blob/develop/src/core/router/history/html5.js#L25-L27

However, hash router has fixed this issue😜.
https://github.com/docsifyjs/docsify/blob/develop/src/core/router/history/hash.js#L47-L49

Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-10-22 16:01:06 +08:00
2jun0
57dc8a9238
docs: Update nameLink in configuration.md (#1653)
Like [this commit](https://github.com/docsifyjs/docsify/pull/1651), thie configuration.md page needs to be updated.

Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-10-22 09:50:34 +08:00
Snyk bot
d16e657f70
fix: upgrade node-fetch from 2.6.4 to 2.6.5 (#1654)
Snyk has created this PR to upgrade node-fetch from 2.6.4 to 2.6.5.

See this package in npm:
https://www.npmjs.com/package/node-fetch

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-10-17 10:13:24 +08:00
2jun0
a5cf85b61d
docs: add nameLink for change logo redirect. (#1651)
add nameLink to change logo redirect path for different lang docs.
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-10-15 14:11:56 +08:00
Snyk bot
6f81034ba6
fix: upgrade node-fetch from 2.6.2 to 2.6.4 (#1649)
Snyk has created this PR to upgrade node-fetch from 2.6.2 to 2.6.4.

See this package in npm:
https://www.npmjs.com/package/node-fetch

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-10-15 10:59:10 +08:00
Snyk bot
ff6acfa762
fix: upgrade dompurify from 2.3.1 to 2.3.2 (#1647)
Snyk has created this PR to upgrade dompurify from 2.3.1 to 2.3.2.

See this package in npm:
https://www.npmjs.com/package/dompurify

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-10-12 22:53:17 +08:00
Koy
f23f56a945
docs: update formatUpdated (#1645)
* update: docs formatUpdated.
2021-10-06 13:49:56 +08:00
Snyk bot
6ee1c14276
fix: upgrade node-fetch from 2.6.1 to 2.6.2 (#1641)
Snyk has created this PR to upgrade node-fetch from 2.6.1 to 2.6.2.

See this package in npm:
https://www.npmjs.com/package/node-fetch

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-10-03 13:11:51 +08:00
dependabot[bot]
1dfdacea1a
chore: bump prismjs in /packages/docsify-server-renderer (#1639)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 16:00:12 +08:00
Snyk bot
5ac8237cc7
fix: upgrade dompurify from 2.3.0 to 2.3.1 (#1635)
Snyk has created this PR to upgrade dompurify from 2.3.0 to 2.3.1.

See this package in npm:
https://www.npmjs.com/package/dompurify

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=upgrade-pr
2021-09-17 14:51:02 +08:00
Snyk bot
e88c2396e3
[Snyk] Upgrade dompurify from 2.3.0 to 2.3.1 (#1633)
* fix: upgrade dompurify from 2.3.0 to 2.3.1

Snyk has created this PR to upgrade dompurify from 2.3.0 to 2.3.1.

See this package in npm:
https://www.npmjs.com/package/dompurify

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/836f877b-b98e-47ed-89fc-554e9b2e146d?utm_source=github&utm_medium=upgrade-pr

* fix: fix dependency.

* fix: fix dependency.

* Update package-lock.json

* Update package-lock.json

Co-authored-by: i544693 <369491420@qq.com>
Co-authored-by: Koy <koy@ko8e24.top>
2021-09-15 10:42:29 +08:00
Koy
331b65a7b7
Create SECURITY.md (#1634)
* Create SECURITY.md

* Update SECURITY.md

Co-authored-by: Joe Pea <joe@trusktr.io>
2021-09-10 13:57:38 +08:00
dependabot[bot]
c53da0c4b6
chore: bump tar from 4.4.15 to 4.4.19 (#1630)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.15 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.15...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-03 11:01:02 +08:00
dependabot[bot]
ee8cb8a837
chore: bump tar from 4.4.13 to 4.4.15 (#1620)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy <koy@ko8e24.top>
2021-09-02 09:53:32 +08:00
Aarav Borthakur
72485a38c1
docs: Add dynamic code block highlighting documentation (#1626) 2021-08-27 18:34:34 +08:00
Snyk bot
66303fec4c
fix: upgrade dompurify from 2.2.7 to 2.3.0 (#1619)
Snyk has created this PR to upgrade dompurify from 2.2.7 to 2.3.0.

See this package in npm:
https://www.npmjs.com/package/dompurify

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=upgrade-pr
2021-08-04 10:44:08 +08:00
Snyk bot
b07fa3cc83
fix: upgrade dompurify from 2.2.9 to 2.3.0 (#1616)
* fix: upgrade dompurify from 2.2.9 to 2.3.0

Snyk has created this PR to upgrade dompurify from 2.2.9 to 2.3.0.

See this package in npm:
https://www.npmjs.com/package/dompurify

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/836f877b-b98e-47ed-89fc-554e9b2e146d?utm_source=github&utm_medium=upgrade-pr

* fix: missing vue.

* Update package-lock.json

* Update package-lock.json

Co-authored-by: Koy <koy@ko8e24.top>
2021-08-03 18:18:22 +08:00
Joe Pea
9d3f50b1df
Merge pull request #1618 from johnjago/improve-wording-guide
docs: improve English wording (Guide)
2021-07-31 15:54:24 -07:00
John Jago
691c3e4048 test: update sidebar snapshot 2021-07-30 18:15:12 -05:00
John Jago
c0bf897ea4 docs: improve English wording (Guide)
This change improves a few of the phrases so that they sound more natural.
Small stylistic changes are also included, such as consistent use of "GitHub"
instead of "Github".
2021-07-30 11:51:24 -05:00