538 Commits

Author SHA1 Message Date
sy-records a7b8a5ecdf [build] 4.13.1 2023-06-24 15:25:52 +08:00
sy-records 00580a4c6b chore: sync emojis 2023-06-24 15:24:08 +08:00
Joe Pea 2312feef45 fix: fix cross-origin links in history router mode (#1967) 2023-06-24 15:10:46 +08:00
i544693 a6701d6d23 [build] 4.13.0 2022-10-26 21:45:48 +08:00
i544693 8fcd92baa3 [build] 4.12.4 2022-10-26 17:53:55 +08:00
i544693 7db2434a1a [build]: 4.12.3 2022-10-26 17:21:50 +08:00
Mike Mwanje c98fda7ad6 docs: Update GitHub default branch from to 'main' (#1883) 2022-09-17 22:50:31 +08:00
John Hildenbiddle 19e40c2075 Docs: Fix plugin insertion order in docs (#1850) 2022-08-02 12:27:23 -05:00
Xavi Lee fa14210e8e docs: update the name for "Simplified Chinese" (#1811)
* update the name for "Simplified Chinese"

* update the name for "Simplified Chinese"

* update the name for "Simplified Chinese"
2022-06-03 13:29:52 +08:00
Roy Sommer 8cbc7c8073 Virtual Routes Support (#1799)
* add first test

* new VirtualRoutes mixin that handles routes. fetch tries to use VirtualRoutes. default config updated

* cover all basic use cases

* regex matching in routes

* covered all virtual routes tests

* added hack to fix config test on firefox

* removed formatting regex matches into string routes

* added support for "next" function

* added docs

* navigate now supports both hash and history routerModes

* waiting for networkidle in navigateToRoute helper

* promiseless implementation

* remove firefox workaround from catchPluginErrors test, since we no longer use promises

* updated docs

* updated docs for "alias" as well

* minor rephrasing

* removed non-legacy code from exact-match; updated navigateToRoute helper to infer router mode from page

* moved endsWith from router utils to general utils; added startsWith util; refactored makeExactMatcher to use both

* updated docs per feedback

* moved navigateToRoute helper into the virtual-routes test file

* moved navigateToRoute to top of file

* updated docs per pr comments
2022-05-23 14:03:33 -07:00
沈唁 2d13255acb chore: update vercel logo (#1776)
* chore: update vercel logo

* chore: update vercel logo

* chore: remove vercel link form github pages

* chore: update style

* chore: update readme

* chore: update readme

* chore: update readme
2022-03-24 00:46:36 +08:00
沈唁 093d4a0081 chore: update vercel link (#1775)
* chore: update vercel link
2022-03-19 23:58:07 +08:00
John Hildenbiddle 9e6a3e677a docs: Minor fixes to plugin docs (#1774) 2022-03-19 11:36:25 +08:00
John Hildenbiddle 6f4f09bd7e docs: Update configuration options (#1773) 2022-03-18 10:52:29 -05:00
John Hildenbiddle 63b2535a45 feat: Plugin error handling (#1742) 2022-03-15 00:18:50 -05:00
John Hildenbiddle ba5ee26f00 feat: Emoji build (#1766)
* Fix incorrect file name

* Improve build

- Display emoji API URL
- Display number of emoji entries retrieved from API
- Distinguish between creating and updating files
- Catch and display errors (gracefully fail for offline work)
- Add “DO NOT EDIT” comment to generated output

* Add emoji to automated build

* Remove emoji plugin from dev index.html
2022-03-08 16:22:10 +08:00
John Hildenbiddle 35002c92b7 feat: Native emoji w/ image-based fallbacks and improved parsing (#1746)
* Render native emoji with image fallback

Fix #779

* Deprecate emoji plugin

* Add emoji tests

* Remove console.log statement

* Fix emoji image alt attribute

* Set nativeEmoji to false by default (non-breaking)

* Fix parsing emoji in HTML comments and script tags

* Add nativeEmoji and update noEmoji details

* Add Emoji plugin deprecation notice

* Fix ESLint issues

* Create build:emoji task

- Auto-generate emoji data from GitHub API
- Auto-generate emoji markdown for website
- Add emoji page to navigation

* Fix rendering of GitHub emoji without unicode

* Adjust and match size of native and image emoji

* Update emoji test snapshot

* Update docs test snapshot

* Fix ci/codesandbox error

* Update native emoji font-stack

* Fix rendering of native multi-character emoji

* Kick GitHub Workflow

* Replace rollup’s uglify plugin with terser

* Switch “npm ci” instead of “npm i” for stability

* Change emoji data from default to named export

* Revert "Replace rollup’s uglify plugin with terser"

This reverts commit 7ba8513636.

* Revert "Switch “npm ci” instead of “npm i” for stability"

This reverts commit d52b476a38.

* Revert "Change emoji data from default to named export"

This reverts commit 3f2dd467cf.

* Specify codesandbox template and node version

* Update codesandbox config

* Revert "Revert "Replace rollup’s uglify plugin with terser""

This reverts commit e06fed49f0.

* Revert "Revert "Revert "Replace rollup’s uglify plugin with terser"""

This reverts commit 27d49521f6.

* Update codesandbox config

* Revert "Update codesandbox config"

This reverts commit 5120dd23d4.

* Fix codesandbox uglify error

* Emoji docs tweaks

* Restore and update emoji plugin code

* Restore and update emoji plugin docs

* Prettier updates

* Match lowercase shortcodes only

Co-authored-by: Koy Zhuang <369491420@qq.com>
2022-03-05 22:25:09 -06:00
John Hildenbiddle fa6df6d584 fix: Legacy bugs (styles, site plugin error, and dev server error) (#1743)
* Add try/catch w/ error message to plugin calls

* Update lifecycle.js

* Update lifecycle.js

* Fix docsify-plugin-carbon error

* Fix ESLint errors

* Simplify conditional JS loading

* Fix styles in legacy browser w/o CSS var support

* Fix gitignore paths

* Fix BrowserSync IE error

* Fix search field presentation in IE11

- Removed fixed height and allow element to size naturally via font-size and padding
- Remove default "x" rendered on IE input fields

* Revert "Update lifecycle.js"

This reverts commit 2a58be69eb.

* Revert "Update lifecycle.js"

This reverts commit 67c5410b04.

* Revert "Add try/catch w/ error message to plugin calls"

This reverts commit 631e924878.

* Fix docsify-plugin-carbon error & ESLint errors

Co-authored-by: 沈唁 <52o@qq52o.cn>
2022-02-05 03:21:50 -06:00
沈唁 18cd18ce04 docs: update readme (#1740) 2022-02-02 17:50:20 +08:00
Joe Pea 47cb36e74d mention that SSR is experimental and incomplete, prevent people from using it thinking it is ready for prime time 2022-01-23 19:43:46 -08:00
i544693 e405120e08 [build] 4.12.2 2022-01-06 16:55:22 +08:00
Joe Pea 760e0c7983 docs: update noCompileLinks documentation (#1666)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-11-19 17:19:45 +08:00
2jun0 57dc8a9238 docs: Update nameLink in configuration.md (#1653)
Like [this commit](https://github.com/docsifyjs/docsify/pull/1651), thie configuration.md page needs to be updated.

Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-10-22 09:50:34 +08:00
2jun0 a5cf85b61d docs: add nameLink for change logo redirect. (#1651)
add nameLink to change logo redirect path for different lang docs.
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-10-15 14:11:56 +08:00
Koy f23f56a945 docs: update formatUpdated (#1645)
* update: docs formatUpdated.
2021-10-06 13:49:56 +08:00
Aarav Borthakur 72485a38c1 docs: Add dynamic code block highlighting documentation (#1626) 2021-08-27 18:34:34 +08: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
沈唁 2840ac5d11 docs: Update docsify-updated to prevent replacement (#1574)
Co-authored-by: Koy <koy@ko8e24.top>
2021-06-26 07:39:56 +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
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
沈唁 a6fbe079d3 chore: Update Edit Document using develop branch (#1541) 2021-04-18 16:14:33 +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
沈唁 c2cf163fc0 chore: Fix search for missing pathNamespaces (#1547) 2021-03-28 18:46:09 +08:00
Mitchell Wright f19dc69aaf docs:Update deploy, change Zeit to Vercel (#1540) 2021-03-18 00:21:33 +08:00
sy-records d1b77c7134 [build] 4.12.1 2021-03-07 11:00:41 +08:00
沈唁 a8016c8d74 docs: Update Vercel logo link (#1520) 2021-02-20 15:54:30 +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 ed4b5be698 [build] 4.12.0 2021-02-08 09:21:40 +08:00
沈唁 8968a744ce feat: search ignore diacritical marks (#1434)
* feat: search ignore diacritical marks

* Check if normalize is supported

* Update docs

* Fix escape

* remove escapeHtml

Co-authored-by: John Hildenbiddle <jhildenbiddle@users.noreply.github.com>
2021-02-05 13:40:26 +08:00
John Hildenbiddle 7297ee5e10 Add label translations (ru, es) 2021-02-04 14:47:17 -06:00
John Hildenbiddle 9a73bd1ce6 Remove write-a-plugin.md alias 2021-02-04 14:46:07 -06:00
John Hildenbiddle cf5c7431f1 Set html “lang” attribute based on URL hash
Required to trigger auto-translate feature in applicable Chromium-based browsers (Chrome & Edge)
2021-02-04 14:40:12 -06:00
Koy 85c9c8ffcc update(docs): update the cmd of python setup serve in py2 and py3. (#1473)
add py3 cmd lines.
2021-01-09 22:11:43 +08:00
John Hildenbiddle 7cf1e7c27a Update Vue-related descriptions and links 2020-11-19 15:42:51 -06:00