Commit Graph

1595 Commits

Author SHA1 Message Date
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
Joe Pea
74f17a0635
Merge pull request #1598 from luwol03/issue/1597-embed-quotes-bug
fix: allow also " inside of an embed
2021-06-25 15:42:37 -07:00
luwol03
633f241547
added tests 2021-06-25 17:26:27 +02:00
Koy
8f5cbadd62
Merge branch 'develop' into issue/1597-embed-quotes-bug 2021-06-25 17:57:16 +08:00
Koy
baf5a8a496
fix: upgrade dompurify from 2.2.8 to 2.2.9 (#1600)
* fix: upgrade dompurify from 2.2.8 to 2.2.9

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

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 dompurify.

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2021-06-25 16:35:11 +08:00
luwol03
ec16e4a9d5
fix: allow also " inside of an embed 2021-06-22 14:31:45 +02:00
wxq
f80846bd4a
docs: src of docsify-copy-code (#1585)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-06-04 12:19:03 +08:00
沈唁
0dd44cc828
fix: upgrade dompurify from 2.2.7 to 2.2.8 (#1577) 2021-05-25 09:18:53 +08:00
dependabot[bot]
e6d72a2966
chore: bump browserslist from 4.14.5 to 4.16.6 (#1578)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.5 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.5...4.16.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 09:05:00 +08:00
dependabot[bot]
e03b335d37
chore: bump hosted-git-info from 2.8.8 to 2.8.9 (#1570)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 10:03:31 +08:00
Koy
043c9c9f33
docs: add note on video/media attrs. (#1559)
* docs: add note on video/media attrs.

* update: refine decription.

Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-05-09 09:14:32 +08:00
沈唁
37d9f0e121
fix: buble theme missing generic fallback font (#1568) 2021-05-09 08:28:55 +08:00
dependabot[bot]
108d3ed682
chore: bump lodash from 4.17.20 to 4.17.21 (#1567)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 13:11:14 +08:00
dependabot[bot]
e3e3c760b8
chore: bump handlebars from 4.7.6 to 4.7.7 (#1566)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 09:29:25 +08:00
dependabot[bot]
86f134d132
chore: bump ssri from 6.0.1 to 6.0.2 (#1563)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 08:15:40 +08:00
沈唁
a6fbe079d3
chore: Update Edit Document using develop branch (#1541) 2021-04-18 16:14:33 +08:00
沈唁
c24f7f6f0b
fix: Add escapeHtml for search (#1551)
Co-authored-by: Anix <anik220798@gmail.com>
2021-04-12 09:47:39 +08:00
wxq
32203b77bf
docs: link with plugin Pagination (#1554)
Co-authored-by: Koy <koy@ko8e24.top>
2021-04-11 21:02:11 +08:00
Snyk bot
93c48f3d61
fix: Upgrade dompurify from 2.2.6 to 2.2.7 (#1553)
* fix: upgrade dompurify from 2.2.6 to 2.2.7

Snyk has created this PR to upgrade dompurify from 2.2.6 to 2.2.7.

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

Co-authored-by: sy-records <52o@qq52o.cn>
2021-04-10 13:32:30 +08:00
Snyk bot
407e4d4f3d
fix: upgrade dompurify from 2.2.6 to 2.2.7 (#1552)
Snyk has created this PR to upgrade dompurify from 2.2.6 to 2.2.7.

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-04-07 23:16:25 +08:00
dependabot[bot]
6ee77d237f
chore: bump y18n from 4.0.0 to 4.0.1 (#1548)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 10:36:21 +08:00
沈唁
c2cf163fc0
chore: Fix search for missing pathNamespaces (#1547) 2021-03-28 18:46:09 +08:00
Snyk bot
d607f6d71c
fix: Upgrade docsify from 4.12.0 to 4.12.1 (#1544)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017
2021-03-23 11:49:01 +08:00
Mitchell Wright
f19dc69aaf
docs:Update deploy, change Zeit to Vercel (#1540) 2021-03-18 00:21:33 +08:00
沈唁
d6df2b85a9
fix: Cannot read property 'classList' of null (#1527)
* fix: Cannot read property 'classList' of null

* fix: Cannot read property classList of null

https://github.com/docsifyjs/docsify/pull/1527#issuecomment-793455105
2021-03-12 08:48:28 +08:00
沈唁
b8653e1f32
chore: fix microsoft/playwright-github-action error (#1534) 2021-03-11 16:13:08 +08:00
Joe Pea
756c79ff8a
Update PULL_REQUEST_TEMPLATE.md 2021-03-08 22:37:15 -08:00
sy-records
659d18bc69 chore: Update CHANGELOG and Update test snapshots 2021-03-07 11:09:40 +08:00
sy-records
cea7765901 chore: add changelog 4.12.1 2021-03-07 11:00:43 +08:00
sy-records
d1b77c7134 [build] 4.12.1 2021-03-07 11:00:41 +08:00
沈唁
bc3726853f
feat: Support search when there is no title (#1519)
* feat: Support search when there is no title
* test: Support search when there is no title
2021-03-05 14:23:04 +08:00
Koy
abda30d336
test(unit): add test cases on isExternal. (#1515)
* test(unit): add test cases on xss.
2021-02-26 19:23:03 +08:00
沈唁
a8016c8d74
docs: Update Vercel logo link (#1520) 2021-02-20 15:54:30 +08:00
Anix
47cd86c8f1
fix: Upgrade docsify from 4.11.6 to 4.12.0 (#1518)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2021-02-20 09:09:38 +08:00
John Hildenbiddle
ff2a66f127
fix: isExternal check with malformed URL + tests (#1510)
Fix #1477. Fix #1126. Follow-up to #1489.
2021-02-18 20:06:44 +08:00
Mark Battistella
6c13bdb7bd
docs: Updated alias (#1511)
The expression in alias `(+*)` is invalid and a correct working method would be `(.*)`
2021-02-15 09:48:00 +08:00
Koy
065cdd4223
chore: change Gitter to Discord throughout project. (#1507)
* chore: change Gitter to Discord throughout project.
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-02-13 09:18:54 +08:00
沈唁
f5dd61f538
chore: Fix missing carbon (#1501)
Co-authored-by: John Hildenbiddle <jhildenbiddle@users.noreply.github.com>
2021-02-10 00:03:15 -06:00
John Hildenbiddle
8cda07891a
fix: theme switcher in IE11 (#1502) 2021-02-09 23:27:20 -06:00
John Hildenbiddle
a0f61b2af7
fix: Replace ES6 usage for IE11 compatibility (#1500)
* Remove ES6 syntax for IE11 compatibility

* Replace unsupported methods (IE11)
2021-02-08 23:42:31 -06:00
sy-records
8f3d8c9ac9 chore: add changelog 4.12.0 and update test snapshots 2021-02-08 09:31:35 +08:00
sy-records
a2132c89ea chore: add changelog 4.12.0 2021-02-08 09:21:43 +08:00
sy-records
ed4b5be698 [build] 4.12.0 2021-02-08 09:21:40 +08:00
John Hildenbiddle
06cbebfc0d
fix: Use legacy-compatible methods for IE11 (#1495) 2021-02-07 10:44:18 -06:00
Ricardo Gladwell
759ffac992
fix: Unable to navigate on server without default index support (#1372)
* Fix: Cannot serve off `/.../index.html`

Docsify must be hosted on a server that supports a default directory
index (i.e. maps `/.../` -> `/.../index.html`).

Some platforms do not support this, however. For example, HTML apps
hosted on the popular game/software platform, Itch.io.

This change supports hosting Docsify off an explicit path file, such as
`/index.html`. It does this by:

 1. Adding handling for paths like `index.html#/blah`, and
 2. Normalising paths with fragments back to markdown paths

For example, `http://example.org/index.html#/blah` would be mapped to
`http://example.org/blah.md`.

This fixes:

https://github.com/docsifyjs/docsify/issues/427

* Add end-to-end test for index file hosting

* Add code comments for explicit file changes

* Add additional tests for index file hosting

* Add additional tests for index file hosting

* [wip] Attempt to switch tests to Jest

* Add e2e test for new Jest test framework

* Verify sidebar links use file hosting

* Fix: endsWith() not supported for IE11

* Refactor: utility method moved to utility file

* Fix IE11 error from use of String.includes()

Co-authored-by: John Hildenbiddle <jhildenbiddle@users.noreply.github.com>
2021-02-07 10:25:37 -06:00