1851 Commits

Author SHA1 Message Date
sy-records
5b4b435211
chore: update CDN links to use the correct path for Docsify themes 2025-05-26 20:43:18 +08:00
Luffy
f0b03f6d98
chore: add depth configuration for search (#2549)
There is h6 content in the document, but the search configuration defaults to h2, so the relevant content is not searched.
2025-05-12 09:37:24 +08:00
Luffy
ccb7515b70
docs: remove test pwa 2025-05-09 14:41:11 +08:00
Luffy
f6ed6d3f89
docs: changes in sync Chinese translation (#2548) 2025-05-08 15:43:44 +08:00
Luffy
5d9ea4f664
update: correct links and action to 'main' branch (#2547) 2025-05-06 17:19:25 +08:00
Luffy
41fd8f624e
chore: remove sponsors section (#2544)
* chore: Remove Gold sponsors section

Because they don't sponsor us anymore.

* chore: Remove route4me logo

---------

Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2025-05-06 17:12:42 +08:00
Luffy
2e587a22e4
chore: retire outdate multiple languages and update it test snap (#2546) 2025-05-06 17:08:57 +08:00
Luffy
2d090efa68
Merge remote-tracking branch 'upstream/master' into develop 2025-05-06 15:07:17 +08:00
dependabot[bot]
68f90e3745
chore: bump eazy-logger from 4.0.1 to 4.1.0 (#2545) 2025-05-05 14:39:36 +08:00
Luffy
e1d4c189e3
chore: Sync emoji data with GitHub emoji API (#2539) 2025-04-19 08:37:28 +08:00
Luffy
1a32fb7334
fix: When alias contains parameters, append ext error (#1855) 2025-04-10 09:13:47 +08:00
dependabot[bot]
7652bd4711
chore: bump axios from 1.7.4 to 1.8.2 (#2538)
Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.8.2.
- [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.7.4...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 10:13:50 +08:00
dependabot[bot]
0448170de7
chore: bump prismjs from 1.29.0 to 1.30.0 (#2537)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.29.0...v1.30.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 08:05:55 +08:00
dependabot[bot]
e540cab69b
chore: bump globals from 15.8.0 to 16.0.0 (#2536)
Bumps [globals](https://github.com/sindresorhus/globals) from 15.8.0 to 16.0.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.8.0...v16.0.0)

---
updated-dependencies:
- dependency-name: globals
  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>
2025-03-03 11:36:39 +08:00
Luffy
f1fca2ae28
chore: bump dexie from 4.0.10 to 4.0.11 (#2532) 2025-02-24 10:19:23 +08:00
dependabot[bot]
fa11b1c27b
chore: bump glob from 10.4.2 to 11.0.1 (#2529)
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.2 to 11.0.1.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.2...v11.0.1)

---
updated-dependencies:
- dependency-name: glob
  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>
2025-02-06 11:18:48 +08:00
dependabot[bot]
9232ff3fd5
chore: bump eslint-config-prettier from 9.1.0 to 10.0.1 (#2528)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 9.1.0 to 10.0.1.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.1.0...v10.0.1)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  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>
2025-02-06 11:13:16 +08:00
Luffy
561c777df8
fix: parse heading error (#2526) 2025-01-08 10:15:05 +08:00
Luffy
a73e07eac0
fix: Prevent initial unnecessary IntersectionObserver callback execution (#2523) 2025-01-06 11:43:40 +08:00
Luffy
58268632c8
feat: Support dark mode for zoom-image plugin (#2524) 2025-01-05 15:23:17 +08:00
dependabot[bot]
c18df4c46b
chore: bump @rollup/plugin-node-resolve from 15.2.3 to 16.0.0 (#2522) 2025-01-02 10:21:09 +08:00
Eze Amaka
32fff4a99a
docs: Update Netlify deployment (#1781) 2024-12-16 14:06:11 +08:00
dependabot[bot]
97a0d2a127
chore: bump @rollup/plugin-commonjs from 26.0.1 to 28.0.1 (#2519) 2024-12-10 12:28:25 +08:00
Anix
52708ad160
chore: bump dexie from 4.0.9 to 4.0.10 (#2518) 2024-12-08 18:56:33 +08:00
dependabot[bot]
91be87e08a
chore: bump eslint-plugin-playwright from 1.6.2 to 2.1.0 (#2516)
Bumps [eslint-plugin-playwright](https://github.com/playwright-community/eslint-plugin-playwright) from 1.6.2 to 2.1.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/v1.6.2...v2.1.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-playwright
  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-12-05 18:53:00 +08:00
dependabot[bot]
d67b28e26d
chore: bump marked from 14.1.0 to 15.0.3 (#2517) 2024-12-02 14:24:40 +08:00
Anix
ae64b257a1
chore: upgrade dexie from 4.0.8 to 4.0.9 (#2515)
Snyk has created this PR to upgrade dexie from 4.0.8 to 4.0.9.

See this package in npm:
dexie

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

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-11-19 17:04:56 +08:00
dependabot[bot]
ceb466ca9c
chore: bump cookie and socket.io (#2503)
Bumps [cookie](https://github.com/jshttp/cookie) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `cookie` from 0.4.2 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `socket.io` from 4.7.5 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 13:00:08 +08:00
dependabot[bot]
cf26bd5c65
chore: bump @rollup/plugin-replace from 5.0.7 to 6.0.1 (#2500)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 5.0.7 to 6.0.1.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/json-v6.0.1/packages/replace)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
  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-10-02 22:41:04 +08:00
dependabot[bot]
a2de128842
chore: bump send and browser-sync (#2497)
Bumps [send](https://github.com/pillarjs/send) to 0.19.0 and updates ancestor dependency [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies need to be updated together.


Updates `send` from 0.16.2 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.16.2...0.19.0)

Updates `browser-sync` from 3.0.2 to 3.0.3
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/changelog.js)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: direct:development
...

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>
2024-09-30 10:39:14 +08:00
dependabot[bot]
d2b1cd1534
chore: bump serve-static and browser-sync (#2498)
Bumps [serve-static](https://github.com/expressjs/serve-static) to 1.16.2 and updates ancestor dependency [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies need to be updated together.


Updates `serve-static` from 1.13.2 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.13.2...v1.16.2)

Updates `browser-sync` from 3.0.2 to 3.0.3
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/changelog.js)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 10:30:39 +08:00
dependabot[bot]
fa48a9a585
chore: bump rollup from 4.18.0 to 4.22.4 (#2496)
Bumps [rollup](https://github.com/rollup/rollup) from 4.18.0 to 4.22.4.
- [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/v4.18.0...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 18:02:03 +08:00
Maciek Palmowski
38944bd41f
docs: adds deployment to Kinsta Static Site Hosting (#2299)
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2024-09-21 19:54:31 +08:00
Koy Zhuang
95901eb8a8
fix(search): clean markdown elements in search contents (#2457)
Co-authored-by: John Hildenbiddle <jhildenbiddle@users.noreply.github.com>
2024-09-21 19:45:05 +08:00
dependabot[bot]
298cc4441d
chore: bump postcss-nesting from 12.1.5 to 13.0.0 (#2492)
Bumps [postcss-nesting](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-nesting) from 12.1.5 to 13.0.0.
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-nesting/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-nesting)

---
updated-dependencies:
- dependency-name: postcss-nesting
  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 Zhuang <koy@ko8e24.top>
2024-09-16 10:50:38 +08:00
Koy Zhuang
87e43f157f
feat: support prism langs dependencies import validation (#2489)
As per the Prism for highlight requires the strict dependencies import order for languages.
When user add multi highlight support for much langs, it may put in wrong order.
A validation to make user aware the order for each langs' dependencies is in demand.
2024-09-16 10:42:50 +08:00
Koy Zhuang
5f80683369
chore: render code style clean and update (#2477) 2024-09-12 10:46:39 +08:00
dependabot[bot]
beb86a3e17
chore: bump marked from 13.0.2 to 14.1.0 (#2493)
Bumps [marked](https://github.com/markedjs/marked) from 13.0.2 to 14.1.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v13.0.2...v14.1.0)

---
updated-dependencies:
- dependency-name: marked
  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-09-10 15:29:22 +08:00
Koy Zhuang
e204ac669d
docs: correct mermaid docs after upgrade marked (#2490)
---------

Co-authored-by: Luffy <52o@qq52o.cn>
2024-08-18 20:18:41 +08:00
dependabot[bot]
87b568308a
chore: bump @eslint/js from 9.6.0 to 10.0.0 (#2482)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.6.0 to 10.0.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/HEAD/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  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-08-15 18:23:21 +08:00
dependabot[bot]
c185c5a270
chore: bump axios from 1.7.2 to 1.7.4 (#2488)
Bumps [axios](https://github.com/axios/axios) from 1.7.2 to 1.7.4.
- [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.7.2...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 11:04:52 +08:00
Koy Zhuang
2eec7c4884
fix: sync the page title regarding the title config (#2478)
Co-authored-by: Luffy <52o@qq52o.cn>
2024-08-11 10:56:55 +08:00
Luffy
676f5f8842
docs: Add Gold sponsors (#2485) 2024-08-08 13:47:37 +08:00
Koy Zhuang
33f1d9a9d4
docs: correct docs wrong link for adding pages (#2479) 2024-08-01 10:45:36 +08:00
Luffy
42f25482fa
feat(search): use dexie.js instead of localStorage (#2464) 2024-07-31 08:19:00 +08:00
Koy Zhuang
7cbd5322d0
fix: correct loadSider=false render structure issue (#2470) 2024-07-28 16:18:03 +08:00
Koy Zhuang
4bc5062fc1
fix: auto header config heading generate func (#2474) 2024-07-28 16:14:41 +08:00
Koy Zhuang
49f5c563a3
chore: upgrade marked from 12.0.2 to 13.0.2 (#2467) 2024-07-22 17:25:44 +08:00
Akshay Bhinge
1e9d2f0036
docs: Removal of flags for language choice drop-down (#2468) 2024-07-20 09:28:31 +08:00
John Hildenbiddle
77d93fae78
feat: v5 style overhaul (#2469)
Style updates:

- New "core" theme serves as base for all other themes (official and third-party)
- New CSS custom properties for simplified customization of "core" theme
  **Note:** List of available properties will be made available in documentation by embedding soruce CSS in docs after merge. Merge is required because embedded CSS needs to be in `main` branch. For now, see `_vars.css` and `_vars-advanced.css` for details.
- New theme "add-ons" modify core theme properties and/or add custom declarations as needed.
- New Prism.js theme support
- New configurable sidebar toggle design
- New typography defaults to system sans-serif and monospace fonts instead of relying on external web font.
- New "Core Dark" theme addon provide dark theme styles. Can optionally be applied based on operating system's light/dark setting using `@media` attribute on `<link>` element.
- New "Vue" theme addon. Closely replicated popular v4 theme while allowing for v5 enhancements.
- New CSS class names available for adding loading indicators, adding sidebar expand/collapse icons, adding sidebar group styles, clamping sidebar links to a single line with ellipses, and changing the sidebar toggle icon.
- New auto-generated gradient background for cover page (ensure gradient hue is > 50 degree apart, use OKLCH color if supported, randomize grandient angle, reduce brightness in dark mode)
- New button styles (basic, primary, secondary)
- New form element styles (text input, radio, checkbox, )
- New "callouts" (previously "important" and "tip" helpers)
- New default syntax highlighting theme (from [docsify-themeable](https://jhildenbiddle.github.io/docsify-themeable/))
- New auto-generated theme color shade and tint colors
- New auto-generated monochromatic color palette
- New form element styles (fields, legend, text input, text area, checkbox, radio, toggles, and select)
- New "headerless" tables
- New `kbd` styles
- New task list style
- New merged navbar styles (consistent with sidebar nav styles)
- New search plugin styles and keyboard shortcut indicators
- Add ability restore previously focused content element after hiding sidebar
- Add "focus trap" when sidebar is visible on mobile (accessibility)
- Add ability for sidebar links to wrap by default (previous single-line w/ ellipsis display available as CSS class on `<body>` option)
- Add sidebar `page-link`, `group`, and `group-title` CSS classes to sidebar markup.
- Add reduced motion media query to set all animation/transition timings to zero
- Update Google Font imports (use new variable vs older fixed width fonts)
- Update primary/secondary button order on coverpage (primary should be first)
- Fix missing merged navbar when loading at desktop resolution then resizing to mobile
- Fix inverted open/close sidebar visibility state at desktop/mobile resolutions
- Fix overflow setting to prevent clipping of element focus ring
- Fix safe area inset margins on mobile in landscape orientation
- Fix inverted "tip" and "warn" class names
- Fix scroll padding to prevent headers from touching top edge of viewport when scrolled to
- Remove Stylus dependency (now using only PostCSS)
- Remove legacy themes "Buble", "Dark", "Dolphin", and "Pure".

Documentation updates:

- New "UI Kit" page showcasing all elements styled by Docsify
- Update "Quick Start" page template
- Update "Adding pages" page with information on how to properly create sidebar group titles and navbar drop-down menus
- Update "Themes" page with theme and class toggles
- Update "Configuration" page with deprecation warnings for `themeColor` and `topMargin`
- Move "Edit Page" link to footer
- Remove [docsify-themeable](https://jhildenbiddle.github.io/docsify-themeable/) endorsement (currently not compatible with v5 and future is unknown)

Miscellaneous updates:

- New search plugin options: `insertBefore` and `insertAfter`
- Add PostCSS config file
- Update BrowserSync config (disable "ghost" mode)
- Update tests
- Fix Jest + Prettier 3 conflict
- Fix `getAndRemoveDocisfyIgnoreConfig` name type (now `Docisfy` => `Docsify`)
- Fix execution of sidebar-generating code when `hiddenSidebar` is `true`
- Remove `inBrowser` constant (SSR deprecated, so no longer needed)
2024-07-19 15:34:51 +00:00