Commit Graph
1775 Commits
Author SHA1 Message Date
Luffy 87fd55d712 fix: carbon broken (#2387) 2024-03-26 08:19:31 +08:00
Bingzhi.LiandLuffy 9e681c6419 chore: fix front matter broken (#2390)
Co-authored-by: Luffy <52o@qq52o.cn>
2024-03-22 09:37:28 +08:00
dependabot[bot] c2cf54bee5 chore: bump husky from 8.0.3 to 9.0.11 (#2382)
Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.11.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.11)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 18:41:16 +08:00
Koy Zhuang cec43d7177 fix: husky can not auto install issue after upgrade. (#2325) 2024-01-17 22:49:35 +08:00
dependabot[bot] a416f97237 chore: bump follow-redirects from 1.15.3 to 1.15.4 (#2358) 2024-01-11 13:38:19 +08:00
dependabot[bot] f4ecfd31ff chore: bump actions/upload-artifact from 3 to 4 (#2350)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 16:40:06 +08:00
John Hildenbiddle 167596be51 chore: Update local and Vercel preview. Fix CSS watch functionality. (#2348) 2023-12-22 13:27:13 +08:00
Koy ZhuangandJohn Hildenbiddle 25e715b387 update: render Vue templates by default when import vue resources. (#2327)
* update: render vue by default.

---------

Co-authored-by: John Hildenbiddle <jhildenbiddle@users.noreply.github.com>
2023-12-22 11:23:07 +08:00
Lu Fei 02e525c62e chore: optimize compressed css script (#2338) 2023-12-22 08:09:13 +08:00
Luiz CarlosandLu Fei 806d37bdf0 docs: Update logo doc (#2347)
Co-authored-by: Lu Fei <52o@qq52o.cn>
2023-12-21 10:50:43 +08:00
Lu Fei b08402e39a chore: bump medium-zoom from 1.0.8 to 1.1.0 (#2323) 2023-12-18 08:37:32 +08:00
Lu Fei 3c08e64162 chore: remove useless test case (#2337) 2023-12-16 11:05:54 +08:00
John Hildenbiddle 1c5a7013f1 Chore: Clean up server implementation and update test docs (#2316)
- Replace live-server with existing Browsersync dependency as web server
- Remove duplicate `index.html` file
- Add `build:html` script to generate `/docs/preview.html`
2023-12-11 15:00:33 -06:00
John HildenbiddleandLu Fei cf61192f9a feat: Keyboard bindings (#2279)
Co-authored-by: Lu Fei <52o@qq52o.cn>
2023-12-05 08:09:52 +08:00
John Hildenbiddle b8a5feaafd Allow scrolling via keyboard in code blocks (#2264) 2023-11-29 23:45:57 -06:00
John Hildenbiddle e7414e0a73 Feat: Add aria attributes to sidebar toggle button and current page link (#2254) 2023-11-29 23:40:14 -06:00
John Hildenbiddle 4d5bf5ac48 feat: Allow top nav to receive keyboard focus (#2269) 2023-11-30 13:23:30 +08:00
50b84f74b2 feat: Add "Skip to main content" link and update nav behavior (#2253)
Co-authored-by: Joe Pea <trusktr@gmail.com>
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2023-11-30 13:11:21 +08:00
John Hildenbiddle da43bd7937 Fix: Accessibility roles and aria labels (#2304)
* Fix “main” role

* Fix primary navigation role and aria label

* Fix secondary navigation aria label

* Fix progress bar role and aria labels

* Fix cover page role and aria label

* Fix search role

* Fix search results aria labels

* Add search results status element

* Update snapshots with new roles and aria labels
2023-11-29 12:33:17 -06:00
John Hildenbiddle dac8e59bb7 Feat: Improved error handling and response status availability (#2303)
* Add response data to route object
* Display error status and description on content fetch error
* Fix issue where initial site render was incomplete on content fetch error
* Fix issue where empty markdown pages/routes were handled as 404 errors
* Fix incorrect `notFoundPage` default value
2023-11-17 07:27:09 -06:00
John Hildenbiddle ae71c69e1b Feat: Prevent focus on hidden sidebar (#2265)
Fix #2225
2023-11-16 10:47:44 -06:00
Joe Pea 4e8d6dffce chore: create .gitattributes(#2288)
It is recommended by Prettier to use LF endings for all files including in Windows, and they officially recommend to set this option in .gitattributes file for consistency, and LF is the default in Prettier 2 or higher. The lack of this file bit me in another project whose build failed in Windows in GitHub Actions due to `prettier --check` failing in Windows with default LF mode.

More info: https://github.com/prettier/prettier/issues/7825#issuecomment-602171740
2023-10-23 04:03:53 +08:00
Joe Pea dbe8fc5ec8 action: reduce dependabot frequency from weekly to monthly, get rid of email spam (#2289) 2023-10-22 09:11:12 +08:00
Susheel Thapa 2bbb65fdd1 chore: Fix typo in multiple file of docsify (#2284) 2023-10-20 09:24:35 +08:00
dependabot[bot]andKoy Zhuang 817a764915 chore: bump @rollup/plugin-replace from 5.0.2 to 5.0.3 (#2258)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 5.0.2 to 5.0.3.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/babel-v5.0.3/packages/replace)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2023-10-15 18:12:54 +08:00
dependabot[bot] 61ae585301 chore: bump @rollup/plugin-commonjs from 25.0.4 to 25.0.5 (#2261)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 25.0.4 to 25.0.5.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v25.0.5/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-15 18:07:09 +08:00
dependabot[bot] 3514ebcce2 chore: bump axios from 1.5.0 to 1.5.1 (#2250)
Bumps [axios](https://github.com/axios/axios) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:20:21 +08:00
dependabot[bot] e6e597a345 chore: bump actions/checkout from 3 to 4 (#2248)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 07:58:32 +08:00
dependabot[bot] fd06ca8ded chore: bump @eslint/js from 8.49.0 to 8.50.0 (#2240)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v8.50.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 20:32:44 +08:00
dependabot[bot] ee538d7728 chore: bump eslint from 8.48.0 to 8.49.0 (#2222)
Bumps [eslint](https://github.com/eslint/eslint) from 8.48.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.49.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 09:26:28 +08:00
dependabot[bot] 13c482e679 chore: bump @eslint/js from 8.48.0 to 8.49.0 (#2220)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 8.48.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v8.49.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:30:20 +08:00
dependabot[bot] ed1b1826e1 chore: bump rollup from 3.28.1 to 3.29.1 (#2219)
Bumps [rollup](https://github.com/rollup/rollup) from 3.28.1 to 3.29.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.28.1...v3.29.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 12:07:46 +08:00
dependabot[bot] 54c45cac8a chore: bump eslint-plugin-playwright from 0.15.1 to 0.16.0 (#2210)
Bumps [eslint-plugin-playwright](https://github.com/playwright-community/eslint-plugin-playwright) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/playwright-community/eslint-plugin-playwright/releases)
- [Changelog](https://github.com/playwright-community/eslint-plugin-playwright/blob/main/CHANGELOG.md)
- [Commits](https://github.com/playwright-community/eslint-plugin-playwright/compare/v0.15.1...v0.16.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-playwright
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10 16:21:05 +08:00
dependabot[bot]andKoy 8c1516b18d chore: bump stylus from 0.59.0 to 0.60.0 (#2208)
Bumps [stylus](https://github.com/stylus/stylus) from 0.59.0 to 0.60.0.
- [Release notes](https://github.com/stylus/stylus/releases)
- [Changelog](https://github.com/stylus/stylus/blob/dev/Changelog.md)
- [Commits](https://github.com/stylus/stylus/compare/0.59.0...0.60.0)

---
updated-dependencies:
- dependency-name: stylus
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy <koy@ko8e24.top>
2023-09-07 18:59:09 +08:00
dependabot[bot] f6eab5c307 chore: bump rollup from 3.25.3 to 3.28.1 (#2209)
Bumps [rollup](https://github.com/rollup/rollup) from 3.25.3 to 3.28.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.25.3...v3.28.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 15:44:08 +08:00
dependabot[bot]andKoy d01841fd9d chore: bump axios from 0.21.4 to 1.5.0 (#2200)
Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 1.5.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v1.5.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy <koy@ko8e24.top>
2023-08-31 13:59:24 +08:00
dependabot[bot]andKoy Zhuang 4da9833bda chore: bump eslint and @types/eslint (#2201)
Bumps [eslint](https://github.com/eslint/eslint) and [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint). These dependencies needed to be updated together.

Updates `eslint` from 8.43.0 to 8.48.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.48.0)

Updates `@types/eslint` from 8.40.2 to 8.44.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/eslint"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2023-08-31 13:53:45 +08:00
dependabot[bot]andkoy 7d5f42c94f chore: bump @eslint/js from 8.47.0 to 8.48.0 (#2196)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 8.47.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v8.48.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: koy <koy@ko8e24.top>
2023-08-30 15:04:35 +08:00
dependabot[bot] 7a91ca7341 chore: bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.1 (#2195)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 15.1.0 to 15.2.1.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v15.2.1/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 14:35:39 +08:00
dependabot[bot]andKoy 42f4b217f8 chore: bump @eslint/js from 8.43.0 to 8.47.0 (#2176)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 8.43.0 to 8.47.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v8.47.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy <koy@ko8e24.top>
2023-08-25 15:35:53 +08:00
dependabot[bot]andKoy Zhuang 11942d949a chore: bump globals from 13.20.0 to 13.21.0 (#2180)
Bumps [globals](https://github.com/sindresorhus/globals) from 13.20.0 to 13.21.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v13.20.0...v13.21.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy Zhuang<koy@ko8e24.top>
2023-08-19 17:58:28 +08:00
dependabot[bot] af4fbd9786 chore: bump @rollup/plugin-commonjs from 25.0.2 to 25.0.4 (#2182)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 25.0.2 to 25.0.4.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v25.0.4/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-18 16:04:11 +08:00
KoyandLu Fei 0375f78fcd chore: sponsors list fix. (#2175)
* update: sponsors list fix.

Co-authored-by: Lu Fei <52o@qq52o.cn>

---------

Co-authored-by: Lu Fei <52o@qq52o.cn>
2023-08-14 15:02:32 +08:00
7bbf13d9bd Ensure code format (#2138)
* chore: add missing Vue support for Vercel builds

* refactor: move some functions and module-level state into classes as private methods and properties to start to encapsulate Docsify

Also some small tweaks:

- move initGlobalAPI out of Docsify.js to start to encapsulate Docsify
- move ajax to utils folder
- fix some type definitions and improve content in some JSDoc comments
- use concise class field syntax
- consolidate duplicate docsify-ignore comment removal code

This handles a task in [Simplify and modernize Docsify](https://github.com/docsifyjs/docsify/issues/2104), as well as works towards [Encapsulating Docsify](https://github.com/docsifyjs/docsify/issues/2135).

* chore: add prettier code format check to our lint script, and add a prettier script for manually formatting the whole code base

* chore: update issue/pr templates

* chore: apply our format to the whole code base


---------

Co-authored-by: Koy <koy@ko8e24.top>
Co-authored-by: i544693 <369491420@qq.com>
2023-08-09 17:53:30 +08:00
Lu Fei 6464cf533d docs: fix missing references (#2163) 2023-08-08 00:20:23 +08:00
Koy 4c2e6304cb update(doc): fix themeColor in configuration. (#2160) 2023-08-03 20:39:49 +08:00
Joe Pea 63afa9cd87 chore: add missing Vue support for Vercel builds (#2134) 2023-07-18 18:33:36 +08:00
Paul Hibbitts a1eb3068a6 docs: Further improvements to Docsify ReadMe. (#2139) 2023-07-18 11:02:20 +08:00
dependabot[bot] b9eef99704 chore: bump tough-cookie from 4.1.2 to 4.1.3 (#2121)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 07:27:54 +08:00
Joe Pea 7da352140d Merge pull request #2114 from docsifyjs/modernize-source-code
chore: update miscellaneous parts of the source to reasonably modern language alternatives, remove polyfills, improve some JSDoc comments, remove traces of IE
2023-07-16 10:38:16 -07:00