2004 Commits

Author SHA1 Message Date
沈唁 785302602b style: Get emoji from github api (#1188)
* style: Get emoji from github api and remove emoji for 404

* update all emojis use github

* fix url is not unicode

* Update index.html
2020-06-08 04:31:44 +08:00
Joe Pea 63f1b88a41 Revert "ensure that the test script runs a prod build"
This reverts commit 41dc2c7d10 because the
GitHub Action (unit.yml) already run `npm run build`.
2020-06-07 13:24:47 -07:00
Joe Pea 31f1a645ee update outdated comment 2020-06-07 12:12:33 -07:00
Joe Pea 41dc2c7d10 ensure that the test script runs a prod build 2020-06-07 11:59:52 -07:00
Joe Pea dca22f3ced simplify import 2020-06-07 11:27:38 -07:00
Joe Pea 79fe3d5c5e remove some unused code and accept eslint changes 2020-06-07 11:24:54 -07:00
Joe Pea 88033b639e remove the DOCSIFY global made by Rollup, and move Docsify into a separate file where we can import it from tests while leaving the entry point for the bundle without any exports so that Rollup will not create a global variable from it 2020-06-07 11:09:06 -07:00
沈唁 31010e4979 fix: search does not find the contents of the table (#1198)
* fix: search does not find the contents of the table

* refactor: add getTableData function
2020-06-07 14:07:28 +05:30
Anix 60263578ba Merge pull request #1201 from docsifyjs/config-semantic
ci: fixed semantic config
2020-05-27 18:05:11 +05:30
Anix 43055becdf ci: fixed semantic config 2020-05-27 18:04:09 +05:30
Anix 4514cfb2af Merge pull request #1199 from docsifyjs/config-semantic
ci: added configuration for semantic bot
2020-05-27 17:59:59 +05:30
Anix fa0dfa6d36 ci: added configuration for semantic bot 2020-05-27 17:52:43 +05:30
Joe Pea 1b8a81a016 Merge pull request #1192 from docsifyjs/add-build-error-handling
Add build error handling
2020-05-23 14:20:35 -07:00
Joe Pea b40baae20f Merge pull request #1195 from docsifyjs/deprecate-old-globals-and-make-new-single-global
update src/core/index.js to export all global APIs, deprecate old globals…
2020-05-23 14:20:02 -07:00
Joe Pea 7e002bf939 feat: update src/core/index.js to export all global APIs, deprecate old globals in favor of a single global DOCSIFY, and add tests for this 2020-05-23 14:10:00 -07:00
Joe Pea b72cb3d94c add build error handling so builds don't silently fail 2020-05-22 23:59:25 -07:00
沈唁 1a09ce3a77 Fix: emoji +1 and -1 not rendering (#1187) 2020-05-23 09:05:25 +08:00
Boopathi Kumar 415f2954d9 update: updated docs site dark and light mode with switch and redesigned search bar using docsify-darklight-theme (#1182)
* theme updated with dark and light mode switch

* requested changes made
2020-05-22 15:31:07 +05:30
Anix 5ea28c465a Merge pull request #1102 from tschaible/bugfix/multiple-embeds
fix: updated the insertion of embedded tokens for async returns (fixes #970)
2020-05-22 15:29:10 +05:30
Anix bd9e24b7ae Merge pull request #1147 from HerbertHe/patch-1
fix: rendering cover width bug
2020-05-22 15:27:19 +05:30
沈唁 e9dd2de384 fix: consistent location of search result
* fix 1098

* Update component.js

* Update component.js
2020-05-22 15:25:40 +05:30
Anix c0d32805c9 Merge pull request #1186 from anikethsaha/fixes-1183
fix: fixed target and rel issue (fixes #1183)
2020-05-22 15:01:37 +05:30
Joe Pea 5a5b5aa932 update docs regarding configs as functions 2020-05-22 01:42:40 -07:00
Joe Pea 732c34db55 add editorconfig (tells editors which basic text format to use) 2020-05-22 01:29:36 -07:00
Joe Pea b4b8bdc93e add tests to make sure the global and plugin APIs are available and that configs can be functions 2020-05-22 01:28:34 -07:00
Joe Pea f72bf4cc9a allow the user's $docsify config to be a function that receives as input the Docsify instance 2020-05-21 23:36:18 -07:00
Anix 3d662a5bf7 fix: fixed target and rel issue (fixes #1183) 2020-05-20 11:14:26 +00:00
mau-jac 9ff4d06773 fix: default html img resize if no height included (#1065)
* fix: default html img resize if no height included

* chore: adjust render test to not expect height
2020-05-18 16:42:59 +05:30
Anix a117b2aeb1 Merge pull request #1177 from kumaravel95/develop
chore: cursor pointer CSS added for search clear button
2020-05-16 16:04:51 +05:30
Kumaravel Palanisamy 699172db37 Cursor pointer added for search clear button 2020-05-16 15:07:28 +05:30
Anix aad80f90a1 Merge pull request #1174 from Zhouzi/patch-1
Fix #1131: Document homepage active link pitfall
2020-05-15 13:00:36 +05:30
Gabin Aureche 455f4c4a09 docs(configuration): mention active link pitfall for the homepage 2020-05-15 09:20:00 +02:00
Koy fd2cec6bd6 fix: cross-origin url cannot be redirected when "externalLinkTarget" is set to "_self" and "routerMode" is set to "history". (#1062)
* [fix #1046] fix cross-origin url cannot be redirected when  "externalLinkTarget" is set to "_self" and "routerMode" is set to "history".

* [code format] code format.

* update docs

* docs refine.

* fix(core): cross-orgin link work incorrect (#1046)

Fix cross-origin url cannot be redirected when "externalLinkTarget" is set to "_self" and "routerMode" is set to "history". 
Add new configuration for those cases and completed docs.

Fixes #1046

PR Close #1062
2020-05-15 11:00:36 +05:30
沈唁 6e554f8ebd fix: The search error after setting the ID in the title (#1159)
* Update search.js

* Update search.js

* Update search.js

* Update search.js
2020-05-14 17:18:17 +05:30
Anix 708ca9db7c Merge pull request #1111 from CHU295/develop
fix~issues 1110
2020-05-14 17:15:08 +05:30
沈唁 f2ff01d91e Update component.js 2020-05-14 08:51:50 +08:00
沈唁 62d0986b74 Delete sidebar.js 2020-05-13 09:09:38 +08:00
沈唁 f9d0c721eb Create sidebar.js 2020-05-13 09:09:16 +08:00
沈唁 6ac71f9056 Delete sidebar.js 2020-05-13 08:59:02 +08:00
沈唁 7d38a32a5a Create sidebar.js 2020-05-13 08:58:34 +08:00
Anix eb1a3ce97c Merge pull request #1152 from sy-records/fix-edit-on-github
fix Edit Document
2020-05-07 14:02:03 +05:30
Anix 22030f4328 Merge pull request #1148 from sytone/develop
Updated embed to strip YAML front matter fixes #1129
2020-05-07 14:00:24 +05:30
Anix fd5ed35b32 Merge pull request #1149 from chicgeek/feature/viewport-meta-accessibility
Improve accessibility of viewport meta by allowing page zoom (related to #945)
2020-05-07 13:59:11 +05:30
Anix 79928de07d Merge pull request #1156 from dungahk/patch-1
Fix typo on `externalLinkRel`
2020-05-07 13:58:52 +05:30
Emerson Jair d5a7507af2 Fix typo on externalLinkRel
Also, add a link explaining why that can be a security issue.
2020-05-04 07:57:24 -03:00
Anix b2dd708772 Merge pull request #1146 from vagra/bugfix
Fix #1136 and #1127
2020-05-04 00:13:23 +05:30
sy-records 2cf6fd8698 fix Edit Document 2020-04-28 19:01:38 +08:00
Luffy 0bbc02cef7 Modify Chinese doc link (#1151) 2020-04-28 10:11:35 +05:30
Laura Kishimoto 468ee2d58a Improve accessibility of viewport meta 2020-04-27 21:47:49 +01:00
Sytone b05949a161 Add front matter to dev page
Update embeded files documentation
Add example with front matter
Add various comments I used to understand code
Updated front matter to have installed flag
Added function to parse front matter
Added intercept to remove front matter for embed
2020-04-27 12:24:24 -07:00