Skip to content

Commit f6c34f8

Browse files
committed
Merge develop
1 parent 9f5e562 commit f6c34f8

File tree

20 files changed

+2804
-3120
lines changed

20 files changed

+2804
-3120
lines changed

.github/stale.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 50 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
## [4.11.6](https://github.com/docsifyjs/docsify/compare/v4.11.5...v4.11.6) (2020-08-22)
2+
3+
4+
### Bug Fixes
5+
6+
* Add patch for {docsify-ignore} and {docsify-ignore-all} ([ce31607](https://github.com/docsifyjs/docsify/commit/ce316075e033afdbeb43ce01e284a29fe1870e38))
7+
8+
9+
10+
## [4.11.5](https://github.com/docsifyjs/docsify/compare/v4.11.4...v4.11.5) (2020-08-21)
11+
12+
13+
### Bug Fixes
14+
15+
* Russian language link error ([#1270](https://github.com/docsifyjs/docsify/issues/1270)) ([2a52460](https://github.com/docsifyjs/docsify/commit/2a52460a59448abaf681046fbc5dca642285ae1f))
16+
* {docsify-updated} in the sample code is parsed into time ([#1321](https://github.com/docsifyjs/docsify/issues/1321)) ([2048610](https://github.com/docsifyjs/docsify/commit/2048610aacd4e3c6a592f4247834a726c7ca33fb))
17+
* Add error handling for missing dependencies (fixes [#1210](https://github.com/docsifyjs/docsify/issues/1210)) ([#1232](https://github.com/docsifyjs/docsify/issues/1232)) ([3673001](https://github.com/docsifyjs/docsify/commit/3673001a24cb24c57454f9bc7619de49d2c3a044))
18+
* after setting the background image, the button is obscured ([#1234](https://github.com/docsifyjs/docsify/issues/1234)) ([34d918f](https://github.com/docsifyjs/docsify/commit/34d918f9973bdb8e893248853e3ef7e803d4c253))
19+
* convert {docsify-ignore} and {docsify-ignore-all} to HTML comments ([#1318](https://github.com/docsifyjs/docsify/issues/1318)) ([90d283d](https://github.com/docsifyjs/docsify/commit/90d283d340502456a5d8495df596bb4a02ceb39b))
20+
* fallback page should use path not file location ([#1301](https://github.com/docsifyjs/docsify/issues/1301)) ([2bceabc](https://github.com/docsifyjs/docsify/commit/2bceabcb8e623570540493e2f1d956adf45c99e7))
21+
* Fix search error when exist translations documents ([#1300](https://github.com/docsifyjs/docsify/issues/1300)) ([b869019](https://github.com/docsifyjs/docsify/commit/b8690199006366e86084e9e018def7b9b8f46512))
22+
* gitignore was ignoring folders in src, so VS Code search results or file fuzzy finder were not working, etc ([d4c9247](https://github.com/docsifyjs/docsify/commit/d4c9247b87c0a2701683ed1a17383cfb451cf609))
23+
* packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities ([#1250](https://github.com/docsifyjs/docsify/issues/1250)) ([d439bac](https://github.com/docsifyjs/docsify/commit/d439bac93f479d0480799880538fc3104e54c907))
24+
* search can not search the table header ([#1256](https://github.com/docsifyjs/docsify/issues/1256)) ([3f03e78](https://github.com/docsifyjs/docsify/commit/3f03e78418993d8e9a4f5062e10dc79c3753389e))
25+
* Search plugin: matched text is replaced with search text ([#1298](https://github.com/docsifyjs/docsify/issues/1298)) ([78775b6](https://github.com/docsifyjs/docsify/commit/78775b6ee73102cc5ac71c0ee2b392c5f4f6f4f8))
26+
* the uncaught typeerror when el is null ([#1308](https://github.com/docsifyjs/docsify/issues/1308)) ([952f4c9](https://github.com/docsifyjs/docsify/commit/952f4c921b7a6a558c500ca6b105582d39ad36a2))
27+
* Updated docs with instructions for installing specific version (fixes [#780](https://github.com/docsifyjs/docsify/issues/780)) ([#1225](https://github.com/docsifyjs/docsify/issues/1225)) ([b90c948](https://github.com/docsifyjs/docsify/commit/b90c948090e89fa778279c95060dbd7668285658))
28+
* upgrade medium-zoom from 1.0.5 to 1.0.6 ([3beaa66](https://github.com/docsifyjs/docsify/commit/3beaa6666b78518f1ffaa37f6942f3cb08fef896))
29+
* upgrade tinydate from 1.2.0 to 1.3.0 ([#1341](https://github.com/docsifyjs/docsify/issues/1341)) ([59d090f](https://github.com/docsifyjs/docsify/commit/59d090fe9096bc03e259c166634bb75bb2623f85))
30+
31+
32+
### Features
33+
34+
* **search:** add pathNamespaces option ([d179dde](https://github.com/docsifyjs/docsify/commit/d179dde1c71acdcbe66cb762377b123926c55bf2))
35+
* Add title to sidebar links ([#1286](https://github.com/docsifyjs/docsify/issues/1286)) ([667496b](https://github.com/docsifyjs/docsify/commit/667496b85d99b168255f58e60a6bfe902cc6ee03))
36+
37+
38+
139
## [4.11.4](https://github.com/docsifyjs/docsify/compare/v4.11.3...v4.11.4) (2020-06-18)
240

341

@@ -57,8 +95,8 @@
5795
* emojis in titles not working correctly and update ([#1016](https://github.com/docsifyjs/docsify/issues/1016)) ([b3d9b96](https://github.com/docsifyjs/docsify/commit/b3d9b966dfbb6f456c2c457da1d2a366e85d9190))
5896
* searching table content ([6184e50](https://github.com/docsifyjs/docsify/commit/6184e502629932ca71fdd0a1b10150d118f5a7c8))
5997
* stage modified files as part of pre-commit hook ([#985](https://github.com/docsifyjs/docsify/issues/985)) ([5b77b0f](https://github.com/docsifyjs/docsify/commit/5b77b0f628f056b7ebb6d0b617561d19964516a2))
60-
* config initialization and coercion ([#861](https://github.com/docsifyjs/docsify/pull/861))
61-
* strip indent when embedding code fragment ([#996](https://github.com/docsifyjs/docsify/pull/996))
98+
* config initialization and coercion ([#861](https://github.com/docsifyjs/docsify/pull/861))
99+
* strip indent when embedding code fragment ([#996](https://github.com/docsifyjs/docsify/pull/996))
62100
* Ensure autoHeader dom result is similar to parsed H1 ([#811](https://github.com/docsifyjs/docsify/pull/811))
63101
* upgrade docsify from 4.9.4 to 4.10.2 ([#1054](https://github.com/docsifyjs/docsify/issues/1054)) ([78290b2](https://github.com/docsifyjs/docsify/commit/78290b21038a3ae09c4c7438bd89b14ca4c02805))
64102
* upgrade medium-zoom from 1.0.4 to 1.0.5 ([39ebd73](https://github.com/docsifyjs/docsify/commit/39ebd73021290439180878cae32e663b9e60e214))
@@ -77,29 +115,29 @@
77115

78116
### Docs
79117

80-
* update docs for the `name` config option ([#992](https://github.com/docsifyjs/docsify/pull/992))
118+
* update docs for the `name` config option ([#992](https://github.com/docsifyjs/docsify/pull/992))
81119
* about cache ([#854](https://github.com/docsifyjs/docsify/pull/854))
82120
* removed FOSSA badge
83121
* documented `__colon__` tip ([#1025](https://github.com/docsifyjs/docsify/pull/1025))
84122

85123
### Chore
86124

87125
* Migrate relative links to absolute in embedded markdown ([#867](https://github.com/docsifyjs/docsify/pull/867))
88-
* smarter scroll behavior ([#744](https://github.com/docsifyjs/docsify/pull/744))
126+
* smarter scroll behavior ([#744](https://github.com/docsifyjs/docsify/pull/744))
89127
* improve basic layout style ([#884](https://github.com/docsifyjs/docsify/pull/884))
90-
* There are currently {three=>four} themes available. ([#892](https://github.com/docsifyjs/docsify/pull/892))
91-
* Added a redirect for images to show up in Amplify ([#918](https://github.com/docsifyjs/docsify/pull/918))
128+
* There are currently {three=>four} themes available. ([#892](https://github.com/docsifyjs/docsify/pull/892))
129+
* Added a redirect for images to show up in Amplify ([#918](https://github.com/docsifyjs/docsify/pull/918))
92130
* removed the escaping of the name of sidebar ([#991](https://github.com/docsifyjs/docsify/pull/991))
93-
* Eslint fixes for v4x ([#989](https://github.com/docsifyjs/docsify/pull/989))
94-
* added github Actions for CI ([#1000](https://github.com/docsifyjs/docsify/pull/1000))
131+
* Eslint fixes for v4x ([#989](https://github.com/docsifyjs/docsify/pull/989))
132+
* added github Actions for CI ([#1000](https://github.com/docsifyjs/docsify/pull/1000))
95133
* Add a prepare script. ([#1010](https://github.com/docsifyjs/docsify/pull/1010))
96-
* chore(GH-action): using ubuntu 16 and removed node 8 from CI
134+
* chore(GH-action): using ubuntu 16 and removed node 8 from CI
97135
* chore: add config ([#1014](https://github.com/docsifyjs/docsify/pull/1014))
98136
* chore(stale): added enhancement label to exemptlabels
99137
* chore(stale): added bug label to exemptlabels
100-
* .markdown-section max-width 800px to 80% ([#1017](https://github.com/docsifyjs/docsify/pull/1017))
101-
* changed the CDN from unpkg to jsDelivr #1020 ([#1022](https://github.com/docsifyjs/docsify/pull/1022))
102-
* migrate CI to github, refactore CI and npm scripts, linting fixes ([#1023](https://github.com/docsifyjs/docsify/pull/1023))
138+
* .markdown-section max-width 800px to 80% ([#1017](https://github.com/docsifyjs/docsify/pull/1017))
139+
* changed the CDN from unpkg to jsDelivr #1020 ([#1022](https://github.com/docsifyjs/docsify/pull/1022))
140+
* migrate CI to github, refactore CI and npm scripts, linting fixes ([#1023](https://github.com/docsifyjs/docsify/pull/1023))
103141
* chore(readme): added CI badges and fixed the logo issue
104142
* added new linter config ([#1028](https://github.com/docsifyjs/docsify/pull/1028))
105143

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://docsify.js.org">
3-
<img alt="docsify" src="https://github.com/docsifyjs/docsify/blob/develop/docs/_media/icon.svg">
3+
<img alt="docsify" src="./docs/_media/icon.svg">
44
</a>
55
</p>
66

@@ -84,7 +84,7 @@ So that you can start straight away.
8484

8585
- Fork it!
8686
- Create your feature branch: `git checkout -b my-new-feature`
87-
- Commit your changes: `git commit -am 'Add some feature'`
87+
- Commit your changes: `git add . && git commit -m 'Add some feature'`
8888
- Push to the branch: `git push origin my-new-feature`
8989
- Submit a pull request
9090

build/build.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ async function build(opts) {
2222
.rollup({
2323
input: opts.input,
2424
plugins: (opts.plugins || []).concat([
25-
buble(),
25+
buble({
26+
transforms: {
27+
dangerousForOf: true
28+
}}),
2629
commonjs(),
2730
nodeResolve(),
2831
replace({
@@ -33,8 +36,8 @@ async function build(opts) {
3336
onwarn: function (message) {
3437
if (message.code === 'UNRESOLVED_IMPORT') {
3538
throw new Error(
36-
`Could not resolve module ` +
37-
message.source +
39+
`Could not resolve module ` +
40+
message.source +
3841
`. Try running 'npm install' or using rollup's 'external' option if this is an external dependency. ` +
3942
`Module ${message.source} is imported in ${message.importer}`
4043
)

docs/_coverpage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![logo](_media/icon.svg)
22

3-
# docsify <small>4.11.4</small>
3+
# docsify <small>4.11.6</small>
44

55
> A magical documentation site generator.
66

docs/embed-files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Sometimes you don't want to embed a whole file. Maybe because you need just a fe
6262
[filename](_media/example.js ':include :type=code :fragment=demo')
6363
```
6464

65-
In your code file you need to surround the fragment between `/// [demo]` lines (before and after the fragment).
65+
In your code file you need to surround the fragment between `/// [demo]` lines (before and after the fragment).
6666
Alternatively you can use `### [demo]`.
6767

6868
Example:
@@ -153,7 +153,7 @@ The `LABEL` can be any text you want. It acts as a _fallback_ message if the lin
153153
### Render a codeblock from a gist
154154

155155
The format is the same as the previous section, but with `:type=code` added to the alt text. As with the [Embedded file type](#embedded-file-type) section, the syntax highlighting will be **inferred** from the extension (e.g. `.js` or `.py`), so you can leave the `type` set as `code`.
156-
156+
157157
Here is the format:
158158

159159
```markdown

docs/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,16 @@
4141
title="pure"
4242
disabled
4343
/>
44-
44+
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1.0.1/index.min.js"></script>
4545
<style>
4646
nav.app-nav li ul {
4747
min-width: 100px;
4848
}
49+
50+
#carbonads {
51+
box-shadow: none !important;
52+
width: auto !important;
53+
}
4954
</style>
5055
</head>
5156

docs/plugins.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ The default is to support parsing emoji. For example `:100:` will be parsed to :
9191
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
9292
```
9393

94+
?> If you don't want to parse to emoji, you can use __colon_<span>_</span> or `&#58;`. If you need to use in the title, we recommend using `&#58;`. For example, `&#58;100:`
95+
9496
## External Script
9597

9698
If the script on the page is an external one (imports a js file via `src` attribute), you'll need this plugin to make it work.

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@
1010
<link rel="stylesheet" href="/themes/dark.css" title="dark" disabled>
1111
<link rel="stylesheet" href="/themes/buble.css" title="buble" disabled>
1212
<link rel="stylesheet" href="/themes/pure.css" title="pure" disabled>
13+
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1.0.1/index.min.js"></script>
1314
<style>
1415
nav.app-nav li ul {
1516
min-width: 100px;
1617
}
18+
19+
#carbonads {
20+
box-shadow: none !important;
21+
width: auto !important;
22+
}
1723
</style>
1824
</head>
1925

@@ -56,6 +62,7 @@
5662
pathNamespaces: ['/zh-cn', '/de-de', '/ru-ru', '/es']
5763
},
5864
plugins: [
65+
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
5966
function (hook, vm) {
6067
hook.beforeEach(function (html) {
6168
if (/githubusercontent\.com/.test(vm.route.file)) {

0 commit comments

Comments
 (0)