Joe Pea
38f2d243b8
pin playwright to 1.8 to avoid regressions, and fix flaky tests
...
Playwright had some in-range breaking changes (regressions): https://github.com/microsoft/playwright/issues/10819 and https://github.com/microsoft/playwright/issues/11570
Playwright tests need to `await onceRendered()` after each route navigation to wait for render to finish before testing the state of the rendered DOM. Tests were flaky because they were looking for DOM before render finished (sometimes).
Additionally, this fixes one test that was failing only locally, but not in CI, due to a RegExp check against page.url() (not sure why it would differ on CI vs local, but now the URL is explicit).
2022-01-23 00:00:15 -08:00
Joe Pea
9658ed4d3a
Turn the corner, cover, and main tpl functions into Solid components with props, then use them as JSX
2022-01-09 22:50:44 -08:00
Joe Pea
fd494bdc41
update docker test script
2022-01-09 20:14:30 -08:00
Joe Pea
b17826f3f3
update node.js versions for CI from 12,14 to 16,17
2022-01-09 20:12:19 -08:00
Joe Pea
5de5e5ec96
get tests running
...
We had to pin the `colors` library (used by live-server)because the
author wilfully broke it to disrupt millions of users.
https://github.com/Marak/colors.js/issues/285
2022-01-09 19:09:20 -08:00
Joe Pea
badcf91053
shorter style tag definitions
2022-01-07 12:48:22 -08:00
Joe Pea
388ceba31f
convert some DOM creation code to Solid JSX
...
This updates Rollup and replaces Buble with Babel (we're already using Babel anyway) to add babel-preset-solid for compiling Solid JSX expressions.
At the moment this breaks the current SSR feature.
2022-01-07 12:39:25 -08:00
i544693
e424a9d225
chore: update test snapshots.
2022-01-06 17:12:13 +08:00
i544693
e80238d4fc
chore: add changelog 4.12.2
v4.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
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
John Jago
97806cb757
docs: improve English wording (Getting Started/Customization) ( #1617 )
...
While referencing the documentation, I noticed a few phrases that could
be changed to sound more natural. I tried to keep the original meanings.
2021-07-30 10:18:00 +08:00
dependabot[bot]
9d7dcd518d
chore: bump prismjs in /packages/docsify-server-renderer ( #1607 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.24.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.23.0...v1.24.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-06-29 09:25:55 +08:00
沈唁
2840ac5d11
docs: Update docsify-updated to prevent replacement ( #1574 )
...
Co-authored-by: Koy <koy@ko8e24.top >
2021-06-26 07:39:56 +08:00