Commit Graph

1469 Commits

Author SHA1 Message Date
John Hildenbiddle f77d8225f2 Refactor 2020-12-13 09:58:31 -06:00
John Hildenbiddle 96f875c7b2 Refactor 2020-11-24 20:21:58 -06:00
John Hildenbiddle 28a5e60391 Merge branch 'develop' into dedupe-html 2020-11-24 16:51:04 -06:00
John Hildenbiddle bd662c421a Merge pull request #1409 from docsifyjs/feat/vue-options
feat: Vue components, mount options, global options, and v3 support
2020-11-23 14:39:10 -06:00
sy-records ffa7c90dfc Fix Lint 2020-11-23 08:49:30 +08:00
沈唁 90b67e2dc6 Merge branch 'develop' into feat/vue-options 2020-11-23 08:38:40 +08:00
沈唁 8ccc202251 fix: title error when sidebar link exists with html tag (#1404)
* fix: title error when sidebar link exists with image

* fix #1408

* add test

* Update
2020-11-23 06:23:36 +08:00
John Hildenbiddle 7878c60988 Merge branch 'develop' into feat/vue-options 2020-11-19 17:16:40 -06:00
John Hildenbiddle 7cf1e7c27a Update Vue-related descriptions and links 2020-11-19 15:42:51 -06:00
John Hildenbiddle bf9d7bdcac Dedupe html & fix doc site previews
- Create template for generating multiple `index.html` files (root and `/docs/`)
- Add nunjucks dependency
- Append “(Preview)” to document title for easier identification of local preview tabs/windows (preview only)
- Add custom plugin to fix preview paths to `/docs` resources in markdown (preview only)
- Add front-matter plugin to `/docs/index.html` (missing in previous file, required for front-matter demo in docs)
- Add “build:html” npm script
- Fix preview paths to `/docs` resources in `index.html` files (preview only)
- Remove “Powered by docsify” from footer
- Remove “Vercel has given us a Pro account” from footer (acknowledgement provided via the “Special Thanks” section in README)
- Move “Edit Document” link from top-left to bottom-right of page
- Refactor package.json script (reorder)
- Refactor `.eslintignore` file (reorder and remove duplicate entries)
2020-11-18 14:47:52 -06:00
Snyk bot 0806f48531 fix: upgrade prismjs from 1.21.0 to 1.22.0 (#1415)
Snyk has created this PR to upgrade prismjs from 1.21.0 to 1.22.0.

See this package in npm:
https://www.npmjs.com/package/prismjs

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/836f877b-b98e-47ed-89fc-554e9b2e146d?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: 沈唁 <52o@qq52o.cn>
2020-11-18 08:03:53 +08:00
沈唁 43a73bb036 Merge branch 'develop' into feat/vue-options 2020-11-16 14:23:49 +08:00
Snyk bot 69b6907c86 fix: package.json & package-lock.json to reduce vulnerabilities (#1419)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOMPURIFY-1035544

Co-authored-by: 沈唁 <52o@qq52o.cn>
2020-11-16 14:18:03 +08:00
John Hildenbiddle 9a1935ac64 Add support for Vue shorthand directive syntax 2020-11-15 13:34:03 -06:00
Snyk bot e75a19ca05 [Snyk] Upgrade marked from 1.2.0 to 1.2.2 (#1425)
* fix: upgrade marked from 1.2.0 to 1.2.2

Snyk has created this PR to upgrade marked from 1.2.0 to 1.2.2.

See this package in npm:
https://www.npmjs.com/package/marked

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/836f877b-b98e-47ed-89fc-554e9b2e146d?utm_source=github&utm_medium=upgrade-pr

* Update vue

Co-authored-by: sy-records <52o@qq52o.cn>
2020-11-14 17:06:59 +08:00
John Hildenbiddle a10fcbd9a6 Update Vue-related descriptions 2020-11-12 17:25:48 -06:00
John Hildenbiddle 51451a40f7 Remove BLANK_URL global 2020-11-11 16:57:22 -06:00
John Hildenbiddle 69efae3c4f Fix typos 2020-11-11 16:27:14 -06:00
John Hildenbiddle 727ee8fc6d Rename vueMountOptions to vueMounts 2020-11-11 16:24:50 -06:00
John Hildenbiddle 52cce0284a Delete unnecessary file 2020-11-11 02:10:16 -06:00
John Hildenbiddle 421ef1d442 Update docs 2020-11-10 23:24:21 -06:00
John Hildenbiddle eae3ad885f Remove markdownlint config 2020-11-10 18:41:00 -06:00
John Hildenbiddle 4e5dae7d41 Squashed commit of the following:
commit a2ebb2192a
Author: 沈唁 <52o@qq52o.cn>
Date:   Sun Nov 8 16:48:43 2020 +0800

    fix: search titles containing ignored characters (#1395)

    * fix: search titles containing ignored characters

    * fix

    * add default value

    * add test

    * fix test

    Co-authored-by: Koy <koy@ko8e24.top>

commit 58fbca00eb
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Thu Nov 5 03:04:19 2020 +0200

    fix: packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities (#1418)

    The following vulnerabilities are fixed with an upgrade:
    - https://snyk.io/vuln/SNYK-JS-DOMPURIFY-1035544
2020-11-10 18:38:00 -06:00
沈唁 a2ebb2192a fix: search titles containing ignored characters (#1395)
* fix: search titles containing ignored characters

* fix

* add default value

* add test

* fix test

Co-authored-by: Koy <koy@ko8e24.top>
2020-11-08 16:48:43 +08:00
John Hildenbiddle a5a431f0c1 Fix base element reset 2020-11-06 19:24:23 -06:00
Snyk bot 58fbca00eb fix: packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities (#1418)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOMPURIFY-1035544
2020-11-05 09:04:19 +08:00
John Hildenbiddle d9e491a9e3 Fix covepage test 2020-10-26 02:23:57 -05:00
John Hildenbiddle cafdd62dae Remove —runInBand flag from test script 2020-10-26 02:23:34 -05:00
John Hildenbiddle b33d750e0b Remove SRC_PATH global variable 2020-10-26 02:18:01 -05:00
John Hildenbiddle 3af1cfa84e Add selector option to _logHTML 2020-10-26 02:08:51 -05:00
John Hildenbiddle a9be6f20d2 Merge branch 'develop' into feat/vue-options 2020-10-25 23:10:02 -05:00
John Hildenbiddle 5ec225687b Fix basePath & update route URLs 2020-10-25 23:08:46 -05:00
John Hildenbiddle f0a8d69eb8 Fix basePath update when config is function 2020-10-25 23:08:13 -05:00
John Hildenbiddle 8362ed01c8 Remove unnecessary globals 2020-10-25 23:05:16 -05:00
John Hildenbiddle b6d54072b3 Fix basePath 2020-10-24 20:44:24 -05:00
John Hildenbiddle febe7f8ee1 Remove global event listeners beforeEach 2020-10-24 20:05:12 -05:00
John Hildenbiddle 6a5e84bf3c Update directive detection (data vs static) 2020-10-23 13:12:56 -05:00
John Hildenbiddle 25084f88b5 Update jest/docsify side-effect cleanup 2020-10-23 13:09:55 -05:00
John Hildenbiddle af7e71345b Change default startPath for tests & manual start 2020-10-23 13:08:59 -05:00
John Hildenbiddle 131aae520a Fix waitForText() timeout and reject messages 2020-10-23 13:07:10 -05:00
John Hildenbiddle 871e48f823 Update default waitForSelector value 2020-10-21 16:41:29 -05:00
John Hildenbiddle 2946c061a4 Update test 2020-10-21 14:02:56 -05:00
John Hildenbiddle 86dae610de Rename vueOptions to vueMountOptions 2020-10-21 13:14:07 -05:00
John Hildenbiddle 1a52e97581 Update docs 2020-10-21 13:03:09 -05:00
John Hildenbiddle 5a2dde1624 Update docs 2020-10-20 17:45:34 -05:00
John Hildenbiddle 8a56f7241f Fix directive detection 2020-10-18 18:35:24 -05:00
John Hildenbiddle 019365969d Update docs with new Vue features and usage 2020-10-17 01:50:46 -05:00
John Hildenbiddle 758538c162 Add <output>. Refactor <pre> and <code>. 2020-10-17 01:49:53 -05:00
John Hildenbiddle 6d152e2bec Refactor regular expression usage 2020-10-17 01:46:41 -05:00
John Hildenbiddle 1774ab8703 Initial commit 2020-10-17 01:41:40 -05:00