Skip to content

[Release]: v4.12.2 #1714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 69 commits into from
Jan 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
756c79f
Update PULL_REQUEST_TEMPLATE.md
trusktr Mar 9, 2021
b8653e1
chore: fix microsoft/playwright-github-action error (#1534)
sy-records Mar 11, 2021
d6df2b8
fix: Cannot read property 'classList' of null (#1527)
sy-records Mar 12, 2021
f19dc69
docs:Update deploy, change Zeit to Vercel (#1540)
mitchellwright Mar 17, 2021
d607f6d
fix: Upgrade docsify from 4.12.0 to 4.12.1 (#1544)
snyk-bot Mar 23, 2021
c2cf163
chore: Fix search for missing pathNamespaces (#1547)
sy-records Mar 28, 2021
6ee77d2
chore: bump y18n from 4.0.0 to 4.0.1 (#1548)
dependabot[bot] Mar 31, 2021
407e4d4
fix: upgrade dompurify from 2.2.6 to 2.2.7 (#1552)
snyk-bot Apr 7, 2021
93c48f3
fix: Upgrade dompurify from 2.2.6 to 2.2.7 (#1553)
snyk-bot Apr 10, 2021
32203b7
docs: link with plugin Pagination (#1554)
Anilople Apr 11, 2021
c24f7f6
fix: Add escapeHtml for search (#1551)
sy-records Apr 12, 2021
a6fbe07
chore: Update Edit Document using develop branch (#1541)
sy-records Apr 18, 2021
86f134d
chore: bump ssri from 6.0.1 to 6.0.2 (#1563)
dependabot[bot] May 4, 2021
e3e3c76
chore: bump handlebars from 4.7.6 to 4.7.7 (#1566)
dependabot[bot] May 8, 2021
108d3ed
chore: bump lodash from 4.17.20 to 4.17.21 (#1567)
dependabot[bot] May 8, 2021
37d9f0e
fix: buble theme missing generic fallback font (#1568)
sy-records May 9, 2021
043c9c9
docs: add note on video/media attrs. (#1559)
Koooooo-7 May 9, 2021
e03b335
chore: bump hosted-git-info from 2.8.8 to 2.8.9 (#1570)
dependabot[bot] May 11, 2021
e6d72a2
chore: bump browserslist from 4.14.5 to 4.16.6 (#1578)
dependabot[bot] May 25, 2021
0dd44cc
fix: upgrade dompurify from 2.2.7 to 2.2.8 (#1577)
sy-records May 25, 2021
f80846b
docs: src of docsify-copy-code (#1585)
Anilople Jun 4, 2021
ec16e4a
fix: allow also " inside of an embed
luwol03 Jun 22, 2021
baf5a8a
fix: upgrade dompurify from 2.2.8 to 2.2.9 (#1600)
Koooooo-7 Jun 25, 2021
8f5cbad
Merge branch 'develop' into issue/1597-embed-quotes-bug
Koooooo-7 Jun 25, 2021
633f241
added tests
luwol03 Jun 25, 2021
74f17a0
Merge pull request #1598 from luwol03/issue/1597-embed-quotes-bug
trusktr Jun 25, 2021
2840ac5
docs: Update docsify-updated to prevent replacement (#1574)
sy-records Jun 25, 2021
9d7dcd5
chore: bump prismjs in /packages/docsify-server-renderer (#1607)
dependabot[bot] Jun 29, 2021
97806cb
docs: improve English wording (Getting Started/Customization) (#1617)
johnjago Jul 30, 2021
c0bf897
docs: improve English wording (Guide)
johnjago Jul 30, 2021
691c3e4
test: update sidebar snapshot
johnjago Jul 30, 2021
9d3f50b
Merge pull request #1618 from johnjago/improve-wording-guide
trusktr Jul 31, 2021
b07fa3c
fix: upgrade dompurify from 2.2.9 to 2.3.0 (#1616)
snyk-bot Aug 3, 2021
66303fe
fix: upgrade dompurify from 2.2.7 to 2.3.0 (#1619)
snyk-bot Aug 4, 2021
72485a3
docs: Add dynamic code block highlighting documentation (#1626)
gadhagod Aug 27, 2021
ee8cb8a
chore: bump tar from 4.4.13 to 4.4.15 (#1620)
dependabot[bot] Sep 2, 2021
c53da0c
chore: bump tar from 4.4.15 to 4.4.19 (#1630)
dependabot[bot] Sep 3, 2021
331b65a
Create SECURITY.md (#1634)
Koooooo-7 Sep 10, 2021
e88c239
[Snyk] Upgrade dompurify from 2.3.0 to 2.3.1 (#1633)
snyk-bot Sep 15, 2021
5ac8237
fix: upgrade dompurify from 2.3.0 to 2.3.1 (#1635)
snyk-bot Sep 17, 2021
1dfdace
chore: bump prismjs in /packages/docsify-server-renderer (#1639)
dependabot[bot] Sep 21, 2021
6ee1c14
fix: upgrade node-fetch from 2.6.1 to 2.6.2 (#1641)
snyk-bot Oct 3, 2021
f23f56a
docs: update formatUpdated (#1645)
Koooooo-7 Oct 6, 2021
ff6acfa
fix: upgrade dompurify from 2.3.1 to 2.3.2 (#1647)
snyk-bot Oct 12, 2021
6f81034
fix: upgrade node-fetch from 2.6.2 to 2.6.4 (#1649)
snyk-bot Oct 15, 2021
a5cf85b
docs: add nameLink for change logo redirect. (#1651)
2jun0 Oct 15, 2021
d16e657
fix: upgrade node-fetch from 2.6.4 to 2.6.5 (#1654)
snyk-bot Oct 17, 2021
57dc8a9
docs: Update nameLink in configuration.md (#1653)
2jun0 Oct 22, 2021
c3cdadc
fix: Cannot read property 'tagName' of null (#1655)
woshiguabi Oct 22, 2021
760e0c7
docs: update noCompileLinks documentation (#1666)
trusktr Nov 19, 2021
cefe3f8
fix: upgrade node-fetch from 2.6.5 to 2.6.6 (#1668)
snyk-bot Nov 24, 2021
f03eb79
fix sidebar height style in Mobile Chrome
iNuanfeng Dec 6, 2021
5e0f68c
convert Docsify and mixins to ES classes
trusktr Dec 8, 2021
1a836c9
test:docker locally.
Koooooo-7 Dec 9, 2021
9200174
update: remove user.
Koooooo-7 Dec 9, 2021
ba2127b
update: rebuild.
Koooooo-7 Dec 9, 2021
a5b34c2
update: integration.
Koooooo-7 Dec 9, 2021
40a5fa8
Merge pull request #1685 from docsifyjs/classes
trusktr Dec 9, 2021
3399977
Merge branch 'develop' into develop
iNuanfeng Dec 10, 2021
47cd3b6
Merge pull request #1683 from iNuanfeng/develop
trusktr Dec 10, 2021
c454335
update: commands.
Koooooo-7 Dec 10, 2021
6fbff47
Merge branch 'develop' into docker-local
Koooooo-7 Dec 10, 2021
40e7749
fix: upgrade debug from 4.3.2 to 4.3.3 (#1692)
snyk-bot Dec 21, 2021
aa91d9e
Merge branch 'develop' into docker-local
trusktr Jan 4, 2022
5cac06d
Merge pull request #1688 from docsifyjs/docker-local
trusktr Jan 4, 2022
c90c6a4
style: allow devs to test both build and tests at the same time (#1707)
trusktr Jan 4, 2022
e405120
[build] 4.12.2
Koooooo-7 Jan 6, 2022
e80238d
chore: add changelog 4.12.2
Koooooo-7 Jan 6, 2022
e424a9d
chore: update test snapshots.
Koooooo-7 Jan 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 45 additions & 27 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,65 @@
<!-- Please use English language -->
<!-- Please don't delete this template -->
<!--
PULL REQUEST TEMPLATE
---
Please use English language
Please don't delete this template
---
Update "[ ]" to "[x]" to check a box in any list below.
---
To avoid wasting your time, it's best to open a **feature request issue** first and wait for approval before working on it.
-->

<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->
## **Summary**

**Summary**
<!--
THIS IS REQUIRED! Please describe what the change does and why it should be merged.
-->

**What kind of change does this PR introduce?** (check at least one)
<!--
If changing the UI in any way, please provide the a **before/after** screenshot:
-->

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Docs
- [ ] Build-related changes
- [ ] Repo settings
- [ ] Other, please describe:
## **What kind of change does this PR introduce?**

If changing the UI of default theme, please provide the **before/after** screenshot:
<!--
Copy/paste one of the following options:
-->

**Does this PR introduce a breaking change?** (check one)
<!--
Bugfix
Feature
Code style update
Refactor
Docs
Build-related changes
Repo settings
Other
-->

<!--
If you chose Other, please describe.
-->

## **For any code change,**

- [ ] Related documentation has been updated if needed
- [ ] Related tests have been updated or tests have been added

## **Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [ ] No

If yes, please describe the impact and migration path for existing applications:

**The PR fulfills these requirements:**
## **Related issue, if any:**

- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)
<!-- Paste issue's link or number hashtag here. -->

You have tested in the following browsers: (Providing a detailed version will be better.)
## **Tested in the following browsers:**

- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Edge
- [ ] IE

If adding a **new feature**, the PR's description includes:

- [ ] A convincing reason for adding this feature
- [ ] Related documents have been updated
- [ ] Related tests have been updated

To avoid wasting your time, it's best to open a **feature request issue** first and wait for approval before working on it.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: npm run test:unit -- -ci --runInBand
- name: integration tests
run: npm run test:integration -- -ci --runInBand
- uses: microsoft/playwright-github-action@v1.3.0
- uses: microsoft/playwright-github-action@v1
- name: e2e tests
run: npm run test:e2e -- --ci --runInBand
- name: Upload artifacts (diff output)
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
## [4.12.2](https://github.com/docsifyjs/docsify/compare/v4.12.1...v4.12.2) (2022-01-06)


### Bug Fixes

* Add escapeHtml for search ([#1551](https://github.com/docsifyjs/docsify/issues/1551)) ([c24f7f6](https://github.com/docsifyjs/docsify/commit/c24f7f6f0b87a87f6dd3755f69eb0969ebb029c9))
* allow also " inside of an embed ([ec16e4a](https://github.com/docsifyjs/docsify/commit/ec16e4a9d5718ac4f4c25bb3dcaea3b7551372e0))
* buble theme missing generic fallback font ([#1568](https://github.com/docsifyjs/docsify/issues/1568)) ([37d9f0e](https://github.com/docsifyjs/docsify/commit/37d9f0e1214276e93b2a11ed87390aafa1bdbcec))
* Cannot read property 'classList' of null ([#1527](https://github.com/docsifyjs/docsify/issues/1527)) ([d6df2b8](https://github.com/docsifyjs/docsify/commit/d6df2b85a99371bb9a87402a10dd515bb734182e)), closes [/github.com/docsifyjs/docsify/pull/1527#issuecomment-793455105](https://github.com//github.com/docsifyjs/docsify/pull/1527/issues/issuecomment-793455105)
* Cannot read property 'tagName' of null ([#1655](https://github.com/docsifyjs/docsify/issues/1655)) ([c3cdadc](https://github.com/docsifyjs/docsify/commit/c3cdadc37137edcd9e219359973902d2fc8b66ff)), closes [#1154](https://github.com/docsifyjs/docsify/issues/1154) [/github.com/docsifyjs/docsify/blob/develop/src/core/router/history/html5.js#L25-L27](https://github.com//github.com/docsifyjs/docsify/blob/develop/src/core/router/history/html5.js/issues/L25-L27) [/github.com/docsifyjs/docsify/blob/develop/src/core/router/history/hash.js#L47-L49](https://github.com//github.com/docsifyjs/docsify/blob/develop/src/core/router/history/hash.js/issues/L47-L49)
* upgrade debug from 4.3.2 to 4.3.3 ([#1692](https://github.com/docsifyjs/docsify/issues/1692)) ([40e7749](https://github.com/docsifyjs/docsify/commit/40e77490c68b4143c75dfaebcd0b7f640581306b))
* Upgrade docsify from 4.12.0 to 4.12.1 ([#1544](https://github.com/docsifyjs/docsify/issues/1544)) ([d607f6d](https://github.com/docsifyjs/docsify/commit/d607f6d71c35b50f586806a832f65061f5e3427e))
* upgrade dompurify from 2.2.6 to 2.2.7 ([#1552](https://github.com/docsifyjs/docsify/issues/1552)) ([407e4d4](https://github.com/docsifyjs/docsify/commit/407e4d4f3de78bebd639a3fdae751f8045728e57))
* Upgrade dompurify from 2.2.6 to 2.2.7 ([#1553](https://github.com/docsifyjs/docsify/issues/1553)) ([93c48f3](https://github.com/docsifyjs/docsify/commit/93c48f3d615d95dba550a0e95df6b545d68c3593))
* upgrade dompurify from 2.2.7 to 2.2.8 ([#1577](https://github.com/docsifyjs/docsify/issues/1577)) ([0dd44cc](https://github.com/docsifyjs/docsify/commit/0dd44cc828cc54f7c3b776d45b32925b66cae499))
* upgrade dompurify from 2.2.7 to 2.3.0 ([#1619](https://github.com/docsifyjs/docsify/issues/1619)) ([66303fe](https://github.com/docsifyjs/docsify/commit/66303fec4c7115621e556ad742cfac9d19f26bd9))
* upgrade dompurify from 2.2.8 to 2.2.9 ([#1600](https://github.com/docsifyjs/docsify/issues/1600)) ([baf5a8a](https://github.com/docsifyjs/docsify/commit/baf5a8a4962656d8be8f714283064d2ea10c7e14))
* upgrade dompurify from 2.2.9 to 2.3.0 ([#1616](https://github.com/docsifyjs/docsify/issues/1616)) ([b07fa3c](https://github.com/docsifyjs/docsify/commit/b07fa3cc8323e63dd7b105c7e29b2e1914f5c117))
* upgrade dompurify from 2.3.0 to 2.3.1 ([#1635](https://github.com/docsifyjs/docsify/issues/1635)) ([5ac8237](https://github.com/docsifyjs/docsify/commit/5ac8237cc76e19ca2b373a1a1da6eb4a4da6d8b2))
* upgrade dompurify from 2.3.1 to 2.3.2 ([#1647](https://github.com/docsifyjs/docsify/issues/1647)) ([ff6acfa](https://github.com/docsifyjs/docsify/commit/ff6acfa7623a7db8b00d62c51a9c3037215c4888))
* upgrade node-fetch from 2.6.1 to 2.6.2 ([#1641](https://github.com/docsifyjs/docsify/issues/1641)) ([6ee1c14](https://github.com/docsifyjs/docsify/commit/6ee1c142769a6442aa8c1523ab215106707fa7fc))
* upgrade node-fetch from 2.6.2 to 2.6.4 ([#1649](https://github.com/docsifyjs/docsify/issues/1649)) ([6f81034](https://github.com/docsifyjs/docsify/commit/6f81034ba6a7a6b64ccf1acd2d1fc73761f70a63))
* upgrade node-fetch from 2.6.4 to 2.6.5 ([#1654](https://github.com/docsifyjs/docsify/issues/1654)) ([d16e657](https://github.com/docsifyjs/docsify/commit/d16e657f708777e8377d8e158b50b4010623282d))
* upgrade node-fetch from 2.6.5 to 2.6.6 ([#1668](https://github.com/docsifyjs/docsify/issues/1668)) ([cefe3f8](https://github.com/docsifyjs/docsify/commit/cefe3f87e697a6c54a74d601df2eeb331fcd8933))



## [4.12.1](https://github.com/docsifyjs/docsify/compare/v4.12.0...v4.12.1) (2021-03-07)


Expand Down
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM mcr.microsoft.com/playwright:focal
WORKDIR /app
COPY . .
RUN rm package-lock.json
RUN npm install
RUN npx playwright install
RUN npm run build
ENTRYPOINT ["npm", "run"]
CMD ["test"]
23 changes: 23 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Security Policy

If you believe you have found a security vulnerability in docsify, please report it to us asap.

## Reporting a Vulnerability

**Please do not report security vulnerabilities through our public GitHub issues.**

Send email via :email: [email protected] to us.

Please include as much of the following information as possible to help us better understand the possible issue:

- Type of issue (e.g. cross-site scripting)
- Full paths of source file(s) related to the manifestation of the issue
- The location of the affected source code (tag/branch/commit or direct URL)
- Any special configuration required to reproduce the issue
- Step-by-step instructions to reproduce the issue
- Proof-of-concept or exploit code
- Impact of the issue, including how an attacker might exploit the issue

This information will help us triage your report more quickly.

Thank you in advance.
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![logo](_media/icon.svg)

# docsify <small>4.12.1</small>
# docsify <small>4.12.2</small>

> A magical documentation site generator.

Expand Down
4 changes: 2 additions & 2 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
- [Helpers](helpers.md)
- [Vue compatibility](vue.md)
- [CDN](cdn.md)
- [Offline Mode(PWA)](pwa.md)
- [Server-Side Rendering(SSR)](ssr.md)
- [Offline Mode (PWA)](pwa.md)
- [Server-Side Rendering (SSR)](ssr.md)
- [Embed Files](embed-files.md)

- [Awesome docsify](awesome.md)
Expand Down
30 changes: 15 additions & 15 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ window.$docsify = {
- Type: `String`
- Default: `null`

Configure the repository url, or a string of `username/repo` can add the [GitHub Corner](http://tholman.com/github-corners/) widget in the top right corner of the site.
Configure the repository url, or a string of `username/repo`, to add the [GitHub Corner](http://tholman.com/github-corners/) widget in the top right corner of the site.

```js
window.$docsify = {
Expand Down Expand Up @@ -260,7 +260,7 @@ window.$docsify = {

- Type: `String`

Website logo as it appears in the sidebar. You can resize it by using CSS.
Website logo as it appears in the sidebar. You can resize it using CSS.

```js
window.$docsify = {
Expand Down Expand Up @@ -301,8 +301,8 @@ window.$docsify = {

// For each route
nameLink: {
'/zh-cn/': '/zh-cn/',
'/': '/',
'/zh-cn/': '#/zh-cn/',
'/': '#/',
},
};
```
Expand Down Expand Up @@ -337,7 +337,7 @@ window.$docsify = {

- Type: `String`

Customize the theme color. Use [CSS3 variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables) feature and polyfill in old browser.
Customize the theme color. Use [CSS3 variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables) feature and polyfill in older browsers.

```js
window.$docsify = {
Expand Down Expand Up @@ -367,7 +367,7 @@ window.$docsify = {

- type: `Boolean`

If `loadSidebar` and `autoHeader` are both enabled, for each link in `_sidebar.md`, prepend a header to the page before converting it to HTML. Compare [#78](https://github.com/docsifyjs/docsify/issues/78).
If `loadSidebar` and `autoHeader` are both enabled, for each link in `_sidebar.md`, prepend a header to the page before converting it to HTML. See [#78](https://github.com/docsifyjs/docsify/issues/78).

```js
window.$docsify = {
Expand All @@ -380,7 +380,7 @@ window.$docsify = {

- type: `Boolean`

Execute the script on the page. Only parse the first script tag([demo](themes)). If Vue is present, it is turned on by default.
Execute the script on the page. Only parse the first script tag ([demo](themes)). If Vue is present, it is turned on by default.

```js
window.$docsify = {
Expand Down Expand Up @@ -410,7 +410,7 @@ window.$docsify = {
};
```

?> If this options is `false` but you don't want to emojify some specific colons , [Refer this](https://github.com/docsifyjs/docsify/issues/742#issuecomment-586313143)
?> If this option is `false` but you don't want to emojify some specific colons, [refer to this](https://github.com/docsifyjs/docsify/issues/742#issuecomment-586313143)

## mergeNavbar

Expand Down Expand Up @@ -497,8 +497,8 @@ window.$docsify = {

- type: `Array`

When `routerMode: 'history'`, you may face the cross-origin issues, See [#1379](https://github.com/docsifyjs/docsify/issues/1379).
In Markdown content, there is a simple way to solve it, see extends Markdown syntax `Cross-Origin link` in [helpers](helpers.md).
When `routerMode: 'history'`, you may face cross-origin issues. See [#1379](https://github.com/docsifyjs/docsify/issues/1379).
In Markdown content, there is a simple way to solve it: see extends Markdown syntax `Cross-Origin link` in [helpers](helpers.md).

```js
window.$docsify = {
Expand All @@ -508,9 +508,9 @@ window.$docsify = {

## noCompileLinks

- type: `Array`
- type: `Array<string>`

Sometimes we do not want docsify to handle our links. See [#203](https://github.com/docsifyjs/docsify/issues/203)
Sometimes we do not want docsify to handle our links. See [#203](https://github.com/docsifyjs/docsify/issues/203). We can skip compiling of certain links by specifying an array of strings. Each string is converted into to a regular expression (`RegExp`) and the _whole_ href of a link is matched against it.

```js
window.$docsify = {
Expand Down Expand Up @@ -570,7 +570,7 @@ window.$docsify = {

- type: `Array<string>`

List of languages that will fallback to the default language when a page is requested and it doesn't exist for the given local.
List of languages that will fallback to the default language when a page is requested and it doesn't exist for the given locale.

Example:

Expand Down Expand Up @@ -615,14 +615,14 @@ window.$docsify = {
};
```

> Note: The options with fallbackLanguages didn't work with the `notFoundPage` options.
> Note: The options for fallbackLanguages don't work with the `notFoundPage` options.

## topMargin

- type: `Number`
- default: `0`

Adds a space on top when scrolling content page to reach the selected section. This is useful in case you have a _sticky-header_ layout and you want to align anchors to the end of your header.
Adds a space on top when scrolling the content page to reach the selected section. This is useful in case you have a _sticky-header_ layout and you want to align anchors to the end of your header.

```js
window.$docsify = {
Expand Down
2 changes: 1 addition & 1 deletion docs/cover.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cover

Activate the cover feature by setting `coverpage` to **true**, compare [coverpage configuration](configuration.md#coverpage).
Activate the cover feature by setting `coverpage` to **true**. See [coverpage configuration](configuration.md#coverpage).

## Basic usage

Expand Down
Loading