Commit Graph

1411 Commits

Author SHA1 Message Date
Joe Pea
64a231d924 use a port for the tests that doesn't collide with common local server ports 2020-06-10 11:48:21 -07:00
James George
7f835b15e3
Merge branch 'develop' into update-config 2020-06-10 13:48:53 +05:30
Joe Pea
0438dd6c45
Merge branch 'develop' into allow-config-function 2020-06-09 14:22:07 -07:00
Anix
26cb940b51
Revert "Updated docs site dark and light mode with switch and redesigned search bar using docsify-darklight-theme" (#1207)
* Revert "update: updated docs site dark and light mode with switch and redesigned search bar using docsify-darklight-theme (#1182)"

This reverts commit 415f2954d9.

* docs: removed the old dark mode as well
2020-06-09 22:02:30 +05:30
Joe Pea
72ec71faef
Merge branch 'develop' into allow-config-function 2020-06-08 00:45:30 -07:00
Anix
817c079eaf
ci: added codesandbox build preview for PR reviews (#1193)
* ci: added codesandbox build preview for PR reviews

* ci: codesandebox config changes

* ci: config update codesandbox

* ci: changed the sandbox element

* ci: changed sandbox to ./docs

* ci: used absolute path for sandbox

* ci: update codesandbox config

* ci: added docsify-template to sandbox

* ci: added id for docsify-template

Co-authored-by: Joe Pea <joe@trusktr.io>
2020-06-08 13:07:07 +05:30
Joe Pea
809fda9591
Merge branch 'develop' into allow-config-function 2020-06-07 14:10:57 -07:00
沈唁
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