Commit Graph

1525 Commits

Author SHA1 Message Date
Mohammed Sahl
3673001a24
fix: Add error handling for missing dependencies (fixes #1210) (#1232)
* Add error handling for missing dependencies

* Informative error message

* Add error handling for missing dependencies

* Informative error message

* Add dependecy import location, error message changes
2020-06-23 22:03:22 +05:30
Koy
4b02177cd2
[documdocs: deploy docsify in docker. (#1241)
* [documentation deploy] deploy docsify in docker.

* [remove] remove unnecessary content.

* [change] remove outbox resource link.

* [refine] refine description.

Co-authored-by: Anix <anik220798@gmail.com>
2020-06-23 12:41:31 +05:30
michaelcurrin
c3d0d0d555
docs: Add embed gist instructions to Embed Files (fixes #932 ) (#1238)
* Clarify embed file explanations

* Add Embed a gist section

* Update gist instructions

* Fix grammar errors and clarify notes around gists

* Add real gist to embed-files.md

* Clean up embed-files.md
2020-06-22 23:10:26 +05:30
anikethsaha
13f91a4fcb chore: add changelog 4.11.4 2020-06-18 23:48:00 +05:30
anikethsaha
3f4c035369 [build] 4.11.4 2020-06-18 23:46:39 +05:30
Anix
714ef29afe
feat: added html sanitizer for remote rendering (#1128)
Co-authored-by: Joe Pea <joe@trusktr.io>
2020-06-17 23:55:59 +05:30
Mohammed Sahl
0bf03f5810
fix: cover overlapping sidebar by removing z-index
* Fix cover overlapping sidebar

* Fix transition of cover page

* Revmove transition property from .cover

* Remove z-index attribute from _coverpage.styl
2020-06-15 22:43:31 +05:30
Joe Pea
da9af18c4e
Merge pull request #1189 from docsifyjs/allow-config-function
Allow configs to be functions
2020-06-12 22:23:35 -07:00
Joe Pea
146e4c4e18
Update build/css.js
Co-authored-by: James George <jamesgeorge998001@gmail.com>
2020-06-12 22:16:24 -07:00
Joe Pea
8f3f263cee Merge branch 'develop' into allow-config-function
* develop:
  chore: update auto format config
2020-06-12 21:37:46 -07:00
Joe Pea
a1ddb3ce43
Merge pull request #1108 from jamesgeorge007/update-config
chore: remove redundant instruction from lint-staged config
2020-06-10 12:14:14 -07:00
Joe Pea
d9d3251353
Merge branch 'develop' into update-config 2020-06-10 12:06:27 -07:00
Joe Pea
abaf6f3219
Merge branch 'develop' into allow-config-function 2020-06-10 12:04:17 -07:00
Joe Pea
fa47c6fe15
Merge branch 'master' into develop 2020-06-10 12:03:56 -07:00
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