Compare commits

...

2210 Commits

Author SHA1 Message Date
pengzhanbo
d69e0b9765 ci: update workflow permissions 2026-04-22 17:07:34 +08:00
pengzhanbo
02038f2df0 build: publish v1.0.0-rc.196 2026-04-19 14:37:52 +08:00
pengzhanbo
e5126663ef fix: fix security 2026-04-19 14:34:47 +08:00
pengzhanbo
402f259086
refactor(plugin-md-power): refactor obsidian plugins (#893) 2026-04-19 14:10:54 +08:00
pengzhanbo
58ea2fc8cb
fix(theme): remove cwd options from picomatch (#892) 2026-04-19 14:10:40 +08:00
pengzhanbo
6ebb1bda6e
fix(plugin-md-power): fix cell display issue caused by colspan in table (#891) 2026-04-19 14:10:22 +08:00
pengzhanbo
68f39695c4 chore: update tsconfig 2026-04-19 14:09:52 +08:00
pengzhanbo
76787f6530 build: publish v1.0.0-rc.195 2026-04-18 17:13:48 +08:00
pengzhanbo
e2b47da532 chore: tweak 2026-04-18 17:09:26 +08:00
pengzhanbo
035d521e96 chore: update deps to latest 2026-04-18 17:07:12 +08:00
pengzhanbo
bfd0c8409c
feat(plugin-md-power): compat obsidian official markdown syntax (#890)
* feat(plugin-md-power): compat obsidian official markdown syntax

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak
2026-04-18 17:01:41 +08:00
pengzhanbo
e11c7a8fcd build: publish v1.0.0-rc.194 2026-04-14 15:37:37 +08:00
pengzhanbo
1329051536 chore: tweak 2026-04-14 15:36:15 +08:00
pengzhanbo
0677f6749e chore: update deps to latest 2026-04-14 15:31:38 +08:00
pengzhanbo
28963eb419
fix(plugin-search): fix search index race condition on pageUpdated, close #888 (#889) 2026-04-14 15:29:58 +08:00
pengzhanbo
cfc89adab8 chore: update security deps 2026-04-04 16:35:48 +08:00
pengzhanbo
e0ba59a6f9 build: update changelog 2026-04-03 02:56:28 +08:00
pengzhanbo
352874b29a build: publish v1.0.0-rc.193 2026-04-03 02:25:46 +08:00
pengzhanbo
c824ad85f4 chore: update gitignore 2026-04-03 02:18:23 +08:00
pengzhanbo
db2eda82f3 build: update clean scripts 2026-04-03 02:18:01 +08:00
pengzhanbo
e9fe35bc4f
fix(theme): fix sidebar items prefix not handled correctly, close #876 (#885) 2026-04-03 02:13:18 +08:00
pengzhanbo
709ade741c chore: improve comment 2026-04-03 02:06:32 +08:00
pengzhanbo
d8b79e89e8
refactor(plugin-search): improve search index update (#884) 2026-04-03 01:58:25 +08:00
pengzhanbo
dbc6f0be0f
fix(theme): fix auto-sidebar group icon error inherit, close #873 (#883) 2026-04-02 22:05:54 +08:00
pengzhanbo
9fe294b9dd fix(theme): fix MarkdownOptions types 2026-04-02 21:15:33 +08:00
pengzhanbo
ecf100cfc6 docs: update security.md 2026-04-02 21:15:08 +08:00
pengzhanbo
b7ee45642e docs: update contributing.md 2026-04-02 21:14:51 +08:00
pengzhanbo
54c05c8cea docs: add claude.md 2026-04-02 21:14:34 +08:00
pengzhanbo
86cb872ce6 refactor: migrate onWatched to onPageUpdated 2026-04-02 21:14:16 +08:00
pengzhanbo
a6cb3820b1 refactor: remove deprecated enhancement 2026-04-02 21:12:59 +08:00
pengzhanbo
184d1aee76 build: improve tsdown bundle config 2026-04-02 20:59:23 +08:00
pengzhanbo
cbc5c55891 perf: update deps to latest 2026-04-02 20:57:51 +08:00
mcenahle
4f40f8441d
docs: add "mcenahle Docs" to demo page (#882)
* Update demos.md

* chore: fix URLs for 哦麦 MC logo and preview images

Updated logo and preview image URLs for 哦麦 MC in demos.md.

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2026-04-02 20:54:47 +08:00
pengzhanbo
fe0d4bbc92
feat: improve accessibility features (#869) 2026-04-02 20:49:20 +08:00
pengzhanbo
39a76a35d7
feat(plugin-md-power)!: use # as the comment delimiter (#870) 2026-04-02 20:48:55 +08:00
pengzhanbo
a01bc13c66
fix(plugin-md-power): fix tsdown icon (#878) 2026-04-02 20:48:34 +08:00
pengzhanbo
1b213d4c28
fix(theme): add bulletin to outline ignores (#879) 2026-04-02 20:48:10 +08:00
pengzhanbo
aede6f5d87
fix(theme): twoslash comment error (#881)
* fix(theme): fix incorrect auto-sidebar-link parse

* fix(theme): twoslash comment error
2026-04-02 16:38:33 +08:00
pengzhanbo
7febfbf237
fix(theme): fix incorrect auto-sidebar-link parse (#880) 2026-04-02 16:37:58 +08:00
suixinio
7ce4e40521
docs: update ohmymc img (#877)
docs: update ohmymc img
2026-04-02 14:34:49 +08:00
zhenghaoyang24
12c4f5b39e
docs: fix icon documentation links (#874)
- Update relative paths in markdown config documentation to point
  to correct guide location
- Change sidebar icons link from document.md to quick-start/sidebar.md
  for proper navigation structure
2026-04-02 14:34:14 +08:00
pengzhanbo
aa54090b5d docs: update sponsor 2026-03-19 02:09:31 +08:00
逸燧Esyka
192b260d2b
docs: update repository url for Esyka's blog (#872) 2026-03-15 16:41:38 +08:00
逸燧Esyka
75df783295
docs: add Esyka's Blog to demos (#871)
Added Esyka's Blog with relevant details.
2026-03-14 23:39:00 +08:00
pengzhanbo
97a5ba20c3 docs: fix typo 2026-03-08 21:55:27 +08:00
pengzhanbo
896c7e22df chore: improve theme code comments 2026-03-08 16:59:50 +08:00
pengzhanbo
77856e36c5 chore: improve plugin-md-power code comments 2026-03-08 16:35:52 +08:00
pengzhanbo
552f0f5c32 chore: improve plugin-search code comments 2026-03-08 16:16:04 +08:00
pengzhanbo
7751e4c798 chore: improve cli code comments 2026-03-08 16:15:26 +08:00
pengzhanbo
17646708b1 docs: update skills usage doc 2026-03-06 16:40:02 +08:00
pengzhanbo
f14d663bb5 docs: update skills 2026-03-06 15:54:30 +08:00
pengzhanbo
50fa747ec1 docs: update agent skills 2026-03-06 00:44:21 +08:00
pengzhanbo
f6da09df54 build: publish v1.0.0-rc.192 2026-03-05 15:35:45 +08:00
pengzhanbo
9b9f8f3f77 style: lint fix 2026-03-05 15:34:11 +08:00
pengzhanbo
aa19049f5b perf: update deps to latest 2026-03-05 14:56:16 +08:00
pengzhanbo
fd1dd7c695
feat(theme): add lang switch to update html lang attr (#867) 2026-03-05 14:42:48 +08:00
pengzhanbo
916e9141d9
fix(plugin-md-power): fix potential null pointer exceptions when parsing collapse containers (#866) 2026-03-05 14:41:47 +08:00
pengzhanbo
ca51a345fb
fix(theme): fix the calculation error in the post cover ratio and add link to cover, close #863 (#865) 2026-03-05 14:41:30 +08:00
pengzhanbo
f11e8501d0
fix(theme): fix missing attribute for <VPHomePosts> (#864) 2026-03-05 14:41:11 +08:00
pengzhanbo
3f047914d5 build: publish v1.0.0-rc.191 2026-02-25 22:14:10 +08:00
pengzhanbo
0a3810be2b chore: tweak 2026-02-25 22:12:38 +08:00
pengzhanbo
c541e05997 perf: update deps to latest 2026-02-25 22:04:15 +08:00
pengzhanbo
feb69a282e build: update target Node.js version to 20.19.0 in tsdown.config.mjs files 2026-02-25 22:03:51 +08:00
pengzhanbo
c109d54961
feat: rewrite app.writeTemp to resolve IO race conditions (#862) 2026-02-25 21:50:50 +08:00
pengzhanbo
948c31779b
fix(plugin-search): fix temporary file IO race condition (#861) 2026-02-25 21:50:31 +08:00
pengzhanbo
09a95b7597
fix(plugin-md-power): fix timeout when retrieving remote image size (#860) 2026-02-25 21:50:08 +08:00
pengzhanbo
ce32605aee
feat(plugin-md-power): rename demo-wrapper container to window (#858) 2026-02-25 21:48:39 +08:00
𝙁𝙡𝙖𝙨𝙝
f7d3546962
docs: update 【haipeng-lin】demo (#859) 2026-02-20 00:44:33 +08:00
pengzhanbo
5980fd81f3 build: publish v1.0.0-rc.190 2026-02-15 12:33:55 +08:00
pengzhanbo
f2fe79f923 fix(plugin-md-power): fix timeout issue when retrieving image size 2026-02-15 12:32:33 +08:00
pengzhanbo
7234eebe7e fix(plugin-search): fix incorrect prepare search index 2026-02-15 12:31:46 +08:00
pengzhanbo
479680bba6 docs: update docs 2026-02-15 12:24:31 +08:00
pengzhanbo
cd68f1cdd9 build: publish v1.0.0-rc.189 2026-02-15 11:43:40 +08:00
pengzhanbo
97c7a53aed chore: update deps to latest 2026-02-15 11:41:37 +08:00
pengzhanbo
03dc9da8dc docs: update home page 2026-02-15 11:41:17 +08:00
pengzhanbo
a4c9c85b00
refactor(plugin-md-power): optimize image size (#856) 2026-02-15 11:33:40 +08:00
pengzhanbo
1ed3dd9154
refactor(plugin-search): optimize search data generate (#855) 2026-02-15 11:33:24 +08:00
pengzhanbo
bfd1d1692f
refactor(cli): improve packageJson generate (#854) 2026-02-15 11:33:09 +08:00
pengzhanbo
6db6a58c27
chore: tweak (#857) 2026-02-15 11:32:47 +08:00
pengzhanbo
9751059fcd docs: update readme 2026-02-15 11:23:16 +08:00
pengzhanbo
fc9984b27c test: improve unit test 2026-02-14 20:03:44 +08:00
pengzhanbo
5930c60462 docs: improve docs 2026-02-14 18:14:19 +08:00
pengzhanbo
f173d069bd refactor(theme): fix event listener leaks 2026-02-14 18:14:00 +08:00
pengzhanbo
5c201e3ed0
docs: improve jsdoc (#852) 2026-02-14 14:53:41 +08:00
pengzhanbo
77da8a3470
fix(cli): fix failure to retrieve OS language (#851) 2026-02-14 14:53:23 +08:00
pengzhanbo
9c3899135b docs: update readme 2026-02-14 14:48:01 +08:00
pengzhanbo
dc160b3db4 build: publish v1.0.0-rc.188 2026-02-13 21:12:45 +08:00
pengzhanbo
84bd873efa chore: improve vue-router deps 2026-02-13 21:10:17 +08:00
pengzhanbo
8d4ce99c16 perf: update deps to latest 2026-02-13 20:28:12 +08:00
pengzhanbo
8a873e1e58 style: lint fix 2026-02-13 20:27:38 +08:00
pengzhanbo
2780abd782
feat(plugin-md-power): add copy button for file-tree container, close #835 (#837)
* feat(plugin-md-power): add copy button for file-tree container, close #835

* chore: tweak
2026-02-13 01:16:47 +08:00
pengzhanbo
b1f996cb0e
feat(plugin-md-power): add ::: encrypt container, close #815 (#831)
* feat(plugin-md-power): add `::: encrypt` container

* chore: tweak

* chore: tweak

* chore: tweak
2026-02-12 23:55:21 +08:00
pengzhanbo
78a2859398
perf: optimize memory usage during build time (#850) 2026-02-12 21:11:01 +08:00
pengzhanbo
8daddcac5d chore: update vuepress deps to latest 2026-02-12 01:16:46 +08:00
pengzhanbo
c5759e3a2e chore(theme): add default locale to llmstxt plugin 2026-02-12 01:08:00 +08:00
pengzhanbo
3e68b44771
feat(theme): add sidebar collapse button, close #687 (#839) 2026-02-12 01:02:57 +08:00
pengzhanbo
d2b4654ae3
fix(theme): fix prev/next nav when include sep, close #846 (#849) 2026-02-12 01:01:13 +08:00
pengzhanbo
5a73b59297
fix(theme): broken card a11y, close #841 (#848) 2026-02-12 01:00:52 +08:00
pengzhanbo
98a969c112
fix(theme): fix overflow scrolling in the tab container nav, close #842 (#847) 2026-02-12 01:00:03 +08:00
pengzhanbo
8cd08f4f02
feat(plugin-search): add language-based text segmentation support for search (#838) 2026-02-12 00:59:35 +08:00
pengzhanbo
32e4f92c61
feat(plugin-md-power): add icons about ai (#836) 2026-02-12 00:59:02 +08:00
pengzhanbo
d573fada7a
feat(theme): improve title template (#833)
* feat(theme): improve title template

* chore: tweak
2026-02-12 00:58:33 +08:00
pengzhanbo
a13ed1f503
fix(theme): navbar dropdown renders incorrectly in Safari, close #830 (#832) 2026-02-12 00:57:41 +08:00
pengzhanbo
07c274cdbf
feat: add agent skills (#823)
* feat: add agent skills

* chore: tweak
2026-01-29 15:52:29 +08:00
Konata9
ab4ff06756
docs: add Konata9's Blog (#834)
* chore: Add konata9's blog

* style: lint fix

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2026-01-27 11:31:34 +08:00
pengzhanbo
b65529743e docs: update sponsor 2026-01-22 13:17:29 +08:00
pengzhanbo
c46379bc9f docs: update pdf assets 2026-01-20 23:34:40 +08:00
Kairui Liu
6cd8066ee0
docs: add a website demo to the documentation (#827) 2026-01-20 14:41:19 +08:00
pengzhanbo
4ad05ad9f5 build: publish v1.0.0-rc.187 2026-01-19 23:50:07 +08:00
pengzhanbo
6a41d44322 fix(theme): incorrect icon name validation 2026-01-19 23:48:35 +08:00
pengzhanbo
f804ba8420 build: publish v1.0.0-rc.186 2026-01-19 21:56:46 +08:00
pengzhanbo
2a5bd30fe3 perf: update deps to latest 2026-01-19 21:45:42 +08:00
pengzhanbo
a3d8e225b9
feat(theme): add filepath permalink support for auto frontmatter, #815 (#822) 2026-01-19 21:43:41 +08:00
pengzhanbo
f51dff1d58
feat(plugin-md-power): add markdown env presets, #815 (#818) 2026-01-19 21:41:17 +08:00
pengzhanbo
85fc35f119
fix(theme): fix multiple icon provider (#826) 2026-01-19 21:40:47 +08:00
pengzhanbo
48970dd559
fix(theme): fix theme config hmr fail (#820) 2026-01-19 21:40:23 +08:00
pengzhanbo
1dfbb872f7
fix(theme): fix page encrypt password type error (#819) 2026-01-19 21:39:50 +08:00
pengzhanbo
79397faa65
feat(theme): add perplexity to context menu (#817) 2026-01-19 21:38:45 +08:00
来自梦里的一条鱼
7b17ccf378
docs: update haipeng-lin.cn demo (#824) 2026-01-17 17:08:23 +08:00
CuteLittleSky
7a0aee5fb9
docs: add SKYCRAFT server to Demo (#821) 2026-01-15 18:34:59 +08:00
Paiad
a94333d9bd
docs: revise Paiad demo information
Updated the details for the Paiad demo, including name, description, logo, URL, and preview image.
2026-01-13 22:32:39 +08:00
pengzhanbo
5217be0bfc build: publish v1.0.0-rc.185 2026-01-09 15:44:39 +08:00
pengzhanbo
6420ddf8ba chore: update deps to latest 2026-01-09 15:42:08 +08:00
pengzhanbo
6656b3213b docs: add contributor 2026-01-09 15:35:00 +08:00
pengzhanbo
a74c475d7c perf: update deps to latest 2026-01-09 15:33:11 +08:00
pengzhanbo
6d0781b647 chore: tweak 2026-01-09 15:32:49 +08:00
Dahaha
cc3582c1f9
feat(theme): add support for base64 for profile avatars (#808) 2026-01-09 15:22:32 +08:00
pengzhanbo
2cadb7d88c
fix(theme): add slot existence check in VPDocFooter, close #809 (#811) 2026-01-09 15:19:52 +08:00
pengzhanbo
7ed70230af
fix(theme): fix custom social icon rendering misalignment (#812) 2026-01-09 15:19:25 +08:00
pengzhanbo
36c0eddd86 docs: update sponsor 2026-01-03 20:07:24 +08:00
pengzhanbo
b242e59bbe build: publish v1.0.0-rc.184 2025-12-28 15:25:01 +08:00
pengzhanbo
9bbba1ada6
fix(theme): incorrect url convert in PageContextMenu (#807)
* fix(theme): incorrect url convert in `PageContextMenu`

* test: migrate to v8

* perf: update deps to latest
2025-12-28 15:09:32 +08:00
pengzhanbo
e2c9d50539 docs: fix typo 2025-12-28 14:11:59 +08:00
pengzhanbo
ed5c53f494 chore: remove .npmrc 2025-12-28 14:11:36 +08:00
pengzhanbo
fe9ee0dbfc
feat(plugin-md-power): improve caniuse syntax (#806) 2025-12-28 14:00:53 +08:00
pengzhanbo
2bcf761ef1 docs: update sponsor 2025-12-26 23:33:25 +08:00
Lucas
ccf34d4bc8
docs: add demo for Lucas blog (#804) 2025-12-21 23:42:27 +08:00
pengzhanbo
f7c0fe0dd3 docs: update sponsor 2025-12-16 15:15:23 +08:00
only9464
3f9422df83
docs: add HEUOpenResource to demos.md (#803)
Added HEUOpenResource project details to demos.
2025-12-15 19:54:56 +08:00
来自梦里的一条鱼
46ec0fb123
docs: update haipeng-lin site demo (#802) 2025-12-15 11:52:18 +08:00
pengzhanbo
a5f6f991f8 build: publish v1.0.0-rc.183 2025-12-14 01:59:57 +08:00
pengzhanbo
eb73f3d3f1 perf: update deps to latest 2025-12-14 01:57:06 +08:00
pengzhanbo
a15f4e206d
fix: fix incorrect icon rendering, close #799 (#800) 2025-12-14 01:34:50 +08:00
pengzhanbo
ce19b84232
fix(theme): fix incorrect code block rendering within card, close #798 (#801) 2025-12-14 01:34:33 +08:00
pengzhanbo
b86a121707 docs: update component and config 2025-12-14 01:33:46 +08:00
pengzhanbo
c0bb6bcc14 build: publish v1.0.0-rc.182 2025-12-13 16:50:11 +08:00
pengzhanbo
98684ed66a perf: update deps to latest 2025-12-13 16:40:31 +08:00
pengzhanbo
15aa159999 docs: update Demos component 2025-12-13 16:39:40 +08:00
pengzhanbo
956869ab1e
fix(plugin-md-power): fix file-tree container incorrectly rendering in nesting content, close #795 (#797) 2025-12-13 16:18:36 +08:00
pengzhanbo
6e601f9f0e
feat(theme): add meta config support for collection, close #781 (#796) 2025-12-13 15:45:55 +08:00
pengzhanbo
f7bc044147 refactor(theme): improve CodeRepl and DocFooter styles 2025-12-12 20:53:43 +08:00
pengzhanbo
a91cdb60d7 chore: tweak 2025-12-12 20:52:48 +08:00
pengzhanbo
15e62010c2
feat(theme): add cols frontmatter support for friends page, close #781 (#792) 2025-12-12 20:41:30 +08:00
pengzhanbo
a350e62645
fix(plugin-md-power): fix mark lazy animation, close #789 (#791) 2025-12-12 20:41:09 +08:00
pengzhanbo
95d345bf6d
refactor(theme): social icon support all iconify icons, close #781 (#790) 2025-12-12 20:40:50 +08:00
pengzhanbo
c42a601467
refactor(theme): improve post copyright styles, close #780 (#788) 2025-12-12 20:40:30 +08:00
pengzhanbo
46797a0757
fix(theme): fix render overflow of code block within Card on mobile, close #782 (#787) 2025-12-12 20:40:04 +08:00
pengzhanbo
65da8469ce
feat(cli): update lowest version support for nodejs (#786) 2025-12-12 20:39:28 +08:00
pengzhanbo
6383347813
fix(theme): fix boundary detection error for config on home (#785) 2025-12-12 20:39:03 +08:00
pengzhanbo
2c360ac59e
feat(theme): add theme config changed logger (#784) 2025-12-12 20:38:34 +08:00
pengzhanbo
b128511c28 docs: update sponsor 2025-12-10 17:01:56 +08:00
pengzhanbo
8f2f93ec7e build: publish v1.0.0-rc.181 2025-12-05 22:59:22 +08:00
pengzhanbo
8faba7bf10 perf: update deps to latest 2025-12-05 22:57:20 +08:00
pengzhanbo
c8ab57e843 chore: tweak 2025-12-05 22:56:51 +08:00
pengzhanbo
9a77bf4eef docs: update sponsor 2025-12-05 22:25:46 +08:00
pengzhanbo
157281aec8
feat(plugin-md-power): add qrcode syntax plugin for markdown (#777)
* feat(plugin-md-power): add  qrcode syntax plugin for markdown

* chore: tweak
2025-12-05 17:18:13 +08:00
pengzhanbo
07710247bb
fix(theme): fix parsing error for relative path link (#779) 2025-12-05 17:16:48 +08:00
pengzhanbo
9b2b73e05b
fix(theme): fix doc-footer text decoration (#778) 2025-12-05 17:16:30 +08:00
pengzhanbo
8f3c070d07 docs: tweak 2025-12-05 17:07:05 +08:00
pengzhanbo
29b5197c47 test: improve unit test 2025-12-05 17:06:41 +08:00
pengzhanbo
5f82bdeb67
fix(theme): fix home hero background tint-plate rendering fail, close #775 (#776) 2025-12-04 14:10:27 +08:00
pengzhanbo
d677fc99de docs: update sponsor 2025-12-04 14:06:18 +08:00
pengzhanbo
4b1cecf2bd
feat(theme): migrate bcrypt-ts to hash-wasm (#774) 2025-12-03 17:16:14 +08:00
pengzhanbo
32f4a8be5a
feat(plugin-md-power): add markdown-it-cjk-friendly plugin (#773) 2025-12-03 13:41:18 +08:00
pengzhanbo
3553022597
fix(theme): fix navbar horizontal overflow (#772) 2025-12-03 13:35:57 +08:00
pengzhanbo
cd37921975
fix(theme): fix sidebar curtain position-top (#771) 2025-12-03 13:35:12 +08:00
pengzhanbo
78b4b9f572 docs: add tools 2025-12-03 13:34:19 +08:00
pengzhanbo
ab4354e648 docs: add contributor 2025-12-03 13:33:55 +08:00
pengzhanbo
20ebeb5e62
feat(theme): support encryption for all page layouts (#770) 2025-12-03 13:25:16 +08:00
gnehs
4957c8b1de
fix(theme): blockquote icon color in dark mode (#769) 2025-12-03 13:24:55 +08:00
gnehs
3df96e2702
fix(i18n): update Traditional Chinese translations for search and theme locales (#767) 2025-12-02 17:35:21 +08:00
pengzhanbo
3c4985ac1a build: publish v1.0.0-rc.180 2025-12-01 11:38:47 +08:00
pengzhanbo
3a907e0ba8 perf: update deps to latest 2025-12-01 11:37:01 +08:00
pengzhanbo
db8a46eb4c
docs: optimize and completion docs (#766) 2025-12-01 11:30:33 +08:00
pengzhanbo
c97a5af473
feat(cli): optimize template (#765) 2025-12-01 11:30:06 +08:00
pengzhanbo
bba98984d6
fix: support nested ordered lists in collapse plugin (#764) 2025-12-01 11:29:45 +08:00
pengzhanbo
41d2a81a09
fix(theme): fix hybrid mismatch (#763) 2025-12-01 11:29:26 +08:00
pengzhanbo
6a3babcf76
perf(theme): optimize VPFooter and VPFriends layout (#762) 2025-12-01 11:29:05 +08:00
pengzhanbo
f599a4223c
fix(theme): llmstxt should exclude encrypt page (#761) 2025-12-01 11:28:21 +08:00
pengzhanbo
e0b972c3cb
fix(theme): incorrect displaying external link icon (#760) 2025-12-01 11:27:59 +08:00
pengzhanbo
2bb5c0e2d5 ci: update workflow 2025-11-28 22:32:18 +08:00
pengzhanbo
7691cdc9a0 build: publish v1.0.0-rc.179 2025-11-26 01:26:47 +08:00
pengzhanbo
c1f59cf451 perf: update deps to latest 2025-11-26 01:23:22 +08:00
pengzhanbo
fc3676d6dc
feat(theme): add support for {data-outline="level"} attribute syntax for headings, close #757 (#759) 2025-11-26 01:13:24 +08:00
pengzhanbo
73f4935ca9
feat(theme): exclude encrypt page in llmstxt (#758) 2025-11-26 01:13:04 +08:00
pengzhanbo
f9b8c6adf2
refactor(theme): refactor link detector, close #754 (#756)
* refactor(theme): refactor link detector

* chore: tweak
2025-11-26 01:12:42 +08:00
pengzhanbo
8c1d34cb87 chore: tweak 2025-11-26 01:09:57 +08:00
pengzhanbo
631188df85 ci: migrate release publish to github actions 2025-11-26 01:08:30 +08:00
pengzhanbo
a9082dc012 docs: update sponsor 2025-11-25 21:05:53 +08:00
pengzhanbo
1b62b0bf6c docs: update sponsor 2025-11-25 14:55:45 +08:00
yxzlwz
75c12ba458
docs: update demos for YXZL (#755) 2025-11-21 12:56:49 +08:00
pengzhanbo
25c3880ea4 chore: tweak 2025-11-20 21:29:27 +08:00
pengzhanbo
ddb77a06a5 feat(theme): add footer frontmatter 2025-11-20 21:09:26 +08:00
pengzhanbo
a4bea8202b feat(cli): add env config to template 2025-11-20 21:09:06 +08:00
pengzhanbo
57617e6658 docs: update QA 2025-11-20 21:08:43 +08:00
pengzhanbo
ea54d08a50 docs: update demos 2025-11-20 21:08:25 +08:00
pengzhanbo
945cc72860 build: publish v1.0.0-rc.178 2025-11-19 17:02:41 +08:00
pengzhanbo
4884b1acce perf: update deps to latest 2025-11-19 16:59:03 +08:00
pengzhanbo
532ad960a4 docs: add llms redirect 2025-11-19 16:55:00 +08:00
pengzhanbo
ad1f02de62 fix(theme): fix post-list width overflow 2025-11-19 16:54:41 +08:00
pengzhanbo
20728f504d
feat(theme): add plugin-llms and <PageContextMenu /> component (#753) 2025-11-19 16:51:49 +08:00
pengzhanbo
5b780c28d0 docs: update llms config 2025-11-18 21:08:22 +08:00
TinyPiXOS-Dev
e8fa516b2e
docs: update demos.md (#752)
增加TinyPiXOS案例,TinyPiXOS是一款独立可控、架构轻量且高度定制化的嵌入式桌面操作系统,官网和技术文档均采用plume主题构建。
2025-11-18 19:15:24 +08:00
pengzhanbo
e87ae4fc16 build: publish v1.0.0-rc.177 2025-11-14 18:01:17 +08:00
pengzhanbo
5b07f2dd21 perf: update deps to latest 2025-11-14 17:49:51 +08:00
pengzhanbo
6fc6385de4 feat(cli): typescript as a required dependency 2025-11-14 17:45:08 +08:00
pengzhanbo
ab26dec457 feat(theme): when navbar is empty, no preset is applied 2025-11-14 17:43:19 +08:00
pengzhanbo
4119b67e0b fix(theme): fix fixed position failure in Safari 2025-11-14 17:15:48 +08:00
pengzhanbo
05d55e5035 fix(theme): fix table max-width overflow 2025-11-14 17:12:45 +08:00
pengzhanbo
f95e7c8412 feat(theme): optimize VPCollapse styles within Card 2025-11-14 17:09:42 +08:00
pengzhanbo
4e7fb91a56 build: publish v1.0.0-rc.176 2025-11-09 15:05:55 +08:00
pengzhanbo
cd120220f2 build: update tsdown config 2025-11-09 15:00:32 +08:00
pengzhanbo
a63c094df9 fix(theme): fix use admin decrypt page error 2025-11-09 14:59:10 +08:00
pengzhanbo
336205627e perf: update deps to latest 2025-11-09 13:58:48 +08:00
pengzhanbo
a5dfef7202
feat(theme): optimize page encrypt (#750) 2025-11-09 13:48:15 +08:00
pengzhanbo
87cda0c824 test: update vitest config 2025-11-09 13:33:21 +08:00
Hao Chen
b6ee4a4b3d
fix(theme): conditionally render post navigation links on mobile devices (#749) 2025-11-01 22:27:27 +08:00
Hao Chen
2fc6ea5064
fix(cli): corrects function call for defining multiple collections (#748) 2025-11-01 21:46:44 +08:00
pengzhanbo
aa8e774a1b build: publish v1.0.0-rc.175 2025-10-31 20:29:24 +08:00
pengzhanbo
606f47a5a6 perf: update deps to latest 2025-10-31 20:22:59 +08:00
pengzhanbo
e6daf07456 style: lint fix 2025-10-31 20:22:37 +08:00
pengzhanbo
3d48446769
feat(theme): add dark-veil home hero effect (#747) 2025-10-31 18:33:57 +08:00
pengzhanbo
802911c179 perf(theme): cleanup home hero effect when unmounted 2025-10-31 18:08:15 +08:00
pengzhanbo
192017b892
fix(theme): fix auto-sidebar collapsed (#746) 2025-10-31 18:03:06 +08:00
pengzhanbo
cfa70320c8
docs(theme): fix tint-plate tools (#745)
see #742
2025-10-31 17:53:35 +08:00
pengzhanbo
d4ad65a1ea
refactor: use deconstruct syntax to handle component props (#744) 2025-10-31 17:42:28 +08:00
pengzhanbo
0e38265f96
feat(plugin-md-power): add full-width support for table container, close #740 (#741) 2025-10-29 20:45:22 +08:00
pengzhanbo
fbb6ec9a63 feat(theme): optimize local nav 2025-10-26 23:18:44 +08:00
pengzhanbo
19868d147e fix(theme): fix language component not displaying correctly 2025-10-26 23:17:46 +08:00
pengzhanbo
73e6b9d5ca build: publish v1.0.0-rc.174 2025-10-25 12:31:36 +08:00
pengzhanbo
ca3986917c perf: update deps to latest 2025-10-25 12:29:19 +08:00
pengzhanbo
be565baf59 fix(theme): fix ssr compile error 2025-10-25 12:21:44 +08:00
pengzhanbo
aa6168c31d
feat(theme): add home hero effects (#738) 2025-10-25 11:55:17 +08:00
pengzhanbo
51e1f5260c perf: update deps to latest 2025-10-21 16:14:15 +08:00
yxzlwz
441b991b65
fix(plugin-md-power): avoid spellcheck in CodeEditor (#736)
Added spellcheck attribute to textarea for CodeEditor.
2025-10-20 21:47:09 +08:00
HAO CHEN
5fb7b7a216
docs: add Honahec's Blog to demos (#734) 2025-10-19 00:08:32 +08:00
Paiad
2d40e20f51
docs: update Paiad links and logo in demos.md (#733) 2025-10-18 21:39:30 +08:00
pengzhanbo
7f9d72416a build: publish v1.0.0-rc.173 2025-10-18 00:27:09 +08:00
pengzhanbo
ded49c4e88 perf: update deps to latest 2025-10-18 00:24:45 +08:00
pengzhanbo
0a23b94232
fix(theme): fix collection type error when the homepage is set as a posts, close #729 (#732) 2025-10-17 20:19:52 +08:00
pengzhanbo
6325d097cb ci: update issue templates 2025-10-17 19:41:31 +08:00
pengzhanbo
65d3c0551e ci: update issue templates 2025-10-17 18:27:33 +08:00
pengzhanbo
eeb2ce5350 docs: update sponsor 2025-10-17 17:27:35 +08:00
pengzhanbo
e0c0e639d0 chore: update security.md 2025-10-17 13:13:18 +08:00
pengzhanbo
1471547bcd fix(theme): fix the layout misalignment of the <VPButton /> fontawesome icon 2025-10-17 13:12:35 +08:00
rand777
6cd97bb4b8
docs: update demos.md (#731)
update info
2025-10-16 20:51:44 +08:00
pengzhanbo
1f2458f75c docs: update sponsor 2025-10-16 20:48:18 +08:00
pengzhanbo
437d56dd6c docs: update config 2025-10-16 02:24:57 +08:00
pengzhanbo
7adb00be5b build: publish v1.0.0-rc.172 2025-10-16 02:05:34 +08:00
pengzhanbo
74b4ddf8f5 perf: update deps to latest 2025-10-16 02:01:56 +08:00
pengzhanbo
d30325dd96 feat(cli): sort package.json 2025-10-16 00:31:52 +08:00
pengzhanbo
ca84eaeb13 chore: add pure-blog examples 2025-10-15 14:05:03 +08:00
pengzhanbo
0212ec34a8 chore: add pure-blog examples 2025-10-15 14:02:24 +08:00
pengzhanbo
707d534b95
fix(theme): fix post category sort error (#727) 2025-10-15 14:00:28 +08:00
pengzhanbo
4abc1eeb58
feat(theme): add icon to doc footer prev-next (#726) 2025-10-15 12:35:29 +08:00
pengzhanbo
1503a20fbe
feat(theme): optimize view transition (#725) 2025-10-15 12:34:16 +08:00
pengzhanbo
a2d52602d3 build: publish v1.0.0-rc.171 2025-10-13 23:56:15 +08:00
pengzhanbo
fffff72fcd docs: update docs 2025-10-13 15:27:15 +08:00
pengzhanbo
89cb6a585a
fix(theme): fix fontawesome icon, close #720 (#721) 2025-10-13 13:50:52 +08:00
pengzhanbo
c476c2059b
fix(theme): fix sidebar link concatenation error (#722) 2025-10-13 13:50:27 +08:00
pengzhanbo
1686836e38 docs: update docs 2025-10-13 01:14:26 +08:00
HAO CHEN
5c0d211d82
feat(plugin-md-power): add lazy animation mode for mark highlights (#718) 2025-10-12 21:56:15 +08:00
pengzhanbo
aa9c64f00f build: publish v1.0.0-rc.170 2025-10-12 15:42:08 +08:00
pengzhanbo
f505a2636e docs: update sponsor 2025-10-12 15:38:24 +08:00
pengzhanbo
8cec3f23e4
fix(theme): fix page transition flickering (#717) 2025-10-12 14:31:32 +08:00
pengzhanbo
338ca4ad7c fix(theme): optimize post category styles 2025-10-12 14:28:04 +08:00
pengzhanbo
86b7f2e695 docs: update sponsor 2025-10-12 14:27:15 +08:00
pengzhanbo
3a07f590cb
fix(theme): incorrect sidebar link prefix, close #714, #710 (#715) 2025-10-12 01:37:43 +08:00
pengzhanbo
0f350226ef build: add lunaria locales detector 2025-10-11 10:37:26 +08:00
pengzhanbo
729a0d6840 build: add lunaria locales detector 2025-10-11 10:31:40 +08:00
pengzhanbo
9afb57815c build: publish v1.0.0-rc.169 2025-10-09 21:41:32 +08:00
pengzhanbo
3b99ecc46f docs: update docs 2025-10-09 21:39:17 +08:00
pengzhanbo
a8c689f6e9 docs: update docs 2025-10-09 21:30:16 +08:00
pengzhanbo
4a8fd3f7fc docs: update docs 2025-10-09 21:19:07 +08:00
pengzhanbo
b3843c7d97
fix(theme): fix post collection links, close #709 (#712) 2025-10-09 21:13:39 +08:00
pengzhanbo
c2bd0f938e docs: update en docs 2025-10-09 15:54:07 +08:00
pengzhanbo
385059f214
docs: update en docs (#708)
* docs: update en docs

* chore: tweak

* chore: tweak

* chore: tweak
2025-10-09 15:46:05 +08:00
pengzhanbo
c6347676cd build: publish v1.0.0-rc.168 2025-10-08 20:10:00 +08:00
pengzhanbo
104370ca42 perf: update deps to latest 2025-10-08 20:08:38 +08:00
pengzhanbo
9f3de6b8ea fix(theme): sidebar prefix concat incorrectly 2025-10-08 12:50:49 +08:00
pengzhanbo
3b5e2cc5b3 fix(theme): fix I/O race condition causing auto frontmatter not to be written 2025-10-08 12:49:58 +08:00
pengzhanbo
53b90b512c build: publish v1.0.0-rc.167 2025-10-08 02:22:08 +08:00
pengzhanbo
9ed4acc097 docs: update docs 2025-10-08 02:20:31 +08:00
pengzhanbo
2e1ad23112 fix(theme): incorrect configuration loading and page generation sequence 2025-10-08 02:16:00 +08:00
pengzhanbo
133c4f996f build: publish v1.0.0-rc.166 2025-10-08 01:32:33 +08:00
pengzhanbo
b37af47dca feat(theme): add collection breaking change log 2025-10-08 01:29:20 +08:00
pengzhanbo
2a8385f3aa fix(theme): incorrect collection auto complete 2025-10-08 01:28:46 +08:00
pengzhanbo
22b65fd22c docs: update docs 2025-10-08 00:07:08 +08:00
pengzhanbo
b87a5cfd7a docs: update docs 2025-10-07 23:40:16 +08:00
pengzhanbo
4f7b0cabb6 build: publish v1.0.0-rc.165 2025-10-07 23:28:58 +08:00
pengzhanbo
5996f1062f build: update tsconfig 2025-10-07 23:23:51 +08:00
pengzhanbo
4d2361a704
feat(theme)!: add collections support (#704)
* feat(theme)!: add collection support
2025-10-07 23:13:09 +08:00
pengzhanbo
fae5825618
docs: update sponsor.md 2025-10-01 13:02:07 +08:00
yxzlwz
731b11f159
docs: add yxzlwz.dev sites to demos 2025-10-01 13:00:13 +08:00
Rbqwow
1dd9dabb63
docs: added maa to demo projects (#703) 2025-09-23 20:59:47 +08:00
pengzhanbo
a05aa7f598 build: publish v1.0.0-rc.164 2025-09-20 16:14:05 +08:00
pengzhanbo
687439e697 perf: update deps to latest 2025-09-20 16:11:37 +08:00
pengzhanbo
bb30b51a9b docs: update docs 2025-09-20 16:00:13 +08:00
pengzhanbo
9357b21af1 chore: tweak 2025-09-20 15:59:52 +08:00
huyunan
5cbf0ddfcf
feat(theme): add signdown frontmatter for home page (#691)
* signdow 参数添加 是否显示向下箭头标志

* VPSignDown components add.

* Delete the wrongly modified code.

* feat(theme): signdown parameter adds whether to display a downward arrow flag

* feat(theme): signdown marks are changed to be fixed

---------

Co-authored-by: wb_huyunan <wb_huyunan@kuaishou.com>
2025-09-20 15:19:23 +08:00
pengzhanbo
001896b5fa
fix(plugin-md-power): fix stringifyAttrs parse fail (#701) 2025-09-20 15:13:21 +08:00
pengzhanbo
69b9d0bc3d
fix(theme): fix createTime is obtained incorrectly during creation, close #692 (#700) 2025-09-20 15:12:44 +08:00
pengzhanbo
dd958c30cf
fix(plugin-md-power): fix title text overflow, close #698 (#699) 2025-09-20 15:12:25 +08:00
pengzhanbo
2bb5625eb4 chore: tweak 2025-09-20 14:05:18 +08:00
pengzhanbo
3523df74db
feat: add inheritAttrs option to components that include ClientOnly (#697) 2025-09-18 12:43:03 +08:00
pengzhanbo
7a95f6ab95 build: publish v1.0.0-rc.163 2025-09-10 12:58:31 +08:00
pengzhanbo
242ef3a7a8 perf: update deps to latest 2025-09-10 12:56:52 +08:00
pengzhanbo
086528606e
feat(theme): add password support for post frontmatter (#689) 2025-09-10 12:44:01 +08:00
pengzhanbo
2757301d61
fix(theme): fix CardMasonry media query failure (#688) 2025-09-10 12:43:27 +08:00
pengzhanbo
3051b5d146 docs: update sponsor 2025-09-09 21:16:25 +08:00
pengzhanbo
3bca540085 build: publish v1.0.0-rc.162 2025-09-03 23:54:26 +08:00
pengzhanbo
cfc9cefe78 perf: update deps to latest 2025-09-03 23:51:17 +08:00
pengzhanbo
5c00e4f9cf docs: update contributors 2025-09-03 23:42:06 +08:00
pengzhanbo
2c39edf849
fix(plugin-md-power): incorrect rending of footnote in annotation (#686) 2025-09-03 23:41:04 +08:00
Geekinney
46b2da25a6
feat(theme): make blog post list responsive to screen width (#685)
* Make blog post list responsive to screen width

* style: lint fix

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2025-09-01 12:50:22 +08:00
pengzhanbo
7c0dfc562e docs: update sponsor 2025-08-22 00:18:44 +08:00
SherkeyXD
0da7055c2b
feat(theme): add telegram social icon (#678)
* feat(icon): add telegram icon

* docs: update social icon list
2025-08-21 00:46:20 +08:00
pengzhanbo
6902067ea6 build: publish v1.0.0-rc.161 2025-08-20 03:19:41 +08:00
pengzhanbo
172aa3fb9c chore: update deps to latest 2025-08-20 03:14:40 +08:00
pengzhanbo
89314f4cb4 style: lint fix 2025-08-20 03:14:15 +08:00
pengzhanbo
22a5f10add
feat(plugin-search): optimize search index logger (#676) 2025-08-20 02:31:25 +08:00
pengzhanbo
94e755c422
feat(theme): add gitee provider support for repocard, close #674 (#675) 2025-08-20 02:31:09 +08:00
pengzhanbo
49d84dcfb4
feat(theme): add fullname prop support for RepoCard, close #669 (#670)
* feat(theme): add `fullname` prop support for `RepoCard`, close #669

* feat: add archive repo status
2025-08-19 23:14:31 +08:00
pengzhanbo
e8e8614d6e style: lint fix 2025-08-11 00:42:43 +08:00
pengzhanbo
96eb076496 build: fix tsdown build config 2025-08-11 00:36:59 +08:00
pengzhanbo
2059cf92ff build: fix tsdown build config 2025-08-11 00:13:41 +08:00
pengzhanbo
c8f16bbf43 chore: update deps to latest 2025-08-10 23:55:49 +08:00
pengzhanbo
27e9ab0982 build: fix tsdown build config 2025-08-10 23:40:48 +08:00
pengzhanbo
bc27437730 build: fix tsdown build config 2025-08-10 23:32:05 +08:00
pengzhanbo
21045599d0 docs: update changelog and contributing frontmatter 2025-08-10 00:08:47 +08:00
rand777
e32c2d2d6b
docs: update PGuide-Docs demo (#666) 2025-08-09 23:26:46 +08:00
pengzhanbo
caf1cd03c9 build: publish v1.0.0-rc.160 2025-08-04 15:25:20 +08:00
pengzhanbo
e128f524ac feat(cli): update plume deps 2025-08-04 15:22:29 +08:00
pengzhanbo
94d3b4fdf8 perf: update deps to latest 2025-08-04 15:21:23 +08:00
pengzhanbo
437f6cd75e docs: update echarts doc 2025-08-04 15:20:48 +08:00
pengzhanbo
f02617908f
feat(plugin-md-power): add highlight support for table container, close #660 (#663) 2025-08-04 15:00:22 +08:00
pengzhanbo
e113f6850a
feat(theme): improve post draft status (#662) 2025-08-04 14:59:17 +08:00
pengzhanbo
fde93517d9
feat(theme): improve img cursor (#661) 2025-08-04 14:58:55 +08:00
pengzhanbo
b08401ee30 build: publish v1.0.0-rc.159 2025-07-26 09:38:54 +08:00
pengzhanbo
05bfd4add1 perf: update deps to latest 2025-07-26 09:36:56 +08:00
pengzhanbo
d976263a46 docs: update markdown config doc 2025-07-26 09:33:57 +08:00
pengzhanbo
371834640b
feat(plugin-md-power): add table container, close #652 (#655) 2025-07-26 09:11:51 +08:00
pengzhanbo
b120633453 perf(theme): improve iconfont layout 2025-07-26 09:10:42 +08:00
pengzhanbo
0443c6ff05 perf(plugin-md-power): improve image-size 2025-07-26 09:09:52 +08:00
pengzhanbo
9f1948cf05 docs: update sponsor 2025-07-25 17:50:39 +08:00
pengzhanbo
1702995aec build: publish v1.0.0-rc.158 2025-07-20 11:11:37 +08:00
pengzhanbo
cd23571014 docs: update docs 2025-07-20 11:05:00 +08:00
pengzhanbo
11ede1754f feat(theme): ignore npm-badge preview 2025-07-20 11:04:41 +08:00
pengzhanbo
528ddc0676 perf: update deps to latest 2025-07-20 11:03:46 +08:00
pengzhanbo
b8ce0cd151 fix(theme): incorrect image preview selector 2025-07-20 10:47:02 +08:00
pengzhanbo
cc0692145a fix(plugin-md-power): incorrect html folder icon 2025-07-20 10:46:14 +08:00
pengzhanbo
7f7ada919f chore: update `gitignore 2025-07-20 10:45:22 +08:00
rand777
5e4cc987f3
docs: add rand777.space and update docs.pguide.studio (#649)
* Update demos.md

update demo website's info

* Update demos.md

* Update demos.md

* fix: lint fix

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2025-07-17 10:10:43 +08:00
PinkDopeyBug
a872cc278b docs: add PinkDoppeyBug blog demo (#646) 2025-07-12 23:28:54 +08:00
pengzhanbo
fa26b7bd5f build: publish v1.0.0-rc.157 2025-07-12 08:50:56 +08:00
pengzhanbo
70dc62e4ae chore: update deps to latest 2025-07-12 08:48:49 +08:00
pengzhanbo
7964cbfde1 docs: update sponsor 2025-07-12 08:48:22 +08:00
pengzhanbo
3e9314194b feat(cli): update vuepress to latest 2025-07-10 11:41:37 +08:00
pengzhanbo
f7f39b8f32 docs: update docs 2025-07-10 11:40:43 +08:00
pengzhanbo
0fe98a38f1
feat(theme): migrate to @vuepress/plugin-replace-assets (#644) 2025-07-10 11:23:05 +08:00
pengzhanbo
cd1d457d31
feat: upgrade vuepress to rc.24 (#643) 2025-07-10 10:37:41 +08:00
pengzhanbo
57d08bd501
fix(theme): locales selector not rendering correctly on mobile, close #640 (#641) 2025-07-08 14:26:51 +08:00
Hammuu1112
534683817e
feat(theme): add locale support for Korean (ko-KR) (#642)
* add ko-KR

* fix typo error

* Change the import order
2025-07-08 13:00:06 +08:00
pengzhanbo
877d2736d6 build: publish v1.0.0-rc.156 2025-07-06 14:51:21 +08:00
pengzhanbo
6f9dc24941 perf: update deps to latest 2025-07-06 14:48:16 +08:00
pengzhanbo
156e32c17c docs: update readme 2025-07-05 23:34:48 +08:00
pengzhanbo
3c07909c34 perf(theme): improve some styles 2025-07-05 23:33:16 +08:00
pengzhanbo
d27121a558
fix(theme): incorrect sidebar when items as auto, close #635 (#638) 2025-07-05 23:22:41 +08:00
pengzhanbo
4590703e63
feat(theme): add image-preview configuration (#637) 2025-07-05 23:22:25 +08:00
oh-yey
2cbae991af
docs: update domain address (#639)
* docs: add 𝕛𝕚𝕒𝕙𝕒𝕠'𝕤 𝕓𝕝𝕠𝕘

* docs: update domain address
2025-07-05 02:28:54 +08:00
pengzhanbo
020f276dff build: publish v1.0.0-rc.155 2025-06-29 15:50:34 +08:00
pengzhanbo
79fecda01f fix(theme): remove lang="scss" in component styles 2025-06-29 15:39:17 +08:00
pengzhanbo
2c43798697 perf: update deps to latest 2025-06-29 15:12:10 +08:00
pengzhanbo
7eb9f5cd58 docs: update sponsor 2025-06-29 14:59:07 +08:00
pengzhanbo
f7ec566ae5
fix(plugin-md-power): catch image-size error (#634) 2025-06-29 14:58:29 +08:00
pengzhanbo
309be687b4
feat(plugin-replace-assets): improve replace assets (#628) 2025-06-29 14:37:33 +08:00
pengzhanbo
cd2b7fd26d
feat(plugin-md-power): add links to markdown env (#631) 2025-06-29 14:37:15 +08:00
pengzhanbo
a8fac92bf0
feat(plugin-md-power): add deprecated prop support for field container, close #627 (#630) 2025-06-29 14:36:48 +08:00
pengzhanbo
dc42be6035
feat(plugin-md-power): add acfun video support, close #625 (#629) 2025-06-29 14:36:26 +08:00
pengzhanbo
e2fb1c10e8 chore: tweak 2025-06-25 15:56:13 +08:00
pengzhanbo
14cba534e4 chore: update eslint config 2025-06-24 15:13:40 +08:00
pengzhanbo
4f60b5424d style: lint fix 2025-06-24 15:13:03 +08:00
pengzhanbo
0078731ee4 build: publish v1.0.0-rc.154 2025-06-19 19:58:15 +08:00
pengzhanbo
a49327e27b docs: update SECURITY 2025-06-19 19:55:27 +08:00
pengzhanbo
214c036e1a chore: update deps to latest 2025-06-19 19:55:06 +08:00
pengzhanbo
6f15557f11
feat: use chokidar v4 (#622) 2025-06-19 19:27:06 +08:00
pengzhanbo
338334f479
feat!: use new chart plugin and remove md-enhance (#621) 2025-06-19 18:48:46 +08:00
pengzhanbo
6ef3db166a perf: update deps to latest 2025-06-19 00:46:05 +08:00
pengzhanbo
9efa2c1a80
feat(plugin-md-power): improve plot behavior (#620) 2025-06-19 00:12:22 +08:00
pengzhanbo
a5c874cdcf
feat(theme): improve markdown link behavior (#619) 2025-06-19 00:12:04 +08:00
pengzhanbo
953277c77d docs: update sponsor 2025-06-18 11:30:39 +08:00
pengzhanbo
118f57c791 docs: improve llms toc 2025-06-14 17:27:35 +08:00
pengzhanbo
fefe83b0bc docs: add llms support 2025-06-14 13:28:05 +08:00
pengzhanbo
ebd316a415 docs: update sponsor 2025-06-13 16:35:00 +08:00
pengzhanbo
818ea804bc docs: update sponsor 2025-06-10 16:43:15 +08:00
柯慕灵
93a430506a
docs: add 1985312383.github.io demos (#618) 2025-06-09 20:10:14 +08:00
来自梦里的一条鱼
1cae20bdf8
docs: add blog.haipeng-lin.cn demo (#617) 2025-06-09 07:56:57 +08:00
pengzhanbo
e660a522b2 build: publish v1.0.0-rc.153 2025-06-07 14:31:57 +08:00
pengzhanbo
bb792a7e12 chore: tweak 2025-06-07 14:30:32 +08:00
pengzhanbo
f864ccb187 perf: update deps to latest 2025-06-07 14:19:31 +08:00
pengzhanbo
0ac2f40431 docs: update contributors 2025-06-06 21:37:54 +08:00
pengzhanbo
1dcd46c9c0 test(plugin-md-power): add python-repl unit test 2025-06-06 21:33:11 +08:00
Shuo Liu
1f89d7f515
feat(plugin-md-power): enable python code repl(#585) (#613)
* feat(plugin-md-power): enable python code repl(#585)

* fix(plugin-md-power): correct grammars

* fix(plugin-md-power): modify pnpm-lock.yaml

* feat: tweak

* chore: tweak

---------

Co-authored-by: Shuo Liu <sliu84@outlook.com>
Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2025-06-06 21:14:59 +08:00
pengzhanbo
c21c9bdefa
fix(theme): fix external non-HTTP link redirection (#614) 2025-06-06 12:53:39 +08:00
pengzhanbo
7086bb0be9 docs: update sponsor 2025-06-05 00:58:11 +08:00
pengzhanbo
8f9eb1666f
feat(plugin-md-power): update @mdi/* deps to latest (#612) 2025-06-02 02:57:51 +08:00
pengzhanbo
3c2a34729e
fix(theme): fix blog cover layout error in mobile (#611) 2025-06-01 21:41:32 +08:00
pengzhanbo
d5ea846e8a
feat(theme): improve Card* styles (#610) 2025-06-01 21:38:28 +08:00
pengzhanbo
46effe8866
fix(theme): fix swiper slide link with base (#609) 2025-06-01 21:38:14 +08:00
pengzhanbo
7ed3f6ffd1
fix(theme): fix blog cover link with base (#608) 2025-06-01 21:37:59 +08:00
pengzhanbo
cb8d8af2ce docs: update sponsor 2025-06-01 21:33:41 +08:00
pengzhanbo
d0295ee844 docs: update security 2025-05-31 02:43:05 +08:00
pengzhanbo
76344550fc fix(theme): fix code block highlight word rendering incorrect 2025-05-31 02:41:15 +08:00
pengzhanbo
921e8100ae feat(cli): update vue to latest 2025-05-31 02:39:56 +08:00
pengzhanbo
d6a47419e4
feat(plugin-md-power): improve logger (#607) 2025-05-31 02:37:27 +08:00
pengzhanbo
3c384a4362 chore: update docs client config 2025-05-29 19:58:13 +08:00
pengzhanbo
0b948fe551 chore: add patch docs 2025-05-29 01:16:24 +08:00
pengzhanbo
555d369b80 chore: add patch docs 2025-05-29 01:13:24 +08:00
pengzhanbo
1c83d2e99a chore: add patch docs 2025-05-29 01:11:54 +08:00
pengzhanbo
ca66d587ec build: publish v1.0.0-rc.152 2025-05-27 17:52:38 +08:00
pengzhanbo
4e100a3a01 chore: tweak 2025-05-27 17:51:20 +08:00
pengzhanbo
d2a849af64 perf: update deps to latest 2025-05-27 17:50:53 +08:00
pengzhanbo
3ba41b90b8 fix(theme): ensure friends description from user 2025-05-27 17:32:53 +08:00
pengzhanbo
d52856f0fc chore: pretty mirror-sync log 2025-05-27 17:31:40 +08:00
pengzhanbo
470513d07b docs: fix typo error 2025-05-27 17:26:55 +08:00
pengzhanbo
ede0eb8184 docs: update sponsor 2025-05-27 17:26:30 +08:00
pengzhanbo
c9ead12e35
feat(theme): sidebar auto scroll into active link (#604) 2025-05-21 22:55:26 +08:00
pengzhanbo
7592eafd38
fix(plugin-search): reset search index cache (#603) 2025-05-21 22:54:33 +08:00
pengzhanbo
1e98061021 chore: patch floating-vue 2025-05-21 21:24:55 +08:00
kangkang shang
45853ab51d
docs: fix document content issue (#602) 2025-05-20 17:57:35 +08:00
pengzhanbo
665a8fa530 build: publish v1.0.0-rc.151 2025-05-20 00:09:20 +08:00
pengzhanbo
d63deb5076 fix(cli): template generate fail 2025-05-20 00:07:55 +08:00
pengzhanbo
4746e0082b build: publish v1.0.0-rc.150 2025-05-19 21:16:30 +08:00
pengzhanbo
e1bccbefeb chore: update tsdown 2025-05-19 21:13:51 +08:00
pengzhanbo
2ced06b729 feat(cli): improve template 2025-05-19 21:13:30 +08:00
pengzhanbo
1de7cfc773 docs: fix pictures example 2025-05-19 20:44:35 +08:00
pengzhanbo
cd9c664e81
fix(theme): fix incorrect icon rendering, close #599 (#600) 2025-05-19 20:41:36 +08:00
pengzhanbo
97dcc97aa1 build: publish v1.0.0-rc.149 2025-05-17 09:39:27 +08:00
pengzhanbo
9ef8322940 perf: update deps to latest 2025-05-17 09:33:09 +08:00
pengzhanbo
dcecbfdd8d docs: update docs 2025-05-16 21:37:32 +08:00
pengzhanbo
79af255cd8
feat(plugin-md-power): add flex container (#597) 2025-05-16 21:35:10 +08:00
pengzhanbo
dadf303ea3 docs: update sponsor 2025-05-16 21:04:04 +08:00
pengzhanbo
5d255998db perf: improve code block styles 2025-05-16 15:41:47 +08:00
pengzhanbo
8bfe995a20 docs: update readme 2025-05-16 13:07:18 +08:00
pengzhanbo
149732520a
feat: add multiple provider support for icon, close #568 (#596)
* feat: add multiple provider support for icon

* chore: tweak

* chore: tweak
2025-05-16 11:03:41 +08:00
pengzhanbo
0425046e9e fix(theme): task list rendering error within firefox 2025-05-13 14:39:19 +08:00
pengzhanbo
eda194cd53 build: publish v1.0.0-rc.148 2025-05-13 11:48:17 +08:00
pengzhanbo
6677dcae62 fix(cli): tsdown define error 2025-05-13 11:38:23 +08:00
pengzhanbo
698ce3ef59 build: publish v1.0.0-rc.147 2025-05-12 17:40:07 +08:00
pengzhanbo
b4c139bc72
build: migrate to tsdown (#595) 2025-05-12 17:28:55 +08:00
pengzhanbo
aaa473572c
refactor: use isolatedDeclarations in tsconfig (#594) 2025-05-12 16:17:47 +08:00
pengzhanbo
1f8a9ce251
refactor(cli): remove execa and migrate to nano-spawn (#593) 2025-05-12 11:18:28 +08:00
pengzhanbo
c4da089745 perf: update deps to latest 2025-05-12 10:09:55 +08:00
pengzhanbo
79ab31d0f2
feat(plugin-md-power): add timeout to image-size (#592) 2025-05-12 09:08:02 +08:00
pengzhanbo
2c9006caf7
fix(theme): fix git-plugin execute error when git: false (#591) 2025-05-12 09:06:44 +08:00
SG
901142d97b
docs: add 手动互感 to demos (#590)
新增手感互动文档中心的案例展示
2025-05-10 21:18:43 +08:00
pengzhanbo
9fef6654ae
fix(plugin-md-power): incorrect collapsed lines in code-tree, close #587 (#588) 2025-05-10 08:24:47 +08:00
pengzhanbo
bd0e9404da fix(theme): simplify icon rendering 2025-05-09 23:13:37 +08:00
pengzhanbo
f9276fdb75 fix(theme): improve link handling and href binding logic 2025-05-09 23:12:44 +08:00
pengzhanbo
61ca08c8b4
fix(theme): yaml parsing error caused by special chars (#586)
* fix(theme): yaml parsing error caused by special chars

* chore: tweak
2025-05-07 20:48:16 +08:00
pengzhanbo
d3105eaa7d test: update unit test 2025-05-07 10:45:07 +08:00
pengzhanbo
8424074753 docs: update sponsor 2025-05-07 10:26:44 +08:00
pengzhanbo
43b5060116 build: publish v1.0.0-rc.146 2025-05-06 14:48:19 +08:00
pengzhanbo
07822e4185 perf: update deps to latest 2025-05-06 14:46:04 +08:00
pengzhanbo
b3561ef383 chore: tweak 2025-05-06 14:07:01 +08:00
pengzhanbo
4733505cf2 docs: update docs 2025-05-06 13:44:22 +08:00
pengzhanbo
31e3b41a27
feat(plugin-md-power): add code-tree container and embed syntax, close #567 (#584)
* feat(plugin-md-power): add code-tree container and embed syntax, close #567

* chore: tweak
2025-05-02 21:01:25 +08:00
pengzhanbo
3b214f1b58 docs: fix broken link 2025-05-01 01:17:34 +08:00
pengzhanbo
5c24d4a877 build: publish v1.0.0-rc.145 2025-04-30 23:00:15 +08:00
pengzhanbo
f13e967c66 perf: update deps to latest 2025-04-30 22:50:13 +08:00
pengzhanbo
d14961d038 docs: update docs 2025-04-30 22:34:01 +08:00
pengzhanbo
497aeb37d6 chore: tweak 2025-04-30 22:31:42 +08:00
pengzhanbo
fdb17160ec chore: tweak 2025-04-30 09:21:37 +08:00
pengzhanbo
d8ca727a9f chore: tweak 2025-04-30 09:11:13 +08:00
pengzhanbo
a3208fc309
feat(theme): add comment and markdown content into friends page (#580) 2025-04-30 09:08:51 +08:00
pengzhanbo
56c5eb5257
feat(plugin-md-power): add field and field-group container, close #566 (#579) 2025-04-30 03:01:06 +08:00
pengzhanbo
16c768f3a9 docs: update sponsor 2025-04-29 22:16:18 +08:00
pengzhanbo
10708c97b4
feat(plugin-md-power): add diff syntax in file-tree container, close #577 (#578)
* feat(plugin-md-power): add diff syntax in file-tree container, close #577

* chore: tweak
2025-04-29 20:24:57 +08:00
pengzhanbo
1bc33acb2a chore(cli): update deps version 2025-04-28 22:35:12 +08:00
pengzhanbo
d96ba6b8ea docs: update sponsor 2025-04-28 22:04:24 +08:00
pengzhanbo
bde6afad9c build: publish v1.0.0-rc.144 2025-04-28 20:24:51 +08:00
pengzhanbo
6ca72d08ef docs: update code block features 2025-04-28 20:19:30 +08:00
pengzhanbo
a35ac8eae8 refactor: use modern color functions 2025-04-28 19:50:32 +08:00
pengzhanbo
740bc4e364 perf: update deps to latest 2025-04-28 19:22:29 +08:00
pengzhanbo
0bf7c865ac fix(plugin-md-power): incorrect demo container rendering 2025-04-28 19:22:02 +08:00
pengzhanbo
a446a86dbf docs: add version update blog 2025-04-28 17:43:15 +08:00
pengzhanbo
7ecce2db5c
feat(theme): add support for author and creation in global copyright config, close #573 (#576) 2025-04-28 10:53:48 +08:00
pengzhanbo
729a0cbd40
feat!: drop node18 support, close #574 (#575) 2025-04-28 10:39:43 +08:00
pengzhanbo
e709dada3a chore: tweak 2025-04-28 04:04:50 +08:00
pengzhanbo
599e43fd3c
feat(plugin-md-power): refactor file-tree container, close #565 (#572)
* feat(plugin-md-power): refactor file-tree container

* chore: tweak

* chore: tweak
2025-04-28 00:15:15 +08:00
pengzhanbo
7e255412c1 docs: update readme 2025-04-26 18:18:43 +08:00
pengzhanbo
0ed3b45ba5 docs: fix invalid link 2025-04-26 16:26:41 +08:00
pengzhanbo
3071354b20 docs: update readme 2025-04-26 16:19:10 +08:00
pengzhanbo
a74c0b924f chore: update SECURITY 2025-04-26 16:18:48 +08:00
pengzhanbo
2e7f69bb62
feat(plugin-md-power): add createContainerSyntaxPlugin for custom container rendering (#564) 2025-04-26 15:59:08 +08:00
pengzhanbo
58381ba294 test: update icon test 2025-04-26 01:40:24 +08:00
pengzhanbo
a023ca8654
feat(theme)!: deprecate old icon syntax and use ::icon:: syntax instead (#563) 2025-04-26 01:20:05 +08:00
pengzhanbo
b07426dfc6
refactor(plugin-md-power): improve md plugins (#562) 2025-04-25 15:04:55 +08:00
pengzhanbo
7c05f3abc3 docs: update sponsor 2025-04-22 20:07:25 +08:00
pengzhanbo
e7fd9b50da chore: update layout-slots example 2025-04-22 20:04:34 +08:00
pengzhanbo
4f267faa2b docs: add aside outline nav 2025-04-22 15:05:08 +08:00
pengzhanbo
9196d62221 docs: update layout slots doc 2025-04-21 00:56:04 +08:00
pengzhanbo
cc7dd036d6 ci: update workflows 2025-04-21 00:21:52 +08:00
pengzhanbo
614d7f5f0f
docs: add layout-slots example (#560) 2025-04-21 00:19:28 +08:00
pengzhanbo
939e51c5c3 build: publish v1.0.0-rc.143 2025-04-19 12:00:51 +08:00
pengzhanbo
b4dffe8825 chore: update deps to latest 2025-04-19 11:58:48 +08:00
pengzhanbo
73ed8dc9c5
feat(theme): add badge support for navbar and sidebar (#559) 2025-04-19 11:40:35 +08:00
pengzhanbo
0bceda590c
feat(theme): add layout slots (#558) 2025-04-19 11:39:57 +08:00
pengzhanbo
337d9ab662 build: publish v1.0.0-rc.142 2025-04-17 00:19:16 +08:00
pengzhanbo
207353de03 perf: update dep to latest 2025-04-17 00:17:29 +08:00
pengzhanbo
610a34cb52 fix(theme): incorrect git changelog render 2025-04-17 00:07:36 +08:00
pengzhanbo
1b2832743b build: publish v1.0.0-rc.141 2025-04-16 00:41:56 +08:00
pengzhanbo
79d5312cb8 feat(theme): update deps to latest and support vuepress rc.21 2025-04-16 00:24:39 +08:00
pengzhanbo
6bbfc031fb feat(plugin-md-power): improve async import for ssr 2025-04-16 00:23:01 +08:00
pengzhanbo
8111351224 feat(theme): refactor VPCardMasonry for improved layout 2025-04-16 00:22:07 +08:00
pengzhanbo
cbc728b249 feat(theme): enhance repo card display and add star/fork conversion 2025-04-16 00:20:39 +08:00
pengzhanbo
eef222086f
feat(theme): improve page scroll behavior (#557) 2025-04-15 21:27:06 +08:00
pengzhanbo
a0de3c660a
feat(theme): add target/rel props support for LinkCard (#556) 2025-04-15 21:26:50 +08:00
pengzhanbo
97f046015c
feat(theme): add doc-meta-before and doc-meta-after slots (#554) 2025-04-14 18:51:26 +08:00
Paiad
9fc6c5fae4
docs: add paiad blog demo (#555) 2025-04-10 09:52:13 +08:00
XingJi-love
fa8ddc99e7
docs: add vue.xingji.fun blog (#553) 2025-04-08 08:19:16 +08:00
pengzhanbo
095cfcfd1e build: publish v1.0.0-rc.140 2025-04-07 17:41:04 +08:00
pengzhanbo
74841a9ff6 fix(theme): handle empty dependencies in version detection 2025-04-07 17:39:05 +08:00
pengzhanbo
f3f53ae791 build: publish v1.0.0-rc.139 2025-04-07 07:59:14 +08:00
pengzhanbo
795ec510fd perf: update deps to latest 2025-04-07 07:51:20 +08:00
pengzhanbo
1365c83109
feat: add vuepress-plugin-replace-assets support, close #545 (#549)
* feat: add `vuepress-plugin-replace-assets` support, close #545
2025-04-07 07:41:23 +08:00
pengzhanbo
487448d611
feat(theme): add theme deps version detection (#551)
* feat(theme): add theme deps version detection

* chore: tweak
2025-04-07 07:38:52 +08:00
pengzhanbo
560eef0a48
refactor(theme): add transition for navScreen (#548) 2025-04-07 07:38:34 +08:00
pengzhanbo
f195f6f7bc docs: update sponsor 2025-04-04 08:03:43 +08:00
pengzhanbo
52024c24c8 build: publish v1.0.0-rc.138 2025-04-01 21:41:40 +08:00
pengzhanbo
ef2bff1a68 chore: update deps to latest 2025-04-01 21:28:49 +08:00
pengzhanbo
44c92faacf refactor(theme): improve theme transition animation 2025-04-01 21:28:27 +08:00
pengzhanbo
dc331337b7 refactor(plugin-md-power): improve a11y in Abbreviation 2025-04-01 21:26:51 +08:00
pengzhanbo
86eefbab9b perf(theme): improve scroll padding top 2025-04-01 21:18:22 +08:00
pengzhanbo
320b5f7336 perf(plugin-search): improve style 2025-04-01 21:17:28 +08:00
pengzhanbo
74dfa34cee docs: enable twoslash for code block 2025-04-01 10:23:34 +08:00
pengzhanbo
e8860a54ec
perf(theme): improve sidebar transition animation (#540)
* perf(theme): improve sidebar transition animation

* chore: tweak
2025-03-30 03:50:27 +08:00
pengzhanbo
b28112efc2
feat: enhance a11y (#546) 2025-03-30 03:08:01 +08:00
pengzhanbo
52d04631d9 perf: update deps to latest 2025-03-30 02:00:21 +08:00
pengzhanbo
8edbcb828a test: fix uncovered line 2025-03-30 00:51:58 +08:00
pengzhanbo
54233a330f fix(theme): correct path to theme package 2025-03-30 00:25:03 +08:00
pengzhanbo
15e1a00edd feat(plugin-md-power): enable high quality for Bilibili video embed 2025-03-30 00:23:22 +08:00
pengzhanbo
2b746892fc perf(plugin-md-power): enhance error handling for theme and grammar loading 2025-03-30 00:20:48 +08:00
pengzhanbo
3731e376e3
feat(cli): preset lang base on the os locale (#544)
* feat(cli): preset `lang` base on the  os locale

* chore: tweak
2025-03-30 00:12:23 +08:00
pengzhanbo
6fd6c0c250
feat: improve demo vue scoped styles (#542) 2025-03-30 00:12:04 +08:00
pengzhanbo
9a07a8226b
feat(cli): add support pnpm@10 (#541) 2025-03-30 00:11:12 +08:00
pengzhanbo
6237446482
feat(plugin-md-power): add chat container syntax support (#537) 2025-03-30 00:10:45 +08:00
pengzhanbo
497fe23001 docs: fix markdown formatting and update snippet path in usage guide 2025-03-29 08:30:15 +08:00
zhenghaoyang24
6a8195684a
docs: change zhenghaoyang.top domain to zhenghaoyang.cn in demos (#543) 2025-03-28 18:24:32 +08:00
pengzhanbo
6b390dbd95 docs: update contributing 2025-03-27 21:57:29 +08:00
zhenghaoyang24
9f99ae3ca7
docs: add en markdown doc (#538)
* docs: add markdown-basic en

* docs: add markdown-extensions en

* docs: add markdown-icons en

* docs: add markdown-mark en , change file structure

* docs: update usage

* docs: add to markdown-caniuse en

* docs: add en docs markdown - import files

* docs: add en docs markdown - collapse

* chore: fix package lock file

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2025-03-27 21:06:53 +08:00
pengzhanbo
2f9ad84553 fix(theme): remove incorrect CommentService warning during dev 2025-03-26 09:42:39 +08:00
pengzhanbo
10541145e0 build: publish v1.0.0-rc.137 2025-03-24 01:05:48 +08:00
pengzhanbo
6235833e7f
refactor(theme): migrate contributors and changelog to @vuepress/plugin-git built-in component (#536) 2025-03-24 00:28:58 +08:00
pengzhanbo
9dd5a21676 chore(cli): update template 2025-03-23 20:06:59 +08:00
pengzhanbo
5b883a1396 docs: update changelog and contributors tips 2025-03-23 20:06:40 +08:00
pengzhanbo
cf5d8f9f58 chore: update tsconfig 2025-03-23 20:05:46 +08:00
pengzhanbo
82759121e6 perf: update deps to latest 2025-03-23 20:05:11 +08:00
pengzhanbo
cca923a235
feat(plugin-md-power): add collapse syntax support (#535) 2025-03-23 18:29:45 +08:00
pengzhanbo
dd5c984578
refactor(plugin-md-power): improve timeline syntax parsing (#534) 2025-03-23 00:40:34 +08:00
pengzhanbo
7b8fae22b1
perf(plugin-md-power): improve timeline syntax parsing (#533) 2025-03-22 17:33:31 +08:00
pengzhanbo
5173e7f2ed
feat(plugin-md-power): add timeline syntax support (#529) 2025-03-22 00:07:35 +08:00
pengzhanbo
de69b22dcc
fix(theme): copyright component active mismatch (#525) 2025-03-22 00:07:18 +08:00
pengzhanbo
e34690836b
feat(theme): improve log output (#526) 2025-03-22 00:07:00 +08:00
pengzhanbo
feb35b4307
fix(theme): incorrect markdown.hint default options (#530) 2025-03-22 00:06:42 +08:00
pengzhanbo
414e4fb433
feat(cli): update template with deploy nodejs version to 22 (#531) 2025-03-22 00:06:25 +08:00
pengzhanbo
4f5d37df6e docs: fix typo error 2025-03-21 13:38:36 +08:00
pengzhanbo
19c350fdda docs: fix inactive link 2025-03-21 13:37:59 +08:00
pengzhanbo
cb88227146 docs: fix link error 2025-03-17 16:52:16 +08:00
pengzhanbo
3c27c45e7e docs: update deploy node version to 22 2025-03-16 19:37:12 +08:00
pengzhanbo
bfd784467d ci: update release workflow 2025-03-16 14:20:59 +08:00
pengzhanbo
a64cc6e274 build: publish v1.0.0-rc.136 2025-03-16 14:16:17 +08:00
pengzhanbo
de7b25ed7c fix(theme): optimize mermaid 2025-03-16 13:01:55 +08:00
pengzhanbo
0fd6cac574
refactor(theme): improve types and flat config (#524)
* refactor(theme): improve types
2025-03-16 02:29:30 +08:00
pengzhanbo
3061c1085c
refactor(theme): improve repo-card fetch data (#521) 2025-03-12 23:39:31 +08:00
pengzhanbo
5a81b419c3
perf: improve nodejs version support (#520) 2025-03-12 23:39:13 +08:00
pengzhanbo
fb08a2dc10
feat(plugin-md-power): cleanup the env passed into renderInline (#519) 2025-03-12 23:38:58 +08:00
pengzhanbo
3d9361e2f1
feat: add title render support for code block (#522) 2025-03-12 23:38:43 +08:00
pengzhanbo
79d3ee6565 chore: update deps to latest 2025-03-09 20:48:38 +08:00
pengzhanbo
2b7bd41b8b chore: update CONTRIBUTING 2025-03-09 14:47:42 +08:00
pengzhanbo
2a3b79a602 chore: update SECURITY 2025-03-09 14:47:19 +08:00
zhenghaoyang24
a4ac3a30e0
docs: add en-US docs (#514)
* docs: translate README to English in homepage

* feat(docs): update hero-text in README

* docs: add readme_en

* feat(docs): add language jump in readme

* docs: update readme layout

* feat(docs): add CONTRIBUTION_EN and jump link

* docs: translate theme introduction

* docs: upgrade version to 135 , create 2 file

* docs: add icon, fix translation errors in intro, translate quick-start

* docs: translate quick start - write

* docs: fix jump link in write

* docs: translate document in quick start

* docs: translate international in quick start

* docs: translate deployment in quick start

* docs: translate optimize-build in quick start

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2025-03-09 11:14:47 +08:00
pengzhanbo
4cc290de28 docs: update sponsor 2025-03-08 08:55:44 +08:00
rand777
f8d74757ef
docs: add docs.pguide.studio demo (#516)
* Update demos.md

* Add files via upload
2025-03-08 08:52:25 +08:00
pengzhanbo
131225577e chore: update mpegts.js to 1.7.3 2025-03-05 18:22:49 +08:00
Mister-Hope
b8b32201ef
feat!: remove plugin-shikiji, migrate to @vuepress/plugin-shiki, close #489 (#508)
* feat: remove shiki plugin

* chore: tweak

* chore: tweak

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2025-03-05 12:36:53 +08:00
pengzhanbo
de5469201a chore: update pnpm onlyBuiltDependencies 2025-03-02 21:48:02 +08:00
pengzhanbo
0f3f1f0ba7 ci: update node version to 22 2025-03-02 21:44:51 +08:00
pengzhanbo
4e7c27a980 build: publish v1.0.0-rc.135 2025-03-02 12:50:18 +08:00
pengzhanbo
ed019cad06 fix: typo error 2025-03-02 12:48:18 +08:00
pengzhanbo
88701c2519 build: publish v1.0.0-rc.134 2025-03-02 12:31:34 +08:00
pengzhanbo
0f4db622f7 fix(plugin-md-power): incorrect parse image size 2025-03-02 12:15:56 +08:00
pengzhanbo
bfa6c6ac0e perf: update deps to latest 2025-03-02 12:03:11 +08:00
pengzhanbo
783bfc6583 feat(cli): add markdownImage into template 2025-03-02 11:28:15 +08:00
pengzhanbo
6e6f9af12c
docs: improve docs (#509)
* docs: improve docs

* chore: tweak

* chore: tweak
2025-03-02 11:26:45 +08:00
pengzhanbo
4227b8a91e
feat(theme): split the post cover field into cover and coverStyle (#512) 2025-03-02 11:25:58 +08:00
pengzhanbo
d4e76e0b0b
fix(theme): page should be in light mode while printing, close #502 (#503) 2025-03-02 00:07:39 +08:00
pengzhanbo
00a858761c
fix(theme): incorrect calculation of active link in the outline, close #492 (#501) 2025-03-02 00:07:18 +08:00
pengzhanbo
6e1992f811
fix(theme): incorrect toc display in 1200px screen (#500) 2025-03-02 00:06:56 +08:00
pengzhanbo
99ba7be92d
perf(plugin-md-power): improve code embed (#497) 2025-03-02 00:06:40 +08:00
pengzhanbo
5ee3bc4d2f
feat(plugin-md-power): add the same tab-id to the npm-to containers in the same group (#504) 2025-03-01 23:45:02 +08:00
pengzhanbo
7a515b7ba4
fix: abbr incorrectly appears in search results (#495)
* fix: `abbr` incorrectly appears in search results

* chore: tweak
2025-03-01 23:44:39 +08:00
pengzhanbo
b879c62442
feat(plugin-md-power): add multiple lines parse for annotation syntax (#496)
* feat(plugin-md-power): add multiple lines parse for `annotation` syntax

* chore: tweak
2025-03-01 23:44:21 +08:00
pengzhanbo
2505e7f623
fix: abbr incorrectly rendered in toc, close #488 (#494) 2025-03-01 23:44:01 +08:00
pengzhanbo
8608a716e6 docs: update contributing 2025-03-01 00:28:55 +08:00
Hoey
607aaf4533
fix(docs): incorrect rust icon display in dark mode
The previous rust icon was not clearly displayed in both dark and light modes
2025-02-27 12:22:15 +08:00
Paiad
901c3d5063
fix: modify search.css for better display (#499) 2025-02-26 13:03:21 +08:00
physnya
8b01067b96
Update demos.md (#487)
add my website
我是一名来自 THU 的物理系学生,这个网站是作为一个爱好运营的,希望您能够通过. 同时感谢您的 plume 主题!
2025-02-24 19:35:56 +08:00
pengzhanbo
a20e26d645 build: publish v1.0.0-rc.133 2025-02-24 10:08:48 +08:00
pengzhanbo
8c7c95a410 fix(plugin-search): incorrect search result keyword highlight styles 2025-02-24 10:06:31 +08:00
pengzhanbo
f0146608ff build: publish v1.0.0-rc.132 2025-02-24 09:10:40 +08:00
pengzhanbo
6f11b50bee perf: update deps to latest 2025-02-24 09:02:02 +08:00
pengzhanbo
d9cc70168e docs: update docs 2025-02-24 08:56:53 +08:00
pengzhanbo
4735ca7b97 feat: remove plugin-content-update, instead vuepress built-in api 2025-02-24 08:56:10 +08:00
pengzhanbo
2d24a61d7d chore: tweak 2025-02-24 08:54:13 +08:00
pengzhanbo
41116562fd chore: tweak 2025-02-24 00:52:29 +08:00
pengzhanbo
b153b90ce6 docs: update docs 2025-02-24 00:33:23 +08:00
pengzhanbo
1058de5774 perf(cli): update template 2025-02-24 00:28:48 +08:00
pengzhanbo
bc86a7d868 perf(theme): improve mark styles 2025-02-24 00:24:41 +08:00
pengzhanbo
3eaf2908c4
fix(theme): fix copyright link overflow due to excessive length (#486) 2025-02-23 02:35:52 +08:00
pengzhanbo
f8d32835df
feat(plugin-md-power): add Annotation syntax support (#483)
* feat(plugin-md-power): add `Annotation` syntax support

* chore: lint fix
2025-02-23 02:10:01 +08:00
pengzhanbo
1f0ec7feaf
feat(plugin-md-power): add support for abbr (#477) 2025-02-23 02:01:01 +08:00
pengzhanbo
fded7e807a
feat(theme): add type support for mark (#480) 2025-02-23 02:00:43 +08:00
pengzhanbo
ddc82895ab
fix(theme): incorrect context leading to failed theme config file hmr (#485) 2025-02-23 01:55:24 +08:00
pengzhanbo
4e0304e2a6
fix(theme): incorrect Algolia search result rendering, close #482 (#484) 2025-02-23 01:53:04 +08:00
pengzhanbo
a1c2a9b700
fix(plugin-search): incorrect local search results (#479) 2025-02-23 01:49:51 +08:00
pengzhanbo
4f998a16c3
fix(theme): fix rendering failure when actions is missing (#476) 2025-02-23 01:49:19 +08:00
pengzhanbo
49b37962e5
feat(theme): add width/height props to <VPImage> (#475)
* feat(theme): add `width/height` props to `<VPImage>`

* chore: tweak
2025-02-23 01:48:54 +08:00
RawDiamondMC
877ee4c55b
fix(docs): remove an incorrect link (#481) 2025-02-22 23:19:42 +08:00
李艺
9f2858e418
docs: add yishulun.com blog demo (#478)
* Update demos.md

* Add files via upload
2025-02-22 00:17:03 +08:00
pengzhanbo
662b369663 build: publish v1.0.0-rc.131 2025-02-16 15:37:01 +08:00
pengzhanbo
9a2e088119 perf: update deps to latest 2025-02-16 15:15:56 +08:00
pengzhanbo
e0ae83d321
perf(theme): improve footnote styles (#469) 2025-02-16 15:03:45 +08:00
pengzhanbo
b13f1725f1
perf: add vite optimize deps (#467) 2025-02-16 15:03:31 +08:00
pengzhanbo
29f9b87128
fix(theme): incorrect home hero actions layout in mobile (#464)
* fix(theme): incorrect home hero actions layout in mobile

* chore: tweak
2025-02-16 15:03:14 +08:00
pengzhanbo
b7ced3b501
refactor(theme): improve theme options (#463) 2025-02-16 15:02:57 +08:00
pengzhanbo
6442ffa25a
feat(theme): add doc-hero support for custom home (#462) 2025-02-16 15:02:26 +08:00
pengzhanbo
8dd860e570 docs: update demos 2025-02-13 16:35:15 +08:00
ar0m
6d36926b51
docs: add new demo entry for jindongjie (#466)
* docs: add new demo entry for jindongjie

* docs: fix demo entry missing url
2025-02-13 16:16:21 +08:00
Zhou Haoran
62c37b69f5
docs: add NcatBotDocsdemo (#465) 2025-02-13 13:27:21 +08:00
pengzhanbo
460510ef67 docs: update sponsor 2025-02-10 13:39:47 +08:00
pengzhanbo
48887d5094 build: publish v1.0.0-rc.130 2025-02-09 01:22:18 +08:00
pengzhanbo
06752c3d70 docs: update <Badge /> details 2025-02-09 01:14:45 +08:00
pengzhanbo
f8e6246841 style: lint fix 2025-02-09 01:01:29 +08:00
pengzhanbo
3bacc633f1 chore: update deps to latest 2025-02-09 01:00:40 +08:00
pengzhanbo
8631727ec3
feat(theme): add sidebarScrollbar options, close #425 (#460) 2025-02-09 00:42:36 +08:00
pengzhanbo
861512d402
perf(plugin-shikiji): improve twoslash (#459) 2025-02-09 00:20:32 +08:00
pengzhanbo
90db034671
feat(theme): add icon support for home hero actions (#456) 2025-02-08 14:47:57 +08:00
pengzhanbo
3017bd7a94
feat(theme): improve doc copyright link text (#457) 2025-02-08 14:47:40 +08:00
pengzhanbo
63a53d6c18 docs: update docs 2025-02-08 14:46:02 +08:00
小沐沐吖
a2282f51c6
feat(theme): add custom color support for badge components, close #453 (#455)
* feat(theme): add custom color support for badge components

* feat(theme): add custom color support for badge components

* feat(theme): add custom color support for badge components

* feat(theme): add custom color support for badge components

* feat(theme): add custom color support for badge components
2025-02-07 10:48:33 +08:00
pengzhanbo
6a8ba55bbf chore: update stylelint config 2025-02-01 00:51:30 +08:00
pengzhanbo
a40d5b49f2 docs: update sponsor 2025-01-31 14:32:55 +08:00
pengzhanbo
fe1ea1167d perf: update deps to latest 2025-01-31 00:48:11 +08:00
pengzhanbo
1de058f6ec docs: update sponsor 2025-01-29 23:21:00 +08:00
pengzhanbo
b6df5e1e1c style: lint fix 2025-01-29 23:18:18 +08:00
pengzhanbo
4ed2ed49a8
perf(plugin-search): improve search cache (#451) 2025-01-28 00:26:51 +08:00
pengzhanbo
149d31818f
fix(theme): improve force-dark in development (#450) 2025-01-28 00:26:36 +08:00
pengzhanbo
c703b89e1c
feat(plugin-md-power): improve normal demo sandbox (#448) 2025-01-28 00:26:21 +08:00
liuzhemax
58cc9aba20
docs: add azhe blog (#449)
* Add files via upload

* Update demos.md
2025-01-22 12:51:33 +08:00
pengzhanbo
425d4cabf5 build: publish v1.0.0-rc.129 2025-01-21 13:06:04 +08:00
pengzhanbo
df306e78bc perf: update deps to latest 2025-01-21 12:58:03 +08:00
pengzhanbo
30d1c046ff
fix(plugin-shikiji): incorrect render when whitespace:true, close #444 (#446) 2025-01-21 12:00:38 +08:00
pengzhanbo
363a0dd425
fix(theme): incorrect copyright author, close #443 (#445) 2025-01-21 12:00:23 +08:00
pengzhanbo
62c43d25ee
feat: improve built-in locales (#441) 2025-01-21 12:00:06 +08:00
pengzhanbo
4a39d39331
fix(plugin-md-power): incorrect rendering heading from demo in outline, close #423 (#431)
* fix(plugin-md-power): incorrect rendering heading from `demo` in `outline`, close #423

* chore: tweak
2025-01-21 11:59:50 +08:00
pengzhanbo
f81c011e6a
feat(cli): add site favicon template (#439) 2025-01-21 11:59:30 +08:00
pengzhanbo
8b9c50b0fe
perf(theme): improve bulletin enablePage (#438) 2025-01-21 11:59:15 +08:00
pengzhanbo
93a3da2934
feat(theme): add separator support for sidebar items, close #426 (#437) 2025-01-21 11:58:59 +08:00
pengzhanbo
b671875bcc
fix(theme): improve page aside layout, close #429 (#436) 2025-01-21 11:58:42 +08:00
pengzhanbo
0ce2754a34
fix(theme): improve code block scrollbar, close #427 (#435) 2025-01-21 11:58:25 +08:00
pengzhanbo
000299666d
fix(plugin-search): incorrect local search results (#434) 2025-01-21 11:58:06 +08:00
pengzhanbo
40bbb22487
fix(theme): fix flickering white border in bottom of home, close #424 (#433) 2025-01-21 11:57:46 +08:00
pengzhanbo
9c796c228f
fix(plugin-md-power): improve steps styles, close #422 (#432) 2025-01-21 11:57:23 +08:00
pengzhanbo
1dba45f04a build: publish v1.0.0-rc.128 2025-01-10 13:48:27 +08:00
pengzhanbo
62b66036a6 fix(plugin-md-power): fix demo temp generated 2025-01-10 13:46:30 +08:00
pengzhanbo
fac123b983 build: publish v1.0.0-rc.127 2025-01-10 12:55:08 +08:00
pengzhanbo
cb731d9041 perf: update deps to latest 2025-01-10 11:31:36 +08:00
pengzhanbo
a9f6bd0a0c
feat(plugin-md-power): add demo syntax (#415)
* feat(plugin-md-power): add `demo` syntax
2025-01-10 11:17:23 +08:00
pengzhanbo
11db9059c5 build: publish v1.0.0-rc.126 2025-01-05 21:37:39 +08:00
pengzhanbo
1db995c887
fix(theme): doc changelog mismatch (#413) 2025-01-05 21:20:48 +08:00
pengzhanbo
756cc54e80
fix(plugin-md-power): incorrect tabs styles (#412) 2025-01-05 21:20:26 +08:00
pengzhanbo
71aea89792
perf(plugin-md-power): optimize artplayer z-index (#411) 2025-01-05 21:19:49 +08:00
pengzhanbo
fe99eb9881 perf: update deps to latest 2025-01-05 21:19:04 +08:00
oh-yey
3458326d99
docs: add 𝕛𝕚𝕒𝕙𝕒𝕠'𝕤 𝕓𝕝𝕠𝕘 (#416) 2025-01-05 18:45:15 +08:00
QiHuang02
8c2349cb3e
docs: add QiHuang02 demo (#414) 2025-01-05 08:12:13 +08:00
pengzhanbo
caf39fa7ca chore: update deps 2025-01-05 05:40:23 +08:00
pengzhanbo
e21ed8355f chore: update pnpm-lock 2025-01-03 22:58:51 +08:00
pengzhanbo
55b62d72cb chore: improve stylelint config 2025-01-03 22:40:09 +08:00
pengzhanbo
e727f60606 docs: update docs 2024-12-31 22:38:10 +08:00
pengzhanbo
e81ae1a09c docs: update home 2024-12-30 01:11:10 +08:00
pengzhanbo
6b653a3650 build: publish v1.0.0-rc.125 2024-12-30 00:37:15 +08:00
pengzhanbo
afd2b05049 chore: update pnpm-lock 2024-12-30 00:33:03 +08:00
pengzhanbo
929e2ce59e perf: update vuepress deps to latest 2024-12-30 00:28:17 +08:00
pengzhanbo
4da8c75cc7 feat(theme): improve styles 2024-12-30 00:19:06 +08:00
pengzhanbo
59402b7a7e docs: update docs config 2024-12-30 00:18:38 +08:00
pengzhanbo
96d25a2df9 perf: update deps to latest 2024-12-29 00:52:37 +08:00
pengzhanbo
5b85cc91a8
perf(plugin-md-power): optimize plot rule (#408) 2024-12-29 00:39:59 +08:00
pengzhanbo
463bbd3fed
perf(plugin-md-power): optimize icon rule (#407) 2024-12-29 00:39:45 +08:00
pengzhanbo
045f131ba4
feat(cli): improve templates (#406) 2024-12-29 00:39:30 +08:00
pengzhanbo
8dff33a481
fix(theme): incorrect langs switch in blog page, close #404 (#405) 2024-12-29 00:39:14 +08:00
pengzhanbo
0205ec8681
feat(theme): improve doc styles (#402) 2024-12-29 00:38:58 +08:00
pengzhanbo
b5c7b0536d
test(plugin-md-power): add audioReader unit tests (#401) 2024-12-29 00:38:30 +08:00
suixinio
2e28989a09
docs: add ohmymc (#409) 2024-12-28 23:23:39 +08:00
pengzhanbo
712e78f144 chore: update docs config 2024-12-26 18:35:15 +08:00
suixinio
7c7dddaf06
fix(docs): notes/tools/README.md 404 (#400) 2024-12-26 02:01:05 +08:00
pengzhanbo
fb0c1a1b55 chore: update pnpm-lock 2024-12-25 17:51:44 +08:00
pengzhanbo
248826886a style: lint fix 2024-12-25 17:39:41 +08:00
pengzhanbo
2cd8bd493c chore: update eslint 2024-12-25 17:38:38 +08:00
pengzhanbo
5f9f84f35c build: publish v1.0.0-rc.124 2024-12-25 00:34:42 +08:00
pengzhanbo
ec3cf75f9c docs: update readme.md 2024-12-25 00:32:49 +08:00
pengzhanbo
ff8acf090c perf: update deps to latest 2024-12-25 00:30:50 +08:00
pengzhanbo
067d0e2264 docs: update doc 2024-12-25 00:30:24 +08:00
pengzhanbo
c276a77d4e
feat(plugin-md-power): add audioReader support (#398)
* feat(plugin-md-power): add `audioReader` support

* chore: tweak
2024-12-25 00:17:18 +08:00
pengzhanbo
0b7a955343
fix(theme): incorrect auto sidebar sorting (#399) 2024-12-25 00:16:33 +08:00
pengzhanbo
ef113f7df7 chore: update security.md 2024-12-24 15:54:49 +08:00
SnugglePuff
b8af2aaa92
docs: add city walk demos (#397)
* Update demos.md

提交citywalk 城市漫步网站案例

* fix: lint fix

---------

Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2024-12-23 23:41:21 +08:00
pengzhanbo
268e62d43b build: publish v1.0.0-rc.123 2024-12-23 23:17:50 +08:00
pengzhanbo
d3deac99fd feat(theme): improve config template 2024-12-23 23:12:15 +08:00
pengzhanbo
4e158964d2
fix(theme): incorrect link external parsing (#396) 2024-12-23 23:10:24 +08:00
pengzhanbo
f21c42a3c7 build: publish v1.0.0-rc.122 2024-12-22 14:24:25 +08:00
pengzhanbo
70dfe79c2a perf: update deps to latest 2024-12-22 14:16:05 +08:00
pengzhanbo
0e22ad0258 perf(theme): improve <ArtPlayer/ > 2024-12-22 13:43:14 +08:00
pengzhanbo
bd4c3506dc
feat(plugin-md-power): add artplayer support (#393)
* feat(plugin-md-power): add `artplayer` support

* docs: update docs

* test: add unit test
2024-12-22 00:28:01 +08:00
pengzhanbo
2557af8e01
fix(theme): incorrect font-synthesis and readingTime format (#394) 2024-12-22 00:27:38 +08:00
pengzhanbo
d261dc312a
fix(theme): incorrect sidebar auto sorting, close #387 (#389) 2024-12-22 00:26:56 +08:00
pengzhanbo
361ef45a0f
fix(theme): fix carousel swiper that stops unexpectedly during appearance switching (#385) 2024-12-22 00:11:21 +08:00
pengzhanbo
e9b6bce8e6
feat(theme): improve languages selector (#384) 2024-12-22 00:10:06 +08:00
pengzhanbo
a21d9ed0b5
feat(theme): improve auto-frontmatter error log (#383) 2024-12-22 00:09:34 +08:00
pengzhanbo
055bf6156c
feat(theme): improve link parsing (#382)
* feat(theme): improve link parsing

* chore: tweak
2024-12-22 00:08:53 +08:00
pengzhanbo
164e8843a2 docs: improve docs 2024-12-21 20:10:45 +08:00
小沐沐吖
d21410cb70
docs(docs): add 小沐沐吖 blog to demo page (#391) 2024-12-20 21:51:42 +08:00
pengzhanbo
f0b2190fe4
docs: improve docs (#390) 2024-12-20 14:47:32 +08:00
pengzhanbo
fce7faf54b docs: update tools docs 2024-12-17 00:10:39 +08:00
pengzhanbo
4d18728234 perf(theme): improve contributors styles 2024-12-17 00:10:21 +08:00
pengzhanbo
7a85035e97 docs: fix vuepress version tips 2024-12-17 00:08:35 +08:00
pengzhanbo
66c20e755b build: publish v1.0.0-rc.121 2024-12-15 15:00:38 +08:00
pengzhanbo
1d01d7c536
perf: update vuepress to rc.19 and deps to latest (#380) 2024-12-15 14:40:27 +08:00
pengzhanbo
d022114498 fix(theme): CardMasonry hydration mismatch 2024-12-15 14:24:10 +08:00
pengzhanbo
a93d53c77a
feat(theme): add <CardMasonry> support (#379) 2024-12-15 00:27:12 +08:00
pengzhanbo
e5d732bc79
feat(theme): add width/center props support for ImageCard (#378)
* feat(theme): add `width/center` props  support for `ImageCard`

* chore: tweak
2024-12-15 00:26:54 +08:00
pengzhanbo
a776852a8a
feat(theme): improve sidebar collapsed state (#377) 2024-12-15 00:26:37 +08:00
pengzhanbo
b5ca59d1fe
feat(theme): add location/organization configuration support for friends (#376) 2024-12-15 00:26:17 +08:00
pengzhanbo
801d1a6ac7
fix(theme): unexpectedly overlooked sidebar icon (#374) 2024-12-15 00:10:39 +08:00
pengzhanbo
71304ee160
fix(theme): incorrect link parsing in breadcrumb nav, close #369 (#373) 2024-12-15 00:10:15 +08:00
MoChenYa
52a9d15fee
docs: fix text typo (#375) 2024-12-12 12:22:29 +08:00
pengzhanbo
d298c2a60f docs: update sponsor 2024-12-09 19:51:28 +08:00
pengzhanbo
ea934efee7 build: publish v1.0.0-rc.120 2024-12-08 14:23:03 +08:00
pengzhanbo
f47df1449b docs: update docs 2024-12-08 13:05:24 +08:00
pengzhanbo
8d3930560a perf(theme): improve typo 2024-12-08 11:56:29 +08:00
pengzhanbo
829fab5508 feat(cli): update deps and template 2024-12-08 11:55:31 +08:00
pengzhanbo
611c2f7815 chore: update deps to latest 2024-12-08 11:48:11 +08:00
pengzhanbo
51ced760e5 docs: update docs 2024-12-08 11:47:15 +08:00
pengzhanbo
cdee6dc105
fix(theme): unformatted system sep cause auto frontmatter error (#370) 2024-12-07 05:44:37 +08:00
pengzhanbo
23b3db2abd
feat!: update deps and migrate markdown include to official plugin (#372) 2024-12-07 05:44:09 +08:00
pengzhanbo
e7ba5621f7
perf: optimize debug logs (#371) 2024-12-07 05:14:02 +08:00
pengzhanbo
54c460e2c9 docs: update sponsor 2024-12-07 02:23:09 +08:00
pengzhanbo
0393fc4169 docs: update sponsor 2024-12-03 22:49:37 +08:00
pengzhanbo
c375f3ae29 docs: update sponsor 2024-12-03 03:01:45 +08:00
pengzhanbo
a9c8d7dac3 chore: update pnpm lock 2024-12-02 01:15:39 +08:00
pengzhanbo
5e0cb36a65 docs: update contributors and changelog 2024-12-02 01:11:29 +08:00
pengzhanbo
d31fe6f9dd chore: tweak 2024-12-02 01:10:27 +08:00
pengzhanbo
5ed2ab0f0d docs: update sponsor 2024-12-02 01:10:15 +08:00
pengzhanbo
dc38c4a7c6 chore: pnpm catalog 2024-12-01 00:03:07 +08:00
pengzhanbo
03c50115ad docs: update sponsor 2024-12-01 00:02:02 +08:00
pengzhanbo
6068c7f73f build: publish v1.0.0-rc.119 2024-11-30 06:02:25 +08:00
pengzhanbo
597a199776 style: lint fix 2024-11-30 05:59:25 +08:00
pengzhanbo
1262d1a0b7 perf: update deps to latest 2024-11-30 05:59:04 +08:00
pengzhanbo
9906f1a4e2
feat(theme): improve locales (#366)
* chore: tweak

* feat(theme): improve locales
2024-11-30 05:31:14 +08:00
pengzhanbo
8b39248f96
perf(theme): improve types (#365) 2024-11-28 23:05:27 +08:00
pengzhanbo
6533332280
fix(theme): incorrect article copyright, close #362 (#363) 2024-11-28 00:09:21 +08:00
pengzhanbo
de2a5a3037
feat(theme): improve sidebar external link icon (#358) 2024-11-28 00:09:06 +08:00
pengzhanbo
c8afeef782
fix(theme): locales preset injection failed, close #354 (#356) 2024-11-28 00:08:51 +08:00
Yuqi Ding
bdb1fc5eb3
docs: delete /images/demos/dingyuqi.com.jpg (#361)
Delete image that no longer use.
2024-11-27 10:21:55 +08:00
Yuqi Ding
bb46f41eaa
docs: update demos.md (#360)
Replace static images with remote links.
2024-11-27 10:20:56 +08:00
pengzhanbo
d11dd2d12c
feat(theme): optimize cn font family (#357) 2024-11-26 13:54:26 +08:00
Jiawei Wang
980727e1c1
docs(docs): add PLUS-WAVE blog to demo page (#353)
Co-authored-by: pengzhanbo <volodymyr@foxmail.com>
2024-11-24 21:43:17 +08:00
zzyAJohn
4a5d72c92a
docs(docs): add blog to demo page (#352) 2024-11-24 21:39:01 +08:00
pengzhanbo
d0efd008d8 build: publish v1.0.0-rc.118 2024-11-23 00:43:56 +08:00
pengzhanbo
e258b96b84 chore: tweak 2024-11-23 00:41:50 +08:00
pengzhanbo
6bf06c985e perf: update deps to latest 2024-11-22 22:11:35 +08:00
pengzhanbo
f2f2730759
feat(theme): add support for seo & sitemap plugin options (#351) 2024-11-22 07:41:07 +08:00
pengzhanbo
49c896b8ce
feat(theme): add multiple locales preset (#347) 2024-11-22 07:40:53 +08:00
pengzhanbo
c09895ef1c
fix(plugin-shikiji): in copy-code, unknown locales fallback not set (#348) 2024-11-22 07:40:29 +08:00
ixyz
11b57c4f36
docs(docs): add blog to demo page (#350) 2024-11-21 17:47:51 +08:00
Hoey
7746b8dc25
docs:add demo hoeyzheng.top (#346)
* Add files via upload

* Update demos.md

docs:add demo hoeyzheng.top

* Delete docs/.vuepress/public/images/demos/hoeyzheng.top.png

* Add files via upload

* Delete docs/.vuepress/public/images/demos/hoeyzheng.top.png

* Add files via upload
2024-11-20 21:54:57 +08:00
pengzhanbo
6e037dcdc0
feat(theme): add support for article copyright (#345) 2024-11-20 19:52:17 +08:00
pengzhanbo
bdcb49661c build: publish v1.0.0-rc.117 2024-11-18 00:54:15 +08:00
pengzhanbo
50e8f4c7e2 perf: update deps to latest 2024-11-18 00:47:14 +08:00
pengzhanbo
04ada17d5f
feat(theme): add categories transform and improve ui (#342) 2024-11-18 00:42:13 +08:00
pengzhanbo
6f2d3958f4
perf(theme): improve image card title (#341) 2024-11-18 00:41:57 +08:00
pengzhanbo
77ef9c5589
perf(theme): optimize locales provide (#340) 2024-11-18 00:41:39 +08:00
pengzhanbo
64fe1e2cd7
feat(plugin-shikiji): improve prepare config file (#339) 2024-11-18 00:41:21 +08:00
pengzhanbo
c4438afaa5
feat(theme): add repo card cache (#338) 2024-11-18 00:40:58 +08:00
pengzhanbo
3a73312414 build: publish v1.0.0-rc.116 2024-11-11 19:05:06 +08:00
pengzhanbo
175173027d
feat(plugin-shikiji): add support for twoslashOptions (#335)
* feat(plugin-shikiji): add support for `twoslashOptions`

* chore: tweak
2024-11-11 14:58:41 +08:00
pengzhanbo
f3c4a061ce docs: improve frontmatter for changelog and contributing 2024-11-11 12:49:37 +08:00
pengzhanbo
f1778562c3 build: publish v1.0.0-rc.115 2024-11-10 00:35:06 +08:00
pengzhanbo
bbef6a8f18 fix(theme): incorrect ssr in dark-mode 2024-11-10 00:32:21 +08:00
pengzhanbo
b97b7f2e5f chore: update deps to latest 2024-11-10 00:18:17 +08:00
pengzhanbo
b36ebadcb8
feat(theme): optimize appearance transition, close #325 (#333) 2024-11-10 00:13:43 +08:00
pengzhanbo
b9f7340c25 perf(theme): optimize plugin-git default options 2024-11-09 00:53:03 +08:00
pengzhanbo
545e4832f6 chore: update dep to latest 2024-11-09 00:46:07 +08:00
pengzhanbo
0c53be8f10
docs: improve docs (#332) 2024-11-09 00:35:28 +08:00
pengzhanbo
ad700d6917 feat(theme): improve <VPImageCard> 2024-11-09 00:33:22 +08:00
pengzhanbo
a8f3df3619 feat(theme): add component <VPDocHeader> 2024-11-09 00:32:52 +08:00
pengzhanbo
1f003a42c4 perf(theme): improve CommentService 2024-11-08 23:42:34 +08:00
pengzhanbo
bf35ec11d3
feat(theme): add archive article count, close #326 (#330) 2024-11-08 16:19:11 +08:00
pengzhanbo
08a2d6107f
feat(theme): add changelog and improve contributors, close #319 (#329) 2024-11-08 12:17:25 +08:00
pengzhanbo
7685f24525
fix(plugin-search): search result navigation failed (#323) 2024-11-05 10:42:20 +08:00
pengzhanbo
23404a8b56 chore: update .gitattributes 2024-11-04 23:24:23 +08:00
pengzhanbo
30603d0097 docs: fix incorrect link 2024-11-04 22:51:09 +08:00
pengzhanbo
13d4cb1065 docs: update sponsor 2024-11-04 22:50:45 +08:00
pengzhanbo
6a141ff202 build: publish v1.0.0-rc.114 2024-11-01 01:24:35 +08:00
pengzhanbo
de6f70ce6c docs: update sponsor 2024-10-31 20:40:47 +08:00
pengzhanbo
6ea670c16a docs: improve docs 2024-10-31 12:09:38 +08:00
pengzhanbo
436a818c2e perf: update deps to latest 2024-10-31 11:39:10 +08:00
pengzhanbo
e87a245e85 docs: update sponsor 2024-10-31 10:04:58 +08:00
pengzhanbo
960b2ca65a refactor(theme): improve node extends page 2024-10-31 04:24:58 +08:00
pengzhanbo
e74130c19d
fix(theme): incorrect date format, close #317 (#321) 2024-10-31 01:53:39 +08:00
pengzhanbo
7adc10b71e chore: add .idea to ignore 2024-10-31 01:51:28 +08:00
pengzhanbo
30d707036e
perf: improve markdown container plugin (#320)
* perf: improve markdown container plugin

* chore: add unit test

* chore: improve styles
2024-10-31 01:42:54 +08:00
pengzhanbo
611f625185 chore: remove preview 2024-10-29 10:18:25 +08:00
pengzhanbo
a36cd5b8ae docs: update docs 2024-10-26 01:57:19 +08:00
pengzhanbo
d52a77e808 docs: update changelog 2024-10-26 01:40:50 +08:00
pengzhanbo
6898acb46f docs: update demos 2024-10-26 01:40:13 +08:00
pengzhanbo
23d70a66bb build: publish v1.0.0-rc.113 2024-10-26 01:26:19 +08:00
pengzhanbo
bc53f1d82e chore: update deps to latest 2024-10-26 01:12:19 +08:00
pengzhanbo
3390b49c1f perf(theme): improve breadcrumb seo 2024-10-26 01:12:00 +08:00
pengzhanbo
97b59bfc76
fix(theme): incorrect time format, close #312 (#314) 2024-10-26 01:05:13 +08:00
小屠
f714a0c648
Update demos.md (#311) 2024-10-25 19:16:47 +08:00
pengzhanbo
4237310560
fix(theme): incorrect layer for LinkCard icon, close #310 (#313) 2024-10-25 19:15:35 +08:00
pengzhanbo
b98f46a914
fix(theme): incorrect auto generate sidebar, close #307 (#308) 2024-10-24 00:55:01 +08:00
pengzhanbo
4591a3e1cc chore: update docs config 2024-10-24 00:50:23 +08:00
pengzhanbo
ea898f4fc0 perf: update deps to latest 2024-10-24 00:48:06 +08:00
pengzhanbo
e4b418104d docs: update sponsor 2024-10-24 00:46:42 +08:00
pengzhanbo
8e1d950644 docs: update sponsor 2024-10-23 17:06:07 +08:00
pengzhanbo
bde63d9844 docs: update docs 2024-10-23 17:05:47 +08:00
pengzhanbo
931b698b19 docs: update docs 2024-10-22 13:17:59 +08:00
pengzhanbo
a394624538 docs: update docs 2024-10-22 03:55:00 +08:00
pengzhanbo
ec0bc9977f build: publish v1.0.0-rc.112 2024-10-22 03:47:51 +08:00
pengzhanbo
eadbc76082 chore: tweak 2024-10-22 03:45:03 +08:00
pengzhanbo
ef78eeab7a
fix(theme): incorrect home hero background styles, close #304 (#305) 2024-10-22 03:23:06 +08:00
pengzhanbo
91f26e77a2 docs: optimize demos assets 2024-10-22 03:19:03 +08:00
pengzhanbo
d9f2bd61ae docs: update docs 2024-10-21 19:06:16 +08:00
Alex
a56cf914b8
docs: add demos dingyuqi.com (#302) 2024-10-21 18:50:44 +08:00
Alex
43d9c09db7
docs: add demos dingyuqi.com assets (#300) 2024-10-21 18:49:43 +08:00
pengzhanbo
1bb314f245 docs: update docs 2024-10-21 18:41:57 +08:00
pengzhanbo
561d8eb3c0 perf: update deps to latest 2024-10-21 17:27:58 +08:00
pengzhanbo
bcb45a1be8 docs: update sponsor 2024-10-21 17:27:36 +08:00
pengzhanbo
b6d0f67f2b docs: update docs 2024-10-21 01:44:43 +08:00
pengzhanbo
7c779b237f
feat(theme): add support for bulletin, close #280 (#298)
* feat(theme): add support for bulletin, close #280

* chore: tweak
2024-10-21 00:20:57 +08:00
pengzhanbo
3f7fa4133c
feat(theme): add footer-content slot (#299) 2024-10-21 00:20:29 +08:00
pengzhanbo
8154a4f55c build: publish v1.0.0-rc.111 2024-10-18 13:09:20 +08:00
pengzhanbo
f006c41be8
perf: update deps to latest (#295)
* perf: update deps to latest

* chore: tweak
2024-10-18 12:59:18 +08:00
pengzhanbo
be9333271d
test: update unit test (#294) 2024-10-18 12:52:15 +08:00
pengzhanbo
f4cc4529b8
fix(theme): silent sass @import deprecation warning, close #291 (#293) 2024-10-18 12:48:18 +08:00
pengzhanbo
38e6009fda
fix(theme): incorrect breadcrumb when blog home (#292) 2024-10-18 12:33:16 +08:00
pengzhanbo
cb9d7f18ed
fix(theme): blog cover hydration mismatch in mobile (#290) 2024-10-17 00:24:41 +08:00
pengzhanbo
1b5d9daaa9
perf(theme): improve build template (#289) 2024-10-17 00:16:50 +08:00
pengzhanbo
33328eabff docs: update readme 2024-10-16 01:28:03 +08:00
pengzhanbo
67ce159da0 chore: update contributing 2024-10-16 01:27:43 +08:00
pengzhanbo
0313a8e00e build: publish v1.0.0-rc.110 2024-10-15 18:37:45 +08:00
pengzhanbo
5f626ae369 docs: update sponsor 2024-10-15 18:37:26 +08:00
pengzhanbo
4cb44704de
chore: improve build scripts (#288) 2024-10-15 18:20:45 +08:00
pengzhanbo
49c281dd79 docs: update docs 2024-10-15 18:18:54 +08:00
pengzhanbo
8e06a4450f
fix(theme): incorrect prepared with tags's temp files, close #286 (#287) 2024-10-15 18:17:14 +08:00
pengzhanbo
35e85c5fb4 chore: improve types 2024-10-15 03:42:21 +08:00
pengzhanbo
7e69d5d838 build: publish v1.0.0-rc.109 2024-10-15 01:42:44 +08:00
pengzhanbo
e01ba19fce test: update unit test 2024-10-15 01:35:01 +08:00
pengzhanbo
b8f43267ad perf: update deps to latest 2024-10-15 00:39:40 +08:00
pengzhanbo
ae92e59c89 chore: update changelog 2024-10-14 14:46:45 +08:00
pengzhanbo
6ad30d15a2 docs: update docs 2024-10-14 13:14:14 +08:00
pengzhanbo
a7595025b7
feat(theme): add support for tags color themes (#284) 2024-10-14 13:12:31 +08:00
pengzhanbo
aa638a864f
feat(theme): add support for whether to display createTime, close #279 (#282)
* feat(theme): add support for whether to display `createTime`, close #279

* docs: update docs
2024-10-14 01:25:49 +08:00
pengzhanbo
e347537986
feat(theme): reduce the line spacing in the category list (#281) 2024-10-14 01:25:30 +08:00
pengzhanbo
bf565cc256
test: add unit test (#277) 2024-10-13 15:25:00 +08:00
pengzhanbo
b09122e1b3
feat(theme): improve loading config file (#276) 2024-10-13 15:24:35 +08:00
MarkChai
c4025cb489
fix(theme): fix grammar mistakes in site footer (#274)
* [Fix] Fix Grammar mistake in zh footer

* [Fix] Fix Grammar mistake in en footer
2024-10-13 15:24:11 +08:00
pengzhanbo
c6907dfe74
feat(theme): add support for blog category expand depth, close #271 (#275) 2024-10-13 15:23:50 +08:00
pengzhanbo
c32dd3eb93
fix(theme): incorrect page layout when navbar: false, close #270 (#273) 2024-10-13 15:23:29 +08:00
pengzhanbo
2e4c544879 build: publish v1.0.0-rc.108 2024-10-12 16:07:37 +08:00
pengzhanbo
f3b6d3c2f4 style: lint fix 2024-10-12 16:01:53 +08:00
pengzhanbo
b8c1b68519 perf: update deps to latest 2024-10-12 16:01:41 +08:00
pengzhanbo
c589252ea7 docs: update docs 2024-10-12 15:40:22 +08:00
pengzhanbo
9ef85fe858
fix(theme): incorrect anchor link scrolling, close #266 (#268) 2024-10-12 15:04:18 +08:00
pengzhanbo
012cbafaaf
fix(plugin-search): incorrect page path when configuring base, close #265 (#267) 2024-10-12 15:02:53 +08:00
pengzhanbo
2b5c0dfc80 docs: add test coverage report badge 2024-10-12 02:48:20 +08:00
pengzhanbo
ecfcbd8850 ci: update test workflow 2024-10-12 02:27:31 +08:00
pengzhanbo
4464703b7b
test: add unit test (#262)
* test: add unit test

* chore: tweak

* chore: tweak
2024-10-12 02:09:15 +08:00
pengzhanbo
f655249b07 docs: update docs 2024-10-10 18:06:29 +08:00
pengzhanbo
2dd8d239ce perf(theme): improve types 2024-10-10 18:06:11 +08:00
pengzhanbo
452500d391 build: publish v1.0.0-rc.107 2024-10-09 01:20:02 +08:00
pengzhanbo
eb58c60743 perf: update deps to latest 2024-10-09 01:11:39 +08:00
pengzhanbo
7913caee50
refactor(theme): improve headers active anchor (#258) 2024-10-09 00:37:53 +08:00
pengzhanbo
3fe7497df1
fix(theme): back-to-top hydration Mismatch (#257) 2024-10-08 20:43:53 +08:00
pengzhanbo
b721bf08f9
feat(plugin-md-power): add support npm-to container (#256)
* feat(plugin-md-power): add support `npm-to` container

* chore: tweak

* chore: tweak

* chore: tweak
2024-10-08 18:57:59 +08:00
pengzhanbo
08eeac7cb8
fix(cli): incorrect yarn project creation process, close #254 (#255)
* fix(cli): incorrect `yarn` project creation process, close #254

* chore: tweak
2024-10-08 11:46:34 +08:00
pengzhanbo
6d918ca7b8
perf(theme): improve scroll behavior (#253) 2024-10-04 11:13:36 +08:00
pengzhanbo
cd533d6f02 build: publish v1.0.0-rc.106 2024-10-03 09:35:41 +08:00
pengzhanbo
5509bf460c
fix(theme): incorrect task list style in mobile, close #247 (#252) 2024-10-03 09:27:29 +08:00
pengzhanbo
6fac619031
perf(plugin-md-power): add unset languages warning (#251) 2024-10-03 09:27:14 +08:00
pengzhanbo
f0ea849072
refactor(cli): improve package.json generate (#250) 2024-10-03 09:26:58 +08:00
pengzhanbo
45b2a36798
feat(theme): add attr name for navbar social icon (#249) 2024-10-03 09:26:44 +08:00
pengzhanbo
2a355705ff
feat(theme): add fs cache for encrypt and icons (#248) 2024-10-03 09:26:28 +08:00
pengzhanbo
a6079d69ae build: publish v1.0.0-rc.105 2024-10-02 01:41:58 +08:00
pengzhanbo
1444af6533
perf(theme): improve findConfigPath (#246) 2024-10-02 01:30:17 +08:00
pengzhanbo
84c1ae39a1
perf(theme): add debug log (#245) 2024-10-02 01:30:03 +08:00
pengzhanbo
341267b37e
perf(theme): improve types (#244) 2024-10-02 01:29:49 +08:00
pengzhanbo
5d112d0e37
feat(plugin-shikiji): auto scan code blocks language (#243) 2024-10-02 01:29:28 +08:00
pengzhanbo
5115791aa7
perf(cli): improveconfig.ts template (#242) 2024-10-02 01:29:11 +08:00
pengzhanbo
ae20e24fe2 docs: update docs config 2024-10-02 01:28:17 +08:00
pengzhanbo
e2421a0c92
perf: update deps to latest (#241) 2024-10-02 01:13:04 +08:00
pengzhanbo
c177fd6917
docs: improve docs (#240) 2024-10-01 01:26:54 +08:00
pengzhanbo
1e076fea5a
perf(theme): improve <VPLink> (#239) 2024-10-01 01:26:37 +08:00
pengzhanbo
8a0b0e7092
perf(plugin-md-power): improve file-tree attrs parsing (#238) 2024-10-01 01:26:18 +08:00
pengzhanbo
1db43196aa
perf(plugin-md-power): use engine instead of loadWasm in codeEditor (#237) 2024-10-01 01:25:55 +08:00
pengzhanbo
25c4a78767
feat(cli): add github page deploy desc to templates (#236) 2024-10-01 01:25:03 +08:00
pengzhanbo
713e7bcc2a
feat(cli): add cli error logs (#235) 2024-10-01 01:24:32 +08:00
pengzhanbo
ebef7e6031 chore: update sponsor 2024-09-27 10:17:58 +08:00
pengzhanbo
c2fcb3279e build: publish v1.0.0-rc.104 2024-09-27 09:06:36 +08:00
pengzhanbo
1ba44572e6 perf: update deps to latest 2024-09-27 09:02:48 +08:00
pengzhanbo
2f73602883
docs: improve docs (#226) 2024-09-27 08:49:47 +08:00
pengzhanbo
da64267432
feat(theme): add support frontmatter excerpt for blog post, close #218 (#224) 2024-09-27 08:41:27 +08:00
pengzhanbo
a63ac17513
perf(theme): improve theme exports, close #215 (#221) 2024-09-27 08:40:59 +08:00
pengzhanbo
3c5c0272d2
perf(theme): improve prepare pages watch (#225) 2024-09-27 08:40:40 +08:00
pengzhanbo
b2224d33d4
feat(theme): add target/rel attrs to hero actions (#223) 2024-09-27 08:40:22 +08:00
pengzhanbo
fe3945ccc3
perf(theme): improve auto-frontmatter cache (#222) 2024-09-27 08:40:06 +08:00
pengzhanbo
117522969e
perf(cli): update templates (#220) 2024-09-27 08:39:47 +08:00
pengzhanbo
b0a6736d05
ci: add issue template (#219) 2024-09-26 10:06:35 +08:00
pengzhanbo
ecbb1f1552
Create CODE_OF_CONDUCT.md 2024-09-26 09:12:05 +08:00
pengzhanbo
af603fcaf6
Create SECURITY.md 2024-09-26 09:04:59 +08:00
pengzhanbo
9e042a637b build: publish v1.0.0-rc.103 2024-09-26 00:56:55 +08:00
pengzhanbo
3998c7edb2 perf(cli): update css template 2024-09-26 00:49:21 +08:00
pengzhanbo
ce5acd750b chore: update deps to latest 2024-09-26 00:48:56 +08:00
pengzhanbo
769fc3d414 Merge branch 'optional-icons' 2024-09-26 00:20:23 +08:00
pengzhanbo
ca21d1b8cb
feat: add support optional icon for file-tree and code-tabs (#216)
* feat(theme)!: migrate `plugin-markdown-hint`

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* fix(theme): improve `home-blog` styles in mobile, close #210

* chore: tweak

* chore: tweak

* chore: tweak

* feat: add support optional icon for `file-tree` and `code-tabs`

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak
2024-09-26 00:14:06 +08:00
pengzhanbo
49672724eb
feat(theme)!: migrate plugin-md-enhance to official plugins (#206)
* feat(theme)!: migrate `plugin-markdown-hint`

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* fix(theme): improve `home-blog` styles in mobile, close #210

* chore: tweak

* chore: tweak
2024-09-26 00:06:23 +08:00
pengzhanbo
269c0db965 chore: tweak 2024-09-26 00:05:57 +08:00
pengzhanbo
4644765090 chore: tweak 2024-09-25 23:41:34 +08:00
pengzhanbo
6504493b61 chore: tweak 2024-09-25 13:37:39 +08:00
pengzhanbo
1beb8ddf6e chore: tweak 2024-09-25 13:23:56 +08:00
pengzhanbo
eff4ec3a1a feat: add support optional icon for file-tree and code-tabs 2024-09-25 13:22:47 +08:00
pengzhanbo
43d3e56230 chore: tweak 2024-09-25 03:37:41 +08:00
pengzhanbo
88d90743dc Merge branch 'main' into migrate-md-enhance 2024-09-24 22:57:17 +08:00
pengzhanbo
6a3c64326a
perf(theme): silence sass deprecations legacy-js-api (#214) 2024-09-24 22:53:51 +08:00
pengzhanbo
52c954a27a
fix(theme): incorrect appearance scripts in head, close #211 (#213) 2024-09-24 22:53:36 +08:00
pengzhanbo
c8089f54a5
fix(theme): improve home-blog styles in mobile, close #210 (#212) 2024-09-24 22:53:22 +08:00
pengzhanbo
64bf308e2f chore: tweak 2024-09-24 22:42:53 +08:00
pengzhanbo
39f920f6f8 chore: tweak 2024-09-24 02:02:34 +08:00
pengzhanbo
36e311c301 fix(theme): improve home-blog styles in mobile, close #210 2024-09-24 00:12:57 +08:00
pengzhanbo
e421cb6dc3 chore: tweak 2024-09-23 23:47:45 +08:00
pengzhanbo
b9ba65bc8d build: publish v1.0.0-rc.102 2024-09-23 12:40:57 +08:00
pengzhanbo
5c9af763bd docs: update sponsor 2024-09-23 12:39:09 +08:00
pengzhanbo
1e779a7b86 chore: tweak 2024-09-23 12:26:17 +08:00
pengzhanbo
b85a9e7a01 chore: tweak 2024-09-23 12:21:43 +08:00
pengzhanbo
9c6fccd53c chore: tweak 2024-09-23 12:08:30 +08:00
pengzhanbo
ff5508b313 chore: tweak 2024-09-23 12:02:26 +08:00
pengzhanbo
d7b697870c chore: tweak 2024-09-23 11:58:50 +08:00
pengzhanbo
f2213f807b chore: tweak 2024-09-23 07:27:48 +08:00
pengzhanbo
a1a30e70b1 chore: tweak 2024-09-23 06:56:38 +08:00
pengzhanbo
174f7f00d9 chore: tweak 2024-09-23 05:30:44 +08:00
pengzhanbo
d84c4d90bf chore: tweak 2024-09-23 05:23:55 +08:00
pengzhanbo
e05634d3f4 Merge branch 'main' into migrate-md-enhance 2024-09-23 04:08:36 +08:00
pengzhanbo
b8485cb369
docs: improve doc (#209) 2024-09-23 04:02:32 +08:00
pengzhanbo
a11166de6e
fix(theme): sidebar prefix validation completion (#208) 2024-09-23 04:02:21 +08:00
pengzhanbo
04f488e349
fix(cli): intermittent dependency installation failure (#207) 2024-09-23 04:02:08 +08:00
pengzhanbo
0056a961db feat(theme)!: migrate plugin-markdown-hint 2024-09-22 10:40:17 +08:00
pengzhanbo
2cf606b1de
perf(plugin-md-power): optimize structure (#204) 2024-09-22 07:57:49 +08:00
pengzhanbo
ce921e209d
feat!: apply vuepress official guidelines (#203) 2024-09-22 01:28:13 +08:00
pengzhanbo
533898e3a6
perf: update vuepress deps to latest (#202) 2024-09-21 22:01:40 +08:00
pengzhanbo
e86b8d81df style: lint fix 2024-09-21 07:11:20 +08:00
pengzhanbo
003ef01a57 chore: update eslint deps and eslint config 2024-09-21 07:10:59 +08:00
pengzhanbo
c83a2e081f build: publish v1.0.0-rc.101 2024-09-21 06:24:43 +08:00
pengzhanbo
01a3abf28f perf: update deps to latest 2024-09-21 06:19:26 +08:00
pengzhanbo
1d7233d44c
docs: update blog and notes docs (#199) 2024-09-21 06:14:59 +08:00
pengzhanbo
ef34b915b0
perf(theme): optimize blog layout (#198) 2024-09-21 06:14:42 +08:00
pengzhanbo
defa4d28ce
perf(plugin-md-power): support more file-tree icons (#197) 2024-09-21 00:56:44 +08:00
pengzhanbo
39ad1c56d2
feat(theme): add support post cover for blog post list (#196) 2024-09-20 19:42:09 +08:00
pengzhanbo
bf672279c4
perf(theme): replace file-tree icons with colored icons (#194) 2024-09-19 20:29:23 +08:00
pengzhanbo
8f6057adb0 build: publish v1.0.0-rc.100 2024-09-18 21:55:30 +08:00
pengzhanbo
ecee1cfe2a fix(theme): incorrect auto-frontmatter cache check 2024-09-18 21:54:05 +08:00
pengzhanbo
1985a27579 build: publish v1.0.0-rc.99 2024-09-18 21:45:30 +08:00
pengzhanbo
474ee6f0a0 perf: update deps to latest 2024-09-18 21:43:40 +08:00
pengzhanbo
89b2601ec7
docs: improve docs (#192) 2024-09-18 21:33:41 +08:00
pengzhanbo
1c40b25cfa
perf(theme): optimize scroll-padding-top (#191) 2024-09-18 19:57:00 +08:00
pengzhanbo
c2ec990c35
fix(theme): incorrect render remote iconify icon (#190) 2024-09-18 19:49:24 +08:00
二猫子
22e9abe2e0
docs: 增加博客案例 ermao.net (#187) 2024-09-17 17:57:15 +08:00
pengzhanbo
3e9ef80e3e
feat(theme): add support iconify for home features icon (#186) 2024-09-17 04:33:23 +08:00
pengzhanbo
5b5409d2ef
perf(theme): optimize the startup time of auto-frontmatter (#185) 2024-09-17 00:30:59 +08:00
pengzhanbo
4907bf4b29
perf(cli): optimize github actions deploy (#184) 2024-09-16 02:38:18 +08:00
pengzhanbo
b99d926c0b
feat(theme): add page title badge (#183) 2024-09-16 02:35:49 +08:00
pengzhanbo
db28c8bd8c
feat(theme): add support layout for blog profile (#182) 2024-09-16 02:32:15 +08:00
pengzhanbo
5f0dd0dfa2
ci: deploy docs to github-pages branch (#181) 2024-09-16 00:48:26 +08:00
pengzhanbo
0f1ffc7532
perf(plugin-md-power): optimize collapsed-lines (#180) 2024-09-15 02:13:49 +08:00
pengzhanbo
be47c9a025
fix(plugin-md-power): incorrect empty tree node (#179) 2024-09-14 23:02:34 +08:00
pengzhanbo
409bd6c3e3
Merge pull request #174 from pengzhanbo/fix-external-icon
fix(theme): incorrect external icon
2024-09-13 19:37:45 +08:00
pengzhanbo
fcb2ca4507 perf(theme): optimize deps include swiper 2024-09-13 19:09:03 +08:00
pengzhanbo
7dc63192c8 fix(theme): incorrect external icon 2024-09-13 19:01:38 +08:00
pengzhanbo
fe1329779c build: publish v1.0.0-rc.98 2024-09-13 01:50:45 +08:00
pengzhanbo
a93b50dd34 chore: add swiper to optional peerDependencies 2024-09-13 01:48:38 +08:00
pengzhanbo
24920486cb
Merge pull request #171 from pengzhanbo/perf-docs
feat(plugin-md-power): add support remote image in `imageSize`
2024-09-13 01:43:42 +08:00
pengzhanbo
8ccc64c009 docs: update docs 2024-09-13 01:38:19 +08:00
pengzhanbo
7ac20d29af docs: update docs 2024-09-13 00:48:31 +08:00
pengzhanbo
28e718d71e chore: update deps to latest 2024-09-13 00:41:49 +08:00
pengzhanbo
85b9d774fe docs: update docs 2024-09-13 00:41:28 +08:00
pengzhanbo
272b921168 feat(theme): add support <Swiper> 2024-09-13 00:07:27 +08:00
pengzhanbo
bde059ac3a perf(theme): optimize blog layout 2024-09-12 02:22:58 +08:00
pengzhanbo
cd6edc89a5 perf(plugin-md-power): add support file-tree title 2024-09-11 22:12:52 +08:00
pengzhanbo
3a787897ab perf(theme): optimize profile avatar 2024-09-11 02:26:35 +08:00
pengzhanbo
3760b359e8 perf(plugin-md-power): optimize imageSize 2024-09-11 02:25:55 +08:00
pengzhanbo
520dce22c1 style: lint fix 2024-09-11 00:03:13 +08:00
pengzhanbo
89e0cb04e8 chore: update deps 2024-09-11 00:02:49 +08:00
pengzhanbo
7c2e3d9f39 docs: update docs 2024-09-10 16:47:32 +08:00
pengzhanbo
ab7d368485 perf(theme): default page title 2024-09-10 16:47:18 +08:00
pengzhanbo
be47414c16 feat(plugin-md-power): add support remote image in imageSize 2024-09-10 16:46:58 +08:00
pengzhanbo
2ac70ebdd1 feat(cli): add packageManager to packageJson template 2024-09-10 16:46:21 +08:00
pengzhanbo
84c7722cf8
Merge pull request #168 from TheCoderAlex/main
修复Github Action部署失败
2024-09-09 11:19:12 +08:00
TheCoderAlex
a557e4d111 fix npm deployment 2024-09-09 10:27:46 +08:00
pengzhanbo
34a1d7a19c build: publish v1.0.0-rc.97 2024-09-09 00:44:03 +08:00
pengzhanbo
6724466c84
Merge pull request #167 from pengzhanbo/perf-docs
feat(plugin-md-power): add imageSize plugin
2024-09-09 00:24:20 +08:00
pengzhanbo
03b4daab3c docs: update docs 2024-09-09 00:18:32 +08:00
pengzhanbo
3d3b49da57 fix(theme): incorrect scroll behavior when route.hash changed 2024-09-09 00:18:07 +08:00
pengzhanbo
1d09eb4183 feat(plugin-md-power): add imageSize plugin 2024-09-09 00:16:46 +08:00
pengzhanbo
33132297e1 perf: update deps to latest 2024-09-09 00:15:45 +08:00
pengzhanbo
eaa0b466ac perf(cli): update templates 2024-09-07 13:20:14 +08:00
pengzhanbo
ee33ed946a build: publish v1.0.0-rc.96 2024-09-06 01:51:45 +08:00
pengzhanbo
74f1e20d13 perf: update deps to latest 2024-09-06 01:50:25 +08:00
pengzhanbo
15a2e4fc81 fix(theme): incorrect internal link 2024-09-06 01:48:11 +08:00
pengzhanbo
6ec660ba3e build: publish v1.0.0-rc.95 2024-09-06 01:32:31 +08:00
pengzhanbo
e08cad3f9e
Merge pull request #166 from pengzhanbo/perf-theme
fix(theme): incorrect internal link
2024-09-06 01:27:24 +08:00
pengzhanbo
430c40c3b0 perf(plugin-shikiji): update twoslash 2024-09-06 01:21:44 +08:00
pengzhanbo
811f7f4361 perf(theme): optimize internal link 2024-09-06 01:21:16 +08:00
pengzhanbo
27b6f70b91 chore: update eslint config 2024-09-06 00:18:12 +08:00
pengzhanbo
4fcbd5511e style: lint fix 2024-09-06 00:17:53 +08:00
pengzhanbo
aeee0ec8de fix(theme): incorrect internal link 2024-09-06 00:17:13 +08:00
pengzhanbo
2fd8da5b7c build: publish v1.0.0-rc.94 2024-09-04 00:55:37 +08:00
pengzhanbo
bc527fdd4d
Merge pull request #163 from pengzhanbo/perf-blog
feat(theme): add support blog as home page
2024-09-04 00:53:00 +08:00
pengzhanbo
0e9e1e7900 perf: update vue to 3.5 2024-09-04 00:50:04 +08:00
pengzhanbo
c5216e122d fix(plugin-md-power): hydration errors 2024-09-04 00:49:27 +08:00
pengzhanbo
0c7e900da8 chore: update package lock 2024-09-04 00:39:19 +08:00
pengzhanbo
30adbecc8c docs: update docs 2024-09-04 00:33:56 +08:00
pengzhanbo
f60e4ea63e feat(theme): add support blog as home page 2024-09-03 11:19:02 +08:00
pengzhanbo
ccbfc16db5 chore: remove unnecessary code 2024-09-03 11:17:22 +08:00
pengzhanbo
585d8112c6 build: publish v1.0.0-rc.93 2024-09-02 00:17:49 +08:00
pengzhanbo
3316ee5ebd
Merge pull request #162 from pengzhanbo/file-tree
feat(plugin-md-power): add support file-tree container
2024-09-02 00:11:21 +08:00
pengzhanbo
ef2bda65a1 perf: update deps to latest 2024-09-02 00:07:36 +08:00
pengzhanbo
bf9ef6372a docs: update docs 2024-09-02 00:03:15 +08:00
pengzhanbo
29326ec381 chore: tweak 2024-09-01 21:42:32 +08:00
pengzhanbo
90612c27fe chore: tweak 2024-09-01 19:18:10 +08:00
pengzhanbo
022719529e fix(theme): incorrect match page title 2024-09-01 11:41:33 +08:00
pengzhanbo
db5d81677f feat(plugin-md-power): add support file-tree container 2024-09-01 11:40:50 +08:00
pengzhanbo
cffb935b4f fix(cli): incorrect command hint 2024-09-01 11:12:49 +08:00
pengzhanbo
80d4b122b4 build: publish v1.0.0-rc.92 2024-08-31 00:12:39 +08:00
pengzhanbo
2376379772
Merge pull request #160 from pengzhanbo/perf-ui
fix(cli): incorrect exec context
2024-08-31 00:07:17 +08:00
pengzhanbo
03b645e791 fix(theme): incorrect resolve page path when sidebar matched 2024-08-30 23:34:23 +08:00
pengzhanbo
2443f99f46 docs: update notes config 2024-08-30 22:31:34 +08:00
pengzhanbo
220940b2a5 perf(theme): optimize `<LinkCard /> ui 2024-08-30 21:39:11 +08:00
pengzhanbo
4b2739bff0 perf(theme): optimize auto frontmatter 2024-08-30 19:39:40 +08:00
pengzhanbo
0af1391496 chore: update tm-grammars to latest 2024-08-30 19:16:40 +08:00
pengzhanbo
047e0527f5 perf(theme): optimize load theme config 2024-08-30 19:11:47 +08:00
pengzhanbo
5f13a1ba46 feat(theme): add normalize page title markdown plugin 2024-08-30 19:11:19 +08:00
pengzhanbo
3d3cb43243 feat(theme): add internal link 2024-08-30 19:10:38 +08:00
pengzhanbo
cc9b5f8a40 perf(theme): code demo ui 2024-08-30 19:09:54 +08:00
pengzhanbo
c16cf37dd1 perf(theme): optimize composables 2024-08-30 19:09:35 +08:00
pengzhanbo
d7885aae48 fix(theme): incorrect comments margin-top 2024-08-30 19:08:44 +08:00
pengzhanbo
d9c43b5738 perf(theme): hidden code block copy button in mobile 2024-08-30 19:07:52 +08:00
pengzhanbo
38eb41a48d perf(theme): breadcrumb ui 2024-08-30 19:06:55 +08:00
pengzhanbo
233ae3337f fix(cli): incorrect exec context 2024-08-30 19:06:04 +08:00
pengzhanbo
447aa4647c build: publish v1.0.0-rc.91 2024-08-29 20:44:16 +08:00
pengzhanbo
6c93c151c1 chore: update release scripts 2024-08-29 20:42:56 +08:00
pengzhanbo
129860f6f4
Merge pull request #158 from pengzhanbo/perf-blog
fix(theme): incorrect resolve category name
2024-08-29 20:36:45 +08:00
pengzhanbo
29b8e0caf1 perf: update vuepress to 2.0.0-rc.15 2024-08-29 20:33:11 +08:00
pengzhanbo
2ebde528a4 perf: update deps to latest 2024-08-29 20:19:16 +08:00
pengzhanbo
b4d551ff0a docs: update docs 2024-08-29 20:14:29 +08:00
pengzhanbo
a4c68287d2 feat(theme): add blog tags and category slots 2024-08-29 20:14:13 +08:00
pengzhanbo
f5e8bdfd82 docs: update docs 2024-08-29 19:59:04 +08:00
pengzhanbo
d44ac5fcd2 feat(theme): add breadcrumb nav 2024-08-29 19:58:50 +08:00
pengzhanbo
9579152326 fix(theme): incorrect resolve category name 2024-08-29 13:32:27 +08:00
pengzhanbo
74079390f6
feat: add create-vuepress-theme-plume package (#153)
* feat: add `create-vuepress-theme-plume` package
* feat(cli): add support deploy
2024-08-29 12:03:32 +08:00
pengzhanbo
a4dc03f736 build: publish v1.0.0-rc.90 2024-08-27 12:07:51 +08:00
pengzhanbo
2bcb499374
Merge pull request #157 from pengzhanbo/fix-sidebar
perf(theme): navbar menu text too long
2024-08-27 12:05:33 +08:00
pengzhanbo
91981b44eb fix(theme): incorrect auto frontmatter 2024-08-27 12:01:05 +08:00
pengzhanbo
d87e785e6f fix(theme): incorrect resolve sidebar 2024-08-27 11:32:48 +08:00
pengzhanbo
b37de62121 fix(theme): incorrect generate for notes permalink 2024-08-27 10:44:31 +08:00
pengzhanbo
55b96875b1 fix(theme): incorrect shadow when title is too long 2024-08-27 10:43:16 +08:00
pengzhanbo
ec0012e822 build: publish v1.0.0-rc.89 2024-08-27 08:38:17 +08:00
pengzhanbo
befd779ed5
Merge pull request #155 from pengzhanbo/fix-notes
perf(theme): redirect locales page
2024-08-27 05:55:21 +08:00
pengzhanbo
b55a0f7546 fix(theme): incorrect notes auto frontmatter permalink 2024-08-26 13:39:53 +08:00
pengzhanbo
543f6ea66f perf(theme): redirect locales page 2024-08-26 13:38:11 +08:00
huan_kong
7891ca8d78
fix(theme): incorrect shadow when title is too long (#154)
* fix(theme): incorrect shadow when title is too long

* chore: lint fix
2024-08-26 11:21:39 +08:00
pengzhanbo
059ed95cb2 docs: update docs 2024-08-24 01:51:44 +08:00
pengzhanbo
28d45d566c chore: update netlify config 2024-08-24 01:50:35 +08:00
pengzhanbo
42f0d22bfc chore: update contributing 2024-08-24 01:50:18 +08:00
pengzhanbo
6304264a03 chore: update lint config version 2024-08-24 01:49:14 +08:00
pengzhanbo
bf6d102795 docs: update readme 2024-08-23 11:03:36 +08:00
pengzhanbo
d18baa8406 build: publish v1.0.0-rc.88 2024-08-22 13:56:25 +08:00
pengzhanbo
8ac657b828
Merge pull request #148 from pengzhanbo/rc-88
RC 88
2024-08-22 13:53:26 +08:00
pengzhanbo
e2cca7dd3b chore: tweak 2024-08-22 13:00:25 +08:00
pengzhanbo
f79f7bd03a chore: update deps to latest 2024-08-22 12:55:55 +08:00
pengzhanbo
22e37fc819 chore: tweak 2024-08-22 12:48:45 +08:00
pengzhanbo
a7c40e0bd5 fix(theme): incorrect <CardGrid> render, close #147 2024-08-22 12:48:29 +08:00
pengzhanbo
06287ca270 chore: tweak 2024-08-21 17:17:37 +08:00
pengzhanbo
7832a9b13c feat(theme): remove frontmatter.author, and improve frontmatter.contributors type 2024-08-21 04:21:40 +08:00
pengzhanbo
1358f77b50 feat(theme): improve <mark> styles 2024-08-21 02:00:23 +08:00
pengzhanbo
421fce40da chore: lint fix 2024-08-21 01:59:36 +08:00
pengzhanbo
5cb39d2897 perf: update deps to latest 2024-08-21 01:58:56 +08:00
pengzhanbo
87f1d5e547
Merge pull request #144 from pengzhanbo/improve-docs
docs: improve docs
2024-08-19 01:39:09 +08:00
pengzhanbo
e3b1c3cc53 docs: improve docs 2024-08-19 01:33:36 +08:00
pengzhanbo
27fdc6943b docs: update docs 2024-08-18 10:33:54 +08:00
pengzhanbo
4c5b952af2 build: publish v1.0.0-rc.87 2024-08-18 10:26:15 +08:00
pengzhanbo
3a07d55e75
Merge pull request #143 from pengzhanbo/image-layout
Image Card
2024-08-18 10:19:51 +08:00
pengzhanbo
369a170813 perf: update deps to latest 2024-08-18 10:05:13 +08:00
pengzhanbo
dae7b1ccda perf(theme): navbar transition 2024-08-18 10:04:49 +08:00
pengzhanbo
de6ebed284 docs: update docs 2024-08-18 09:58:02 +08:00
pengzhanbo
edc0297c0c feat(theme): add component <ImageCard /> 2024-08-18 09:57:40 +08:00
pengzhanbo
e6f2e3fe64 feat(theme): add component <VPImageCard /> 2024-08-17 12:33:14 +08:00
pengzhanbo
24229ddb6e perf(theme): improve doc aside layout 2024-08-17 12:32:32 +08:00
pengzhanbo
8c007d1114 Merge branch 'main' into image-layout 2024-08-16 02:47:43 +08:00
pengzhanbo
33b7c99372 feat(theme): improve types 2024-08-16 02:17:36 +08:00
pengzhanbo
c9d58bd418 docs: update docs 2024-08-16 01:59:35 +08:00
pengzhanbo
5b0d47678c perf: update deps to latest 2024-08-14 19:06:38 +08:00
pengzhanbo
fbcd141a39 build: publish v1.0.0-rc.86 2024-08-14 10:31:08 +08:00
pengzhanbo
720cde6573
Merge pull request #139 from pengzhanbo/code-block-collapsed-lines
Add code block support for collapsed lines
2024-08-14 10:28:26 +08:00
pengzhanbo
1ff7796d57 docs: update docs 2024-08-14 03:56:05 +08:00
pengzhanbo
bb4ee6bb2d feat(plugin-shikiji): add support for collapsed lines 2024-08-14 03:55:49 +08:00
pengzhanbo
48a6596297 perf(plugin-shikiji): improve highlight whitespace 2024-08-14 03:54:52 +08:00
pengzhanbo
199bbd9a9a perf(plugin-shikiji): improve highlight 2024-08-14 03:54:20 +08:00
pengzhanbo
4a49b9f027 fix(theme): improve local icons load 2024-08-13 01:50:00 +08:00
pengzhanbo
f69490af58 docs: update docs 2024-08-13 00:56:44 +08:00
pengzhanbo
784d43f297 build: publish v1.0.0-rc.85 2024-08-09 01:38:46 +08:00
pengzhanbo
f8057468b1
Merge pull request #135 from pengzhanbo/RC-85
RC 85
2024-08-09 01:36:14 +08:00
pengzhanbo
60b75e3e2e perf: update deps to latest 2024-08-09 01:20:40 +08:00
pengzhanbo
dc35228461 docs: update docs 2024-08-09 01:12:29 +08:00
pengzhanbo
f6ae1a1149 perf(plugin-md-power): improve icons rules 2024-08-09 01:12:13 +08:00
pengzhanbo
64e9a0f330 fix(theme): incorrect display non-local icons, close #134 2024-08-09 01:03:07 +08:00
pengzhanbo
85a923f736 feat(theme): improve externalLinkIcon type 2024-08-06 19:53:03 +08:00
pengzhanbo
7ccbfefe34 feat(theme): improve navbar type 2024-08-06 19:52:38 +08:00
pengzhanbo
8c44d2e472 build: publish v1.0.0-rc.84 2024-08-06 02:06:26 +08:00
pengzhanbo
ff06eabffe
Merge pull request #133 from pengzhanbo/RC-84
RC 84
2024-08-06 02:02:50 +08:00
pengzhanbo
306f8ea03e chore: tweak 2024-08-06 01:56:10 +08:00
pengzhanbo
bf65d79c50 docs: update docs 2024-08-06 01:06:31 +08:00
pengzhanbo
8fa9ec0b4a feat(theme): add option for enable prevPage/nextPage, close #132 2024-08-06 01:05:14 +08:00
pengzhanbo
bf4b8dcb06 docs: update docs 2024-07-31 11:46:11 +08:00
pengzhanbo
7a1bc8f73d docs: add custom theme colors tools 2024-07-31 11:45:54 +08:00
pengzhanbo
5f6825a645 perf(theme): improve prepare icons 2024-07-31 11:45:18 +08:00
pengzhanbo
6928ee4bb4 perf: update deps to latest 2024-07-31 11:43:38 +08:00
pengzhanbo
ce23370713 build: publish v1.0.0-rc.83 2024-07-28 11:53:53 +08:00
pengzhanbo
4bad4b90d6
Merge pull request #131 from pengzhanbo/RC-83
RC 83
2024-07-28 11:48:39 +08:00
pengzhanbo
b55d268285 docs: update docs 2024-07-28 00:13:01 +08:00
pengzhanbo
6bf5302da1 perf(theme): improve sidebar active link 2024-07-27 20:48:10 +08:00
pengzhanbo
ac8984d050 docs: update docs 2024-07-27 19:23:53 +08:00
pengzhanbo
a81c20a21c perf(theme): improve content layout 2024-07-27 19:23:39 +08:00
pengzhanbo
aa96c35bd5 feat(theme): add component <NpmBadge /> 2024-07-27 19:23:09 +08:00
pengzhanbo
46b382e0b3 perf(theme): improve prepare icons data 2024-07-26 16:50:00 +08:00
pengzhanbo
4c44462e61 feat(theme): add component <RepoCard /> 2024-07-26 16:49:28 +08:00
pengzhanbo
5e9d2d043a feat(theme): add support for optional features 2024-07-26 16:48:02 +08:00
pengzhanbo
ce544d2dfc feat(theme): add support disable blog 2024-07-26 16:46:05 +08:00
pengzhanbo
8c6604e5af docs: update docs 2024-07-23 13:00:31 +08:00
pengzhanbo
b1b79ecae4 build: publish v1.0.0-rc.82 2024-07-23 12:05:20 +08:00
pengzhanbo
e690d48d0c
Merge pull request #128 from pengzhanbo/RC-82
RC 82
2024-07-23 12:03:22 +08:00
pengzhanbo
8e1d931783 chore: update pnpm lock 2024-07-23 11:48:53 +08:00
pengzhanbo
7128af8e49 docs: update docs 2024-07-23 11:48:28 +08:00
pengzhanbo
f32511be6a refactor!: removed plugin-iconify 2024-07-23 00:28:58 +08:00
pengzhanbo
fa06931985 perf(theme): optimize <VPIcon /> 2024-07-23 00:17:12 +08:00
pengzhanbo
78449a88fe docs: update docs 2024-07-22 21:34:53 +08:00
pengzhanbo
87466969b8 docs: update docs 2024-07-22 15:23:10 +08:00
pengzhanbo
5d0d626eef feat(theme): add support for iconify localization 2024-07-22 00:42:41 +08:00
pengzhanbo
2fc28878fa chore: update deps 2024-07-21 11:22:59 +08:00
pengzhanbo
6a1152fa93 chore: improve tsup config 2024-07-21 00:52:32 +08:00
pengzhanbo
62ac0b3371 feat(theme): add @vuepress/plugin-cache 2024-07-21 00:52:03 +08:00
pengzhanbo
688c96452e perf(theme): improve navbar logo height 2024-07-21 00:50:11 +08:00
pengzhanbo
9f8de682fa perf(theme): improve media print layout 2024-07-21 00:47:56 +08:00
pengzhanbo
9f6368b7a4 fix(plugin-md-power): fix incorrect code editor layout 2024-07-21 00:47:05 +08:00
pengzhanbo
8b657c3042 docs: update docs 2024-07-20 11:52:14 +08:00
pengzhanbo
72ccb4800c perf: update vue to 3.4.33 2024-07-20 11:51:57 +08:00
pengzhanbo
0992180581 build: publish v1.0.0-rc.81 2024-07-20 01:06:45 +08:00
pengzhanbo
696e927ae5 perf: improve <Content /> type 2024-07-20 01:04:46 +08:00
pengzhanbo
fbd70023ee chore: update tsconfig paths 2024-07-20 01:04:03 +08:00
pengzhanbo
55010d644b
Merge pull request #126 from pengzhanbo/perf-bundle
optimize package bundle
2024-07-20 00:51:55 +08:00
pengzhanbo
55ba1988a4 docs: update docs 2024-07-20 00:49:24 +08:00
pengzhanbo
9398bef54d perf(theme): optimize auto frontmatter 2024-07-20 00:48:53 +08:00
pengzhanbo
5d30f5cf5b perf: update vuepress to latest 2024-07-20 00:35:27 +08:00
pengzhanbo
19864cf269 Merge branch 'main' into perf-bundle 2024-07-20 00:27:26 +08:00
hrradev
0ab9186e3a
feat(theme): add custom height support for the navbar logo (#125)
* Update VPNavBarTitle.vue

修正logo高度未使用预定义设置(--vp-nav-logo-height),造成logo高度无法被覆写修改的问题。

---------

Co-authored-by: pengzhanbo <q942450674@outlook.com>
2024-07-20 00:25:58 +08:00
pengzhanbo
97416e4402 chore: tweak 2024-07-19 12:04:12 +08:00
pengzhanbo
8d07dab951 perf(theme): optimize auto frontmatter I/O, #124 2024-07-19 11:57:35 +08:00
pengzhanbo
95f739fc39 chore: update deps to latest 2024-07-19 11:07:06 +08:00
pengzhanbo
0d7e685169 chore: tweak 2024-07-19 11:04:21 +08:00
pengzhanbo
d615f34240 chore: tweak 2024-07-19 10:22:47 +08:00
pengzhanbo
25214d36d3 perf(theme): omit sass warnings 2024-07-19 10:21:49 +08:00
pengzhanbo
8888d9fe5c perf(plugin-md-power): optimize package build 2024-07-19 10:20:36 +08:00
pengzhanbo
d11bf77403 refactor!: remove plugin-baidu-tongji 2024-07-19 03:19:01 +08:00
pengzhanbo
2178a55ca0 docs: update doc 2024-07-19 03:18:03 +08:00
pengzhanbo
9829013c93 chore: tweak 2024-07-19 03:17:49 +08:00
pengzhanbo
936b0b4851 perf: optimize package import 2024-07-19 03:17:28 +08:00
pengzhanbo
9f341b131e ci: optimize package build 2024-07-19 03:16:43 +08:00
pengzhanbo
4325c27968 style: lint regexp 2024-07-18 00:09:50 +08:00
pengzhanbo
257d2c9db2 chore: optimize package scripts 2024-07-18 00:09:16 +08:00
pengzhanbo
4c6cbd285b build: publish v1.0.0-rc.80 2024-07-17 03:57:53 +08:00
pengzhanbo
e69f0adba5
Merge pull request #122 from pengzhanbo/RC-80
RC 80
2024-07-17 03:56:26 +08:00
pengzhanbo
f8812922ea Merge branch 'main' into RC-80 2024-07-17 03:55:12 +08:00
pengzhanbo
b02ccb4ed9 fix(theme): fix incorrect code block layout 2024-07-17 03:54:03 +08:00
pengzhanbo
6e494c2d3a fix(theme): incorrect display of the home local nav 2024-07-17 03:53:30 +08:00
pengzhanbo
d42d4943cd
ci: add FUNDING.yml 2024-07-17 01:03:50 +08:00
pengzhanbo
9b1d0d3a25 build: publish v1.0.0-rc.79 2024-07-17 00:54:06 +08:00
pengzhanbo
b9aacd68e9
Merge pull request #121 from pengzhanbo/RC-79
RC-79
2024-07-17 00:51:20 +08:00
pengzhanbo
8366f4d9d2 chore: tweak 2024-07-17 00:48:23 +08:00
pengzhanbo
e56ea81f03 ci: add workflows 2024-07-17 00:45:15 +08:00
pengzhanbo
a79fcf9cd4 chore: tweak 2024-07-17 00:09:38 +08:00
pengzhanbo
1c14ada868 Merge branch 'main' into RC-79 2024-07-17 00:07:25 +08:00
pengzhanbo
6a8e2d9158 style: lint fix 2024-07-17 00:06:42 +08:00
pengzhanbo
98e85b0ece perf: update deps to latest 2024-07-17 00:05:22 +08:00
shylock-wu
0510e261df
fix(theme): fix incorrect footer layout (#120)
在1440px屏幕的情况下,sidebar的宽度就应该等于footer的margin-left的值,但是目前却没有处理,导致样式错乱了
2024-07-16 20:59:40 +08:00
pengzhanbo
e35e3d99ef docs: update docs 2024-07-16 00:17:38 +08:00
pengzhanbo
2219f2019e perf(theme): 优化主题配置 2024-07-16 00:17:27 +08:00
pengzhanbo
4501a1654e perf(theme): 优化导航栏交互 2024-07-16 00:16:55 +08:00
pengzhanbo
fc23e4950b perf(theme): 调整 页面数据结构 2024-07-16 00:16:02 +08:00
pengzhanbo
400bf02856 perf(theme): 优化 侧边栏 分组结构 2024-07-15 21:06:46 +08:00
pengzhanbo
b83a69a681 feat(theme): 添加 blog categories 插槽 2024-07-15 21:04:43 +08:00
pengzhanbo
647c291d2f perf(theme): 优化 <h4> 样式 2024-07-15 21:04:02 +08:00
pengzhanbo
198e13d885 perf(theme): 优化中文字体库 2024-07-15 21:03:33 +08:00
pengzhanbo
c259c484e2 build: publish v1.0.0-rc.78 2024-07-14 03:17:07 +08:00
pengzhanbo
9308355c04
Merge pull request #117 from pengzhanbo/RC-78
RC 78
2024-07-14 03:13:25 +08:00
pengzhanbo
c1a4d586b4 feat(theme): 新增 博客文章分类 支持 2024-07-14 03:10:29 +08:00
pengzhanbo
7efa63fe31 fix(theme): 修复链接跳转参数丢失 2024-07-14 03:07:45 +08:00
pengzhanbo
6b3c2cd8bb chore: tweak 2024-07-13 14:35:50 +08:00
pengzhanbo
3b4482d0f1 chore: tweak 2024-07-13 05:45:28 +08:00
pengzhanbo
1658a4c93a build: publish v1.0.0-rc.77 2024-07-12 02:35:56 +08:00
pengzhanbo
48e07444b6 chore: tweak 2024-07-12 02:34:37 +08:00
pengzhanbo
69772acd67 chore: tweak 2024-07-12 02:32:59 +08:00
pengzhanbo
7769bc888f fix(theme): 修复 auto frontmatter 配置 2024-07-12 02:32:11 +08:00
pengzhanbo
1aa96afd07 build: publish v1.0.0-rc.76 2024-07-11 05:36:43 +08:00
pengzhanbo
0a32536fed
Merge pull request #116 from pengzhanbo/RC-76
RC-76
2024-07-11 05:34:52 +08:00
pengzhanbo
ab1c30eac3 chore: tweak 2024-07-11 05:28:15 +08:00
pengzhanbo
0142fe9fa3 docs: update doc 2024-07-11 05:14:11 +08:00
pengzhanbo
1ef9744e04 perf(theme): 改进类型 2024-07-11 05:13:57 +08:00
pengzhanbo
329049ec55 perf(theme): 优化 frontmatter 自动生成 2024-07-11 05:13:24 +08:00
pengzhanbo
b92135e6d9 perf(theme): 优化页面宽度 2024-07-11 05:12:54 +08:00
pengzhanbo
4bba330516 build: publish v1.0.0-rc.75 2024-07-10 07:47:40 +08:00
pengzhanbo
f20af9d245
Merge pull request #115 from pengzhanbo/RC-75
RC 75
2024-07-10 07:44:36 +08:00
pengzhanbo
8438cd546b perf(theme): 优化主题配置文件监听流 2024-07-10 07:41:10 +08:00
pengzhanbo
332d284415 feat(theme): 新增可选的 frontmatter 字段自动生成 2024-07-10 07:40:33 +08:00
pengzhanbo
3cb7d8862f perf(theme): 左侧侧边栏默认展开活动项 2024-07-10 07:39:25 +08:00
pengzhanbo
e03388098e perf(theme): 优化无文章列表时页面最小高度 2024-07-10 07:38:47 +08:00
pengzhanbo
27116d7071 perf(theme): 优化无右侧边栏时文档宽度 2024-07-10 07:38:15 +08:00
pengzhanbo
9a64ee07bf perf(plugin-md-power): 优化 icons css 输出 2024-07-10 07:37:12 +08:00
pengzhanbo
0ac4e70abc build: publish v1.0.0-rc.74 2024-07-10 01:04:06 +08:00
pengzhanbo
718d9a091a
Merge pull request #114 from pengzhanbo/RC-74
RC 74
2024-07-10 01:02:15 +08:00
pengzhanbo
8714d76a0e perf(theme): 优化 frontmatter 自动生成 2024-07-10 00:58:19 +08:00
pengzhanbo
766285e8f8 perf(theme): 优化侧边栏数据自动生成 2024-07-10 00:57:52 +08:00
pengzhanbo
cfbea845a4 perf(theme): 优化博客页面数据 2024-07-10 00:56:53 +08:00
pengzhanbo
ff776efb98 fix(theme): 修复 footer 在首页的错误渲染 2024-07-10 00:55:40 +08:00
pengzhanbo
67f7b0e0c6 perf(theme): 优化 headers 2024-07-10 00:54:53 +08:00
pengzhanbo
5db3481b7e build: publish v1.0.0-rc.73 2024-07-09 01:43:25 +08:00
pengzhanbo
589999b40f
Merge pull request #113 from pengzhanbo/RC-73
RC 73
2024-07-09 01:40:14 +08:00
pengzhanbo
45df7b0653 chore: update deps to latest 2024-07-09 00:11:15 +08:00
pengzhanbo
708984ef72 chore: tweak 2024-07-08 23:36:38 +08:00
pengzhanbo
4438447ce3 chore: tweak 2024-07-08 23:34:39 +08:00
pengzhanbo
7882539221 chore: tweak 2024-07-08 22:35:00 +08:00
pengzhanbo
3ed4058ae2 chore: tweak 2024-07-08 18:34:30 +08:00
pengzhanbo
8c3d6137b1 chore: tweak 2024-07-08 07:21:51 +08:00
pengzhanbo
d49e70f48e perf(theme): 优化 站点加密交互 2024-07-08 07:02:45 +08:00
pengzhanbo
31a5c01d2d chore: tweak 2024-07-08 02:45:51 +08:00
pengzhanbo
2c91011697 chore: tweak 2024-07-08 02:45:39 +08:00
pengzhanbo
0fb444b68f chore: tweak 2024-07-08 02:44:55 +08:00
pengzhanbo
9a8df18286 perf: 优化主题配置解析 2024-07-08 02:44:01 +08:00
pengzhanbo
025a6bf680 perf: 优化 frontmatter 生成 2024-07-08 02:41:52 +08:00
pengzhanbo
5a600048d5 perf: 改进类型 2024-07-08 02:40:54 +08:00
pengzhanbo
57500524c5 perf: 优化 文章标签数据生成 2024-07-08 02:39:34 +08:00
pengzhanbo
4958f67ea2 perf: 优化 主题数据生成 2024-07-08 02:38:44 +08:00
pengzhanbo
617125cab2 perf: 优化 侧边栏数据生成 2024-07-08 02:38:30 +08:00
pengzhanbo
b8de316dcf perf: 优化 站点加密数据生成 2024-07-08 02:38:00 +08:00
pengzhanbo
e677d89104 perf: 优化 博客数据生成 2024-07-08 02:37:34 +08:00
pengzhanbo
cbba7868bf feat: 添加单独的主题配置文件支持 2024-07-08 02:35:47 +08:00
pengzhanbo
5ae11c766b chore: replace anywhere to http-server 2024-07-05 15:10:31 +08:00
pengzhanbo
bdcd054a05 build: publish v1.0.0-rc.72 2024-06-29 03:22:30 +08:00
pengzhanbo
dd9b56f8cc
Merge pull request #109 from pengzhanbo/RC-72
RC 72
2024-06-29 03:15:48 +08:00
pengzhanbo
9128e9bc55 docs: update readme 2024-06-29 02:49:15 +08:00
pengzhanbo
7b3bd7426e chore: update preview images 2024-06-29 02:26:40 +08:00
pengzhanbo
e1fbb7dc46 docs: update docs 2024-06-29 02:26:22 +08:00
pengzhanbo
c53d57a789 chore: tweak 2024-06-29 02:26:05 +08:00
pengzhanbo
f9bcda56eb chore: tweak 2024-06-29 02:25:53 +08:00
pengzhanbo
e55df63d04 perf: update deps to latest 2024-06-29 02:25:10 +08:00
pengzhanbo
307152cdba docs: update docs 2024-06-29 00:40:43 +08:00
pengzhanbo
5a3d62b844 feat(theme): rename frontmatter article to draft 2024-06-29 00:40:22 +08:00
pengzhanbo
446152374e chore: tweak 2024-06-28 23:11:32 +08:00
pengzhanbo
aa8275632a chore: tweak 2024-06-28 17:42:51 +08:00
pengzhanbo
dc4f749a0b chore: tweak 2024-06-28 14:05:57 +08:00
pengzhanbo
0decf2a651 chore: tweak 2024-06-28 04:28:09 +08:00
pengzhanbo
2f71b29ae9 chore: tweak 2024-06-28 03:17:14 +08:00
pengzhanbo
1e31b12caf chore: tweak 2024-06-28 03:13:38 +08:00
pengzhanbo
7448483586 feat(theme): optimize friends layout 2024-06-28 03:10:07 +08:00
pengzhanbo
6952ba94c3 perf: improve prepare output 2024-06-27 03:35:29 +08:00
pengzhanbo
8e5d9a5e80 chore: tweak 2024-06-27 01:35:41 +08:00
pengzhanbo
e5e1fb3dc6 chore: update contributing 2024-06-27 00:59:28 +08:00
pengzhanbo
4132167597 refactor!: move vuepress-plugin-netlify-functions to another repo 2024-06-27 00:58:32 +08:00
pengzhanbo
10cb625401 perf: bump create-filter deps 2024-06-27 00:51:54 +08:00
pengzhanbo
b90efc8bec build: publish v1.0.0-rc.71 2024-06-26 00:56:18 +08:00
pengzhanbo
12bee93df0 style: lint fix 2024-06-26 00:54:37 +08:00
pengzhanbo
030a62d22e
Merge pull request #107 from pengzhanbo/RC-71
RC 71
2024-06-26 00:47:35 +08:00
pengzhanbo
074ade93a1 feat(plugin-shikiji): remove notation escape 2024-06-26 00:44:14 +08:00
pengzhanbo
787626e2e4 perf: optimize render cache 2024-06-26 00:43:47 +08:00
pengzhanbo
babd6114c3 feat(theme): add transition options 2024-06-26 00:40:36 +08:00
pengzhanbo
bf72d5025d chore: update deps to latest 2024-06-26 00:39:07 +08:00
pengzhanbo
75e72761b5 fix(theme): navbar divider overflow, close #104 2024-06-25 21:26:02 +08:00
pengzhanbo
3817b64bb7 build: publish v1.0.0-rc.70 2024-06-24 00:25:20 +08:00
pengzhanbo
f90599c788
Merge pull request #102 from pengzhanbo/RC-70
RC-70
2024-06-24 00:22:32 +08:00
pengzhanbo
8c3e5f0f06 feat(theme): 新增 markdown render 缓存,优化开发服务启动时间 2024-06-24 00:10:58 +08:00
pengzhanbo
4789f1e104 feat(plugin-shikiji): rename getHighlighter to createHighlighter 2024-06-24 00:10:00 +08:00
pengzhanbo
f792bf6cc7 feat(theme): 新增 useLink 组合式 API 2024-06-24 00:09:11 +08:00
pengzhanbo
7c8a1084fe perf: update deps to latest 2024-06-24 00:06:13 +08:00
pengzhanbo
d19251cf4d build: publish v1.0.0-rc.69 2024-06-22 00:06:22 +08:00
pengzhanbo
69d1b0f2d9 docs: update docs 2024-06-22 00:05:07 +08:00
pengzhanbo
86a814cb1e perf: update vuepress to 2.0.0.rc-14 2024-06-22 00:04:49 +08:00
pengzhanbo
f64d51a0cd chore: tweak 2024-06-21 23:45:41 +08:00
pengzhanbo
deefadca1e refactor(theme): improve hint-container styles 2024-06-21 23:45:08 +08:00
pengzhanbo
46edb7bef5 refactor(theme): improve <Card /> styles 2024-06-21 23:44:40 +08:00
pengzhanbo
2a7c11378c build: publish v1.0.0-rc.68 2024-06-19 13:51:32 +08:00
pengzhanbo
850d2005e5
Merge pull request #99 from pengzhanbo/RC-68
RC 68
2024-06-19 13:48:57 +08:00
pengzhanbo
85798e1c1c chore: tweak 2024-06-19 12:57:20 +08:00
pengzhanbo
126da9fb5f feat(theme): 新增 <LinkCard> 链接卡片组件 2024-06-19 12:47:02 +08:00
pengzhanbo
62e128a960 feat(theme): 新增 <Card> 卡片组件 2024-06-19 11:12:46 +08:00
pengzhanbo
bea5c8b524 docs: update docs 2024-06-18 18:50:57 +08:00
pengzhanbo
1df3505d89 feat(theme): 添加 步骤容器 2024-06-18 18:50:42 +08:00
pengzhanbo
018cecf7e7 perf(theme): improve home hero transition 2024-06-18 15:38:49 +08:00
pengzhanbo
d9be40e342 chore: tweak 2024-06-18 15:03:00 +08:00
pengzhanbo
e77c8cbc54 docs: update docs 2024-06-18 14:57:06 +08:00
pengzhanbo
28ae80e284 docs: update docs 2024-06-18 14:39:06 +08:00
pengzhanbo
9e19de62bb perf(theme): improve node structure 2024-06-18 14:38:47 +08:00
pengzhanbo
5f743f13c3 perf(theme): improve styles 2024-06-18 14:38:07 +08:00
pengzhanbo
5a54fc2565 perf(theme): 优化页面滚动行为 2024-06-18 14:37:38 +08:00
pengzhanbo
3490c47850 perf(plugin-shikiji): 优化代码高亮默认语言 2024-06-18 14:36:34 +08:00
pengzhanbo
155667234d refactor(theme): improve blog structure 2024-06-18 14:35:24 +08:00
pengzhanbo
a941d90712 build: publish v1.0.0-rc.67 2024-06-17 18:07:00 +08:00
pengzhanbo
0b037dcc11 fix(theme): fix code line-number line-height in hint-container 2024-06-17 18:05:49 +08:00
pengzhanbo
b079a8652a docs: update docs 2024-06-17 17:56:41 +08:00
pengzhanbo
5479607695 perf(theme): update tags color 2024-06-17 17:56:21 +08:00
pengzhanbo
473da760f0 feat(theme): add layout slots 2024-06-17 17:55:50 +08:00
pengzhanbo
427b887a47 build: publish v1.0.0-rc.66 2024-06-17 01:34:50 +08:00
pengzhanbo
dfc525c1f4 feat(theme): 优化博客标签颜色 2024-06-17 01:28:12 +08:00
pengzhanbo
404a158791 fix(theme): alias path posix in windows 2024-06-17 01:10:29 +08:00
pengzhanbo
618ea13715 docs: update changelog 2024-06-16 20:09:51 +08:00
pengzhanbo
921b9a49d0 build: publish v1.0.0-rc.65 2024-06-16 20:06:05 +08:00
pengzhanbo
6aad40af28
Merge pull request #97 from pengzhanbo/RC-65
Rc 65
2024-06-16 20:02:49 +08:00
pengzhanbo
8cb497dac9 docs: update contributing 2024-06-16 19:51:22 +08:00
pengzhanbo
08bf8a08eb chore: tweak 2024-06-16 19:41:52 +08:00
pengzhanbo
d45dfd667b chore: tweak 2024-06-16 16:52:11 +08:00
pengzhanbo
fbe57418f9 chore: tweak 2024-06-16 15:41:27 +08:00
pengzhanbo
89e99f10fa chore: tweak 2024-06-15 18:44:16 +08:00
pengzhanbo
7e065208a9 perf(theme): 重命名 avatarprofile 2024-06-15 17:42:29 +08:00
pengzhanbo
830bae053f chore: tweak 2024-06-15 16:58:14 +08:00
pengzhanbo
e5a7fbce4d chore: tweak 2024-06-15 15:53:15 +08:00
pengzhanbo
8ecaaf1c45 chore: tweak 2024-06-15 14:43:07 +08:00
pengzhanbo
e23faea2ba chore: tweak 2024-06-15 13:32:11 +08:00
pengzhanbo
86a50e9601 chore: tweak 2024-06-15 12:13:09 +08:00
pengzhanbo
3b0208b356 chore: tweak 2024-06-15 10:42:40 +08:00
pengzhanbo
862c886ff6 refactor(theme): improve theme structure 2024-06-15 09:18:10 +08:00
pengzhanbo
93adb30012 chore: tweak 2024-06-13 05:27:14 +08:00
pengzhanbo
cb71585079 chore: tweak 2024-06-13 01:33:44 +08:00
pengzhanbo
3018f6789b chore: tweak 2024-06-10 05:48:02 +08:00
pengzhanbo
82401f0ddd build: publish v1.0.0-rc.64 2024-06-07 21:02:33 +08:00
pengzhanbo
b2f122c4a2 fix(theme): auto navbar 2024-06-07 21:01:05 +08:00
pengzhanbo
cad905e2a3 build: publish v1.0.0-rc.63 2024-06-07 20:52:46 +08:00
pengzhanbo
d60edf987c chore: tweak 2024-06-07 20:51:23 +08:00
pengzhanbo
2082e270bd
Merge pull request #93 from pengzhanbo/RC-63
RC-63
2024-06-07 20:49:54 +08:00
pengzhanbo
d5aab6ae78 Merge branch 'main' into RC-63 2024-06-07 20:48:50 +08:00
pengzhanbo
fbdac2d320 chore: update deps 2024-06-07 20:48:03 +08:00
pengzhanbo
932637f67f chore: tweak 2024-06-07 20:40:27 +08:00
pengzhanbo
b115a3ea73 chore: tweak 2024-06-07 20:33:46 +08:00
pengzhanbo
ec7f9b00b3 chore: tweak 2024-06-06 21:55:48 +08:00
pengzhanbo
842506a259 chore: tweak 2024-06-06 03:11:32 +08:00
pengzhanbo
c3302ef55f refactor(theme): 优化样式结构 2024-06-05 02:28:37 +08:00
pengzhanbo
74a69948b8 perf(theme): 优化 node 结构 2024-06-05 00:34:27 +08:00
pengzhanbo
e395e98128 feat(theme): 侧边栏自动定位到当前活动项 2024-06-05 00:33:46 +08:00
pengzhanbo
a0eac82f4e feat(theme): 优化文章标签颜色生成方式,所有文章支持标签 2024-06-05 00:32:37 +08:00
pengzhanbo
ddb6834a7c chore: update deps to latest 2024-06-05 00:28:30 +08:00
pengzhanbo
e33e684a0e
Merge pull request #90 from KrLite/patch-1
A Documentation Fix
2024-06-04 20:57:20 +08:00
KrLite
824a517aed
Update 扩展.md to fix missing [!TIP] syntax in output 2024-06-04 19:28:51 +08:00
pengzhanbo
0871d47cee build: publish v1.0.0-rc.62 2024-06-03 01:30:39 +08:00
pengzhanbo
ecc757f40a
Merge pull request #88 from pengzhanbo/RC-62
RC-62
2024-06-03 01:24:12 +08:00
pengzhanbo
4558b8ac4e docs: update doc 2024-06-03 01:16:46 +08:00
pengzhanbo
86e425bcf6 docs: update doc 2024-06-03 01:13:38 +08:00
pengzhanbo
90f5409642 feat(theme): 新增自定义有侧边栏层级配置 2024-06-03 00:52:25 +08:00
pengzhanbo
131be4424f chore: tweak 2024-06-02 21:39:51 +08:00
pengzhanbo
6856100bf4 chore: tweak 2024-05-31 17:26:39 +08:00
pengzhanbo
4c63fd38da chore: tweak 2024-05-31 02:15:52 +08:00
pengzhanbo
ec00e78362 feat: move fonts to plugin-fonts 2024-05-31 00:30:22 +08:00
pengzhanbo
b6e6a2674f feat(theme): use plugin-photo-swipe instead plugin-medium-zoom 2024-05-30 22:57:08 +08:00
pengzhanbo
0e070210e2 perf: update deps to latest 2024-05-30 22:56:03 +08:00
pengzhanbo
08cb6c4ab7 build: publish v1.0.0-rc.61 2024-05-29 05:12:42 +08:00
pengzhanbo
a3c6ea16a5 fix: build fail 2024-05-29 05:09:58 +08:00
pengzhanbo
86718cec67 build: publish v1.0.0-rc.60 2024-05-29 03:29:36 +08:00
pengzhanbo
15a70502bb fix: build fail 2024-05-29 03:28:29 +08:00
pengzhanbo
a78f94a4df build: publish v1.0.0-rc.59 2024-05-29 00:35:53 +08:00
pengzhanbo
58b414c975 perf: add vite ssr no external 2024-05-29 00:33:07 +08:00
pengzhanbo
95f19a3999 build: publish v1.0.0-rc.58 2024-05-28 03:16:17 +08:00
pengzhanbo
6b30b03811 fix(theme): blog extract link 2024-05-28 03:14:37 +08:00
pengzhanbo
77f2032458 chore: update docs 2024-05-27 23:01:14 +08:00
pengzhanbo
f39ac3041c build: publish v1.0.0-rc.57 2024-05-27 22:50:11 +08:00
pengzhanbo
9f53a3e943 chore: tweak 2024-05-27 22:49:05 +08:00
pengzhanbo
aa65b124d7
Merge pull request #83 from pengzhanbo/RC-57
upgrade to vuepress rc12
2024-05-27 22:46:58 +08:00
pengzhanbo
021f46ef3f feat: upgrade to vuepress rc12 2024-05-27 22:43:55 +08:00
pengzhanbo
de404b24db feat: 支持友情链接页分组 2024-05-27 22:43:27 +08:00
pengzhanbo
826a527951 Merge branch 'main' into RC-57 2024-05-26 18:59:31 +08:00
pengzhanbo
49de9c88db docs: update sponsor 2024-05-26 18:58:54 +08:00
pengzhanbo
a493edb48f chore: tweak 2024-05-26 18:56:47 +08:00
pengzhanbo
48c6113f77 chore: 调整优化结构 2024-05-26 13:11:21 +08:00
pengzhanbo
e358224217 perf(theme): 优化多语言配置结构 2024-05-25 01:37:37 +08:00
pengzhanbo
252fdd0caf chore: tweak 2024-05-24 00:25:03 +08:00
pengzhanbo
12e607e01c feat: 调整plot 语法 为 !! !! 2024-05-23 21:11:04 +08:00
pengzhanbo
7e1094b510 docs: update docs 2024-05-23 13:01:52 +08:00
pengzhanbo
4cdd51a2c6 feat: 优化 shiki 插件 2024-05-22 22:00:05 +08:00
pengzhanbo
3d7199fe29 feat: 移除 externalLink插件,在主题内实现 2024-05-22 16:37:08 +08:00
pengzhanbo
5af709a762 perf: 优化部分正则校验规则 2024-05-19 14:06:47 +08:00
pengzhanbo
bc38fad18c perf: update vuepress to rc-11 2024-05-19 11:21:17 +08:00
pengzhanbo
ca383cdd7d perf(theme): blog bottom padding 2024-05-14 09:05:43 +08:00
pengzhanbo
350483795b chore: tweak 2024-05-10 14:19:35 +08:00
pengzhanbo
c143c14b63 chore: tweak 2024-05-10 14:19:12 +08:00
pengzhanbo
6c3b11c191 build: publish v1.0.0-rc.56 2024-05-10 14:15:48 +08:00
pengzhanbo
e45526a37c chore: tweak 2024-05-10 14:11:05 +08:00
pengzhanbo
a504cdedf8
Merge pull request #77 from pengzhanbo/watermark
plugin-watermark
2024-05-10 14:08:34 +08:00
pengzhanbo
2238637d94 perf(theme): watermark options 2024-05-10 13:52:33 +08:00
pengzhanbo
0afd3e59ef docs: update docs 2024-05-10 12:24:45 +08:00
pengzhanbo
715f48ed56 feat(theme): use @vuepress/plugin-watermark support watermark 2024-05-10 12:24:23 +08:00
pengzhanbo
71e707f312 perf: update non-major deps to latest 2024-05-10 12:22:55 +08:00
pengzhanbo
251ad8848d perf: add debug log 2024-05-05 20:24:53 +08:00
pengzhanbo
7ff8fbe093 chore: update package lock file 2024-05-05 02:18:57 +08:00
pengzhanbo
cf14ee0a3d build: publish v1.0.0-rc.55 2024-05-05 02:13:55 +08:00
pengzhanbo
5787a47c47 fix(theme): navScreen style inset 2024-05-05 02:12:44 +08:00
pengzhanbo
db65ebeb1d
Merge pull request #76 from pengzhanbo/RC-55
Code Repl support editable
2024-05-05 02:09:57 +08:00
pengzhanbo
4e399e26a2 docs: update docs 2024-05-05 02:07:22 +08:00
pengzhanbo
3876c2d908 docs: update docs 2024-05-05 02:00:01 +08:00
pengzhanbo
5addb31e91 feat(plugin-md-power): 支持可编辑的代码演示 2024-05-05 01:32:44 +08:00
pengzhanbo
2127ca44a8 perf: update non-major deps 2024-05-05 01:11:58 +08:00
pengzhanbo
1182f3edc0 perf: supplement content MIT protocol 2024-05-02 17:53:39 +08:00
pengzhanbo
2b2a43ed6d fix: replit no longer supports embed mode #74 2024-05-02 17:52:02 +08:00
pengzhanbo
b2d244c646 fix: scrollbar in tab and code tabs #73 2024-05-02 17:51:13 +08:00
pengzhanbo
e1955e8a03 fix: back to top percentage issue #72 2024-05-02 17:49:54 +08:00
pengzhanbo
5184f1f9fb docs: update caiuse doc 2024-04-30 05:52:20 +08:00
pengzhanbo
c70f0d61e5 build: publish v1.0.0-rc.54 2024-04-29 00:41:43 +08:00
pengzhanbo
44f51c3e65
Merge pull request #71 from pengzhanbo/lang-repl
Code Repl & Can I Use
2024-04-29 00:39:37 +08:00
pengzhanbo
b600e20ba9 docs: update docs 2024-04-29 00:37:25 +08:00
pengzhanbo
536ed6110a feat(plugin-md-power): upgrade can-i-use 2024-04-29 00:35:26 +08:00
pengzhanbo
35e6e0f480 chore: update non-major deps 2024-04-27 00:49:30 +08:00
pengzhanbo
428b8eea58 docs: update code online repl doc 2024-04-24 19:02:37 +08:00
pengzhanbo
08f090305c perf(plugin-md-power): optimize client config output 2024-04-24 19:02:07 +08:00
pengzhanbo
cd2c5d2335 perf: update non-major deps 2024-04-24 19:01:16 +08:00
pengzhanbo
174c7a0569 feat(plugin-md-power): add kotlin, golang, rust online repl 2024-04-24 19:00:25 +08:00
pengzhanbo
a288c99537 build: publish v1.0.0-rc.53 2024-04-21 00:35:32 +08:00
pengzhanbo
95cc4a2115
Merge pull request #68 from pengzhanbo/RC-53
RC-53
2024-04-21 00:28:18 +08:00
pengzhanbo
ba721e72f9 perf(theme): 优化 sidebar 数据解析 2024-04-21 00:17:02 +08:00
pengzhanbo
8e9ed082c9 perf(plugin-md-power): 优化 pdf 支持 2024-04-21 00:16:30 +08:00
pengzhanbo
25d8aa1fb3 docs: update docs 2024-04-21 00:15:55 +08:00
pengzhanbo
9a5eda49a8 feat(plugin-md-power): add <Plot /> and =||= syntax 2024-04-21 00:14:21 +08:00
pengzhanbo
7daf764fa0 docs: add sponsor page 2024-04-20 00:55:25 +08:00
pengzhanbo
c54c4d8b09 docs: 添加使用主题的案例展示页 2024-04-20 00:54:27 +08:00
pengzhanbo
2eeaf78fc5 perf: update non-major deps to latest 2024-04-20 00:51:58 +08:00
pengzhanbo
af695aa3eb build: publish v1.0.0-rc.52 2024-04-17 12:30:44 +08:00
pengzhanbo
3f348cb00d
Merge pull request #66 from pengzhanbo/RC-52
RC-50
2024-04-17 12:18:35 +08:00
pengzhanbo
411e9dc41d docs: update docs 2024-04-17 12:17:05 +08:00
pengzhanbo
cdcade404b docs: 添加 caniuse 可视化配置工具 2024-04-17 12:16:51 +08:00
pengzhanbo
f1570e49a8 docs: 添加首页色板可视化配置工具 2024-04-17 12:13:43 +08:00
pengzhanbo
6dd3bbacc0 feat(theme): 导航栏、侧边栏图标支持图片链接和svg字符串 #65 2024-04-17 12:12:08 +08:00
pengzhanbo
72357e9c37 perf(theme): 优化博客列表页翻页过渡 2024-04-17 12:09:57 +08:00
pengzhanbo
837237c118 feat(theme): 新增首页背景色板色调配置 2024-04-17 12:08:11 +08:00
pengzhanbo
782f607dbb perf: update non-major deps to latest 2024-04-17 12:04:57 +08:00
pengzhanbo
16f7ed699b perf(theme): 优化文章列表翻页效果 2024-04-16 01:49:20 +08:00
pengzhanbo
54a3b088d7 fix(theme): 修复 base 相关的链接跳转错误 2024-04-16 01:47:49 +08:00
pengzhanbo
5fee968c1a build: publish v1.0.0-rc.51 2024-04-15 10:27:43 +08:00
pengzhanbo
da6190fa1c chore(theme): remove unused imports 2024-04-15 10:26:27 +08:00
pengzhanbo
9a9489031c fix(theme): base 导致的 链接跳转错误 #63 2024-04-15 10:22:41 +08:00
pengzhanbo
4fd0bda3c8 build: publish v1.0.0-rc.50 2024-04-15 06:11:20 +08:00
pengzhanbo
40e84df411 fix(theme): watermark render in ssr 2024-04-15 06:09:42 +08:00
pengzhanbo
55bb284219 perf(plugin-md-power): update markdown-it to v14.1.0 2024-04-15 06:01:11 +08:00
pengzhanbo
c6c1d5406a
Merge pull request #64 from pengzhanbo/rc50
RC-50
2024-04-15 05:41:51 +08:00
pengzhanbo
75c29c1d6d perf: update vuepress non-major deps 2024-04-15 05:40:14 +08:00
pengzhanbo
de4f84bd63 docs: update doc 2024-04-14 19:30:41 +08:00
pengzhanbo
1e6ec5e624 perf: 优化修改 permalink 时存在报错的问题 2024-04-14 19:30:01 +08:00
pengzhanbo
80b3da3e58 feat(theme): 新增 文章水印 功能 2024-04-14 19:28:45 +08:00
pengzhanbo
c6a2b8cab2 perf(theme): 优化首页 Hero 背景效果 2024-04-13 07:20:41 +08:00
pengzhanbo
cc4837c45d feat(theme): 补全在移动设备下的博主信息 2024-04-12 07:56:21 +08:00
pengzhanbo
82bbc77c26 feat(theme): 新增 文章列表 分页过渡动效 2024-04-12 07:54:48 +08:00
pengzhanbo
1c6ee0ff8f feat(theme): 新增 sidebar 过渡动效 2024-04-12 07:53:22 +08:00
pengzhanbo
ae9fb143c0 feat(theme): upgrade Inter fonts 2024-04-11 14:38:52 +08:00
pengzhanbo
7f7d382961 perf: update deps to latest 2024-04-11 14:37:30 +08:00
pengzhanbo
67ab7c734a docs: update doc 2024-04-06 02:18:15 +08:00
pengzhanbo
d964954f6f build: publish v1.0.0-rc.49 2024-04-05 00:17:59 +08:00
pengzhanbo
23729608d2 chore: add eslint ignore 2024-04-05 00:16:06 +08:00
pengzhanbo
4349ab023c docs: update doc 2024-04-05 00:15:46 +08:00
pengzhanbo
20d06c0de8 perf(plugin-md-power): codeSandbox button 2024-04-05 00:12:15 +08:00
pengzhanbo
053cabf38c docs: update docs 2024-04-04 00:37:20 +08:00
pengzhanbo
a590786541 feat(plugin-md-power): add @[jsfiddle](user/id) syntax supported 2024-04-04 00:34:10 +08:00
pengzhanbo
3a6ebcf3d4 feat(plugin-md-power): add @[codesandbox](user/id) syntax supported 2024-04-03 02:06:26 +08:00
pengzhanbo
9124f788a3 perf(plugin-md-power): add Loading 2024-04-01 02:08:00 +08:00
pengzhanbo
58520f2f50 build: publish v1.0.0-rc.48 2024-03-31 01:10:43 +08:00
pengzhanbo
e1c31e21dd docs: update doc 2024-03-31 01:07:51 +08:00
pengzhanbo
65ac90c094
Merge pull request #60 from pengzhanbo/md-power
vuepress-plugin-md-power
2024-03-31 01:00:33 +08:00
pengzhanbo
29ff7bdbd8 perf: update non-major deps 2024-03-31 00:15:38 +08:00
pengzhanbo
23120fd88a docs: update doc 2024-03-31 00:10:17 +08:00
pengzhanbo
07b911a5a3 feat(plugin-md-power): add @[replit](user/repl-name) syntax supported 2024-03-31 00:10:01 +08:00
pengzhanbo
9a441c0941 docs: update doc 2024-03-30 00:48:28 +08:00
pengzhanbo
041450e0d7 feat(plugin-md-power): add @[codepen](user/slash) syntax supported 2024-03-30 00:47:51 +08:00
pengzhanbo
c554001df3 fix(theme): 文件未添加到git时最后更新时间计算错误 2024-03-29 02:41:40 +08:00
pengzhanbo
c2fc5ad7b1 feat(plugin-md-power): add :[icon]: syntax supported 2024-03-29 00:38:14 +08:00
pengzhanbo
b8379e2245 feat(plugin-md-power): add @[youtube](url) syntax supported 2024-03-29 00:37:41 +08:00
pengzhanbo
0715ee97bd feat(plugin-md-power): add @[bilibili](url) syntax supported 2024-03-29 00:37:03 +08:00
pengzhanbo
cd7485c246 feat(plugin-md-power): add @[pdf](url) syntax supported 2024-03-29 00:35:17 +08:00
pengzhanbo
53dfcb83b1 feat(plugin-md-power): add @[caniuse](feature) syntax supported 2024-03-28 15:38:32 +08:00
pengzhanbo
b77a6334d7 build: publish v1.0.0-rc.47 2024-03-26 03:04:50 +08:00
pengzhanbo
15acdf6b91 feat(theme): add social link aria-label 2024-03-26 02:57:23 +08:00
pengzhanbo
9641fd0c99 feat(theme): 迁移组件型图标至CSS,较少SSR输出大小 2024-03-26 02:55:49 +08:00
pengzhanbo
6ce7fa6687 perf: update non-major deps 2024-03-26 02:54:21 +08:00
pengzhanbo
e41be4a871 build: publish v1.0.0-rc.46 2024-03-25 14:18:45 +08:00
pengzhanbo
be7de7bdbd docs: update themeConfig lastUpdated doc 2024-03-25 14:16:18 +08:00
pengzhanbo
c3d9a4e6de fix(theme): 修复博客页组件过渡效果导致的SSR水合错误 2024-03-25 13:26:57 +08:00
pengzhanbo
e3f79a8db6 fix(theme): 修复最后更新时间不一致导致的SSR水合过程错误 2024-03-25 13:26:03 +08:00
pengzhanbo
805374de71 perf(theme): 优化多语言切换时页面重定向 2024-03-25 01:07:13 +08:00
pengzhanbo
6ce97965a1 perf(theme): 优化sidebar 交互 2024-03-25 01:06:44 +08:00
pengzhanbo
5908363aca perf(plugin-auto-frontmatter): 优化 matter生成格式 2024-03-25 01:05:57 +08:00
pengzhanbo
3cada0bfd2 perf: update vuepress to rc.9 2024-03-24 02:00:54 +08:00
pengzhanbo
c1a9868ead perf:  导航栏链接支持传入文件路径 2024-03-24 01:59:41 +08:00
pengzhanbo
e6357fc992 docs: update docs 2024-03-22 01:12:27 +08:00
pengzhanbo
822d861dae docs: lint fix md 2024-03-22 01:09:57 +08:00
pengzhanbo
36f80431d3 chore: add markdown lint config 2024-03-22 01:09:23 +08:00
pengzhanbo
23d1128c4b docs: update deployment doc 2024-03-21 00:09:42 +08:00
pengzhanbo
34106ec709 fix(theme): 博客页无用户信息时过渡动效 2024-03-21 00:09:17 +08:00
pengzhanbo
d2bcc3fd07
Merge pull request #58 from huankong233/patch-1
fix docs
2024-03-20 10:44:55 +08:00
huan_kong
4ad09b9df3
fix docs 2024-03-20 10:40:36 +08:00
pengzhanbo
5d7f8ce0fe build: publish v1.0.0-rc.45 2024-03-19 00:42:08 +08:00
pengzhanbo
8423e6a203 perf: delete unused types 2024-03-19 00:40:29 +08:00
pengzhanbo
7489a81537 docs: update docs 2024-03-19 00:35:57 +08:00
pengzhanbo
7d7dede526 feat(theme): 博主信息新增 地理位置和所属组织 2024-03-19 00:35:39 +08:00
pengzhanbo
0fcfe3f0d6 feat(theme): 新增页面跳转过渡动效 2024-03-19 00:34:56 +08:00
pengzhanbo
c09cd98075 feat(theme): 新增导航栏社交图标过滤器 2024-03-19 00:33:59 +08:00
pengzhanbo
308c31408a feat(theme): 新增更多社交图标支持 2024-03-19 00:32:44 +08:00
pengzhanbo
f44bcece2c fix(theme): 分页 margin-left 错位 2024-03-19 00:32:01 +08:00
pengzhanbo
aee47e8797 fix(theme): 提示容器中代码组导航栏错位 2024-03-19 00:31:16 +08:00
pengzhanbo
3cf8bf5642 build: publish v1.0.0-rc.44 2024-03-18 00:14:40 +08:00
pengzhanbo
2fb3da0747 docs: update theme docs 2024-03-18 00:12:25 +08:00
pengzhanbo
5c9ae41380 perf(theme): notes list filter 2024-03-18 00:11:39 +08:00
pengzhanbo
563514f047 perf(theme): 优化 md 增强 UI 2024-03-18 00:11:07 +08:00
pengzhanbo
2e39974c54 perf(theme): 优化右侧边栏交互表现 2024-03-18 00:10:04 +08:00
pengzhanbo
b6f2c1450b perf: replace vuepress-plugin-comment2 to @vuepress/plugin-comment 2024-03-18 00:09:19 +08:00
pengzhanbo
3e730eca1c docs: update theme doc 2024-03-16 12:16:30 +08:00
pengzhanbo
6dbe98d33a build: publish v1.0.0-rc.43 2024-03-15 11:34:13 +08:00
pengzhanbo
9370464cc9 perf(theme): 博客页无博主信息时布局优化 2024-03-15 11:32:24 +08:00
pengzhanbo
6912c0e878 build: update non-major deps 2024-03-15 11:16:51 +08:00
pengzhanbo
bbee85299a build: update non-major deps to latest 2024-03-15 02:46:58 +08:00
pengzhanbo
156e5aef27 perf(theme): 优化notes链接生成 2024-03-15 02:39:58 +08:00
pengzhanbo
2ba25c94c7 fix(plugin-notes-data): 侧边栏自动生成 #57 2024-03-15 00:39:19 +08:00
pengzhanbo
16f35c4b36 build: publish v1.0.0-rc.42 2024-03-14 04:45:41 +08:00
pengzhanbo
920d3d1157 docs: update docs 2024-03-14 04:44:09 +08:00
pengzhanbo
eb4a73b6d7 feat(theme): add sidebar icon supported 2024-03-14 04:43:49 +08:00
pengzhanbo
90896934eb feat(theme): add readingTime frontmatter 2024-03-14 04:41:09 +08:00
pengzhanbo
9ea9141baa docs: update docs 2024-03-11 10:05:03 +08:00
pengzhanbo
d0638d5bf4 perf: 优化代码块、组背景色 2024-03-11 10:04:42 +08:00
pengzhanbo
a1fa99188c perf(theme): 优化预设背景交互流畅度 2024-03-11 10:02:50 +08:00
pengzhanbo
52bf814192 docs: update readme 2024-03-10 00:28:55 +08:00
pengzhanbo
f27d232e2f docs: update docs readme link 2024-03-09 01:25:34 +08:00
pengzhanbo
ca097146cf docs: lint fix 2024-03-09 01:09:31 +08:00
pengzhanbo
ed48677397 build: publish v1.0.0-rc.41 2024-03-09 01:00:01 +08:00
pengzhanbo
314940e7cf build: update deps to latest 2024-03-09 00:58:48 +08:00
pengzhanbo
51610c4c6a docs: update readme 2024-03-09 00:52:38 +08:00
pengzhanbo
c2daeaae6a
Merge pull request #56 from pengzhanbo/new_docs
全新的文档!
2024-03-09 00:38:32 +08:00
pengzhanbo
c56bae8d58 feat: 全新的文档! 2024-03-09 00:37:28 +08:00
pengzhanbo
207efbd12a docs: 删除旧文档 2024-03-09 00:37:01 +08:00
pengzhanbo
f1577fcec1 chore: 调整包脚本,适配 docs 部署 2024-03-09 00:36:18 +08:00
pengzhanbo
f2860d96da perf(theme): 优化分类、标签计算逻辑 2024-03-09 00:35:25 +08:00
pengzhanbo
ee30acbc15 perf(theme): 优化页面布局 2024-03-09 00:34:28 +08:00
pengzhanbo
bb8a971c90 feat(theme): 首页显示回到顶部按钮 2024-03-09 00:33:42 +08:00
pengzhanbo
ba235c421f perf(theme): 调整首页布局 2024-03-09 00:30:26 +08:00
pengzhanbo
deb17c7ebc feat(theme): 新增页面元数据作者信息 2024-03-09 00:28:56 +08:00
pengzhanbo
13bd752369 build: publish v1.0.0-rc.40 2024-03-04 04:04:17 +08:00
pengzhanbo
6c07a62ae4 chore(docs): update docs config 2024-03-04 03:55:30 +08:00
pengzhanbo
1eb541efae perf: update vue to latest 2024-03-04 03:44:17 +08:00
pengzhanbo
8778705380 Merge branch 'new_home' 2024-03-04 03:25:28 +08:00
pengzhanbo
bfa9164037 feat: 新增 首页布局容器组件 2024-03-04 03:24:18 +08:00
pengzhanbo
83bae10344 perf: 优化首页组件结构 2024-03-04 03:24:18 +08:00
pengzhanbo
faa00fc75c feat: 新增 首页布局容器组件 2024-03-04 03:20:18 +08:00
pengzhanbo
4a086c4cb1 perf: 优化首页组件结构 2024-03-04 03:06:14 +08:00
pengzhanbo
2be308b262
Merge pull request #55 from pengzhanbo/new_home
全新的首页!
2024-03-03 02:54:35 +08:00
pengzhanbo
53f54e3a90 style: lint fix 2024-03-03 02:37:25 +08:00
pengzhanbo
f553491001 chore: update .vscode 2024-03-03 02:34:21 +08:00
pengzhanbo
ef737098b5 feat(theme): notes 默认配置, link: '/note' 变更为 link: '/'
BREAKING CHANGE: 对于已使用该功能的用户,需要手动修改文章中的相关链接,以及 md front matter 中的 `permalink` 字段, 删去 `/note`
2024-03-03 02:17:38 +08:00
pengzhanbo
89c0085d08 perf: update home default config 2024-03-03 01:27:36 +08:00
pengzhanbo
cca2262c77 feat(theme): 全新的首页布局与配置方案! 2024-03-03 00:42:37 +08:00
pengzhanbo
032bb68b4c feat(theme): add Home Custom 2024-03-03 00:42:08 +08:00
pengzhanbo
489208f948 feat(theme): add Home Profile 2024-03-03 00:41:56 +08:00
pengzhanbo
dc450caeb5 feat(theme): add Home Text Image 2024-03-03 00:41:42 +08:00
pengzhanbo
305ba20beb feat(theme): add Home Hero 2024-03-03 00:41:24 +08:00
pengzhanbo
bc8f5aded3 feat(theme): add Home Features 2024-03-03 00:41:09 +08:00
pengzhanbo
09bbd7eb99 feat(theme): add Home Banner 2024-03-03 00:40:45 +08:00
pengzhanbo
05487158cc perf: 调整 Footer 布局 2024-03-02 21:27:38 +08:00
pengzhanbo
471084ff23 perf(theme): 优化 加密组件结构 2024-02-29 05:45:03 +08:00
pengzhanbo
ab4ee5d6f2 perf(theme): 导航栏相关组件归类 2024-02-29 04:50:27 +08:00
pengzhanbo
0d46ef46d7 perf(theme): 博客相关组件归类 2024-02-29 04:34:56 +08:00
pengzhanbo
7d5e7a0226 perf: 优化大屏幕下 Footer 宽度计算 2024-02-29 04:02:12 +08:00
pengzhanbo
9ffdf2c5fa docs: update readme 2024-02-28 00:22:27 +08:00
pengzhanbo
535c28f645 docs: update readme 2024-02-27 21:19:48 +08:00
pengzhanbo
bd8dea5743 build: publish v1.0.0-rc.39 2024-02-27 01:08:37 +08:00
pengzhanbo
67577e7067
Merge pull request #54 from pengzhanbo/encrypt_post
添加 加密 功能
2024-02-27 01:05:10 +08:00
pengzhanbo
254eb7a9ea feat(theme): 新增 加密 功能 2024-02-27 01:04:13 +08:00
pengzhanbo
ba899ec7ca perf(theme): 右侧边栏添加 headers 判断控制显示 2024-02-27 01:03:43 +08:00
pengzhanbo
ecd20647dd feat(theme): add showOutline prop to LocalNav 2024-02-27 01:02:18 +08:00
pengzhanbo
205cb1336c perf(plugin-shikiji): add experiment type 2024-02-27 01:01:24 +08:00
pengzhanbo
615c388fcb build: add bcrypt-ts deps 2024-02-27 01:00:01 +08:00
pengzhanbo
b0148d46a4 build: publish v1.0.0-rc.38 2024-02-25 02:36:49 +08:00
pengzhanbo
ef64ada12f fix(plugin-shikiji): 非 twoslash 代码块 添加 v-pre 指令 2024-02-25 02:34:45 +08:00
pengzhanbo
ff18a9b267 build: publish v1.0.0-rc.37 2024-02-25 00:52:46 +08:00
pengzhanbo
8f28c80583 docs(plugin-search): update description 2024-02-25 00:50:43 +08:00
pengzhanbo
c37b1308e9 feat(plugin-shikiji): 使用 floating-vue 实现 twoslash 模态框 2024-02-25 00:48:52 +08:00
pengzhanbo
4d950b7618 perf(plugin-shikiji): 优化开发时编译速度 2024-02-25 00:44:20 +08:00
pengzhanbo
4adc7862b5 perf(theme): 优化文章页在大屏幕下的表现 2024-02-25 00:43:34 +08:00
pengzhanbo
aa70bf9809 perf(plugin-blog-data): 排除文章摘要中的标题部分 2024-02-25 00:42:49 +08:00
pengzhanbo
5b4da6f04b build: publish v1.0.0-rc.36 2024-02-22 02:44:28 +08:00
pengzhanbo
96166b2a4d perf: bump vuepress to rc.8 2024-02-22 02:42:44 +08:00
pengzhanbo
90ddf0a72a style: lint fix 2024-02-21 15:22:56 +08:00
pengzhanbo
8e985b8d05 chore: workspace exclude plugin-page-collection 2024-02-21 15:22:35 +08:00
pengzhanbo
0ef1269818 build: update lint deps to latest 2024-02-21 15:21:51 +08:00
pengzhanbo
79dd3488b1
Merge pull request #53 from pengzhanbo/plugin-search
feat: add plugin-search (power by minisearch)
2024-02-21 03:54:33 +08:00
pengzhanbo
979d4d645f feat(theme): 新增 force-dark 外观配置 2024-02-21 03:52:35 +08:00
pengzhanbo
89c8a0e1d5 perf: bump shiki to latest 2024-02-21 00:35:13 +08:00
pengzhanbo
cec3191adc feat(theme): 切换为主题内部搜索插件 2024-02-20 01:42:00 +08:00
pengzhanbo
5159c5a434 perf: 优化 搜索按钮样式 2024-02-20 01:41:09 +08:00
pengzhanbo
e409ece6fd feat: add plugin-search (power by minisearch) 2024-02-20 01:40:11 +08:00
pengzhanbo
7245a3a9c7 build: publish v1.0.0-rc.35 2024-02-18 01:28:51 +08:00
pengzhanbo
16c65daea9 perf: 优化导航栏在不同设备的交互表现 2024-02-18 01:23:14 +08:00
pengzhanbo
d6c9fba835 fix: 修复文章列表页分页跳转错误 2024-02-18 01:22:29 +08:00
pengzhanbo
b47546aa22 build: publish v1.0.0-rc.34 2024-02-17 01:00:22 +08:00
pengzhanbo
040de83f5b fix(plugin-baidu-tongji): 修复错误的在enhance中使用 composable api 2024-02-17 00:57:56 +08:00
pengzhanbo
7b44273121 build: publish v1.0.0-rc.33 2024-02-17 00:30:36 +08:00
pengzhanbo
5f2234ea3b
Merge pull request #52 from pengzhanbo/vp-rc.7
perf: upgrade vuepress to rc.7
2024-02-17 00:27:29 +08:00
pengzhanbo
24261ab269 perf(theme): use vuepress virtual routes 2024-02-17 00:26:41 +08:00
pengzhanbo
d98785ada7 feat(theme): add AppearanceText options 2024-02-17 00:23:49 +08:00
pengzhanbo
41a3744db2 perf(plugin-shikiji): remove picocolors 2024-02-17 00:22:57 +08:00
pengzhanbo
38ef295bc2 perf(plugin-content-update): optimize Content Component 2024-02-17 00:21:55 +08:00
pengzhanbo
9dfa6c976f feat(plugin-baidu-tongji): add useBaiduTongji 2024-02-17 00:20:48 +08:00
pengzhanbo
e707e9a057 perf: upgrade vuepress to rc.7 2024-02-17 00:19:56 +08:00
pengzhanbo
dd19f195ea perf: bump shiki to latest 2024-02-16 02:03:58 +08:00
pengzhanbo
96326a5855 style: lint fix 2024-02-11 02:24:54 +08:00
pengzhanbo
a34a216f90 perf: 优化标签、归档页布局 2024-02-11 02:24:35 +08:00
pengzhanbo
b4057e3820
Merge pull request #51 from huankong233/main
优化功能
2024-02-11 02:17:57 +08:00
huan_kong
91fc1357d3 notessidebarauto 时 自动修正排序 2024-02-09 01:43:51 +08:00
huan_kong
698792275a 去除文章贴边显示 2024-02-09 01:39:34 +08:00
pengzhanbo
bf6df4c2b6 docs: add logo 2024-02-06 09:56:48 +08:00
pengzhanbo
c821a39f0c docs: add logo 2024-02-06 00:09:03 +08:00
pengzhanbo
c55d5214ec perf: 优化分页交互体验 2024-02-06 00:00:10 +08:00
pengzhanbo
50a59e2aca perf: 优化 页脚对齐 2024-02-05 23:59:07 +08:00
pengzhanbo
b495949b0d docs: update preview 2024-02-05 19:22:03 +08:00
pengzhanbo
56ef3dbe65 build: publish v1.0.0-rc.32 2024-02-05 15:44:22 +08:00
pengzhanbo
b764d2a10e perf: 优化博客文章列表页分页组件 2024-02-05 15:40:57 +08:00
pengzhanbo
f3feaf499a perf: 优化 博客文章列表页 布局 2024-02-05 08:58:33 +08:00
pengzhanbo
977d965c12 perf: 优化 标签页、归档页 布局 2024-02-05 08:57:58 +08:00
pengzhanbo
ae598a1f0f perf: 首页大图默认为 Bing 每日壁纸 2024-02-05 08:55:58 +08:00
pengzhanbo
5210925f87 perf: bump shiki 2024-02-05 08:52:31 +08:00
pengzhanbo
21268e6e2b perf: 迁移 read time 至官方插件 2024-02-05 08:47:47 +08:00
pengzhanbo
fed4efb566 perf: 优化内容细节, 搜索框的过渡效果 2024-02-04 10:33:09 +08:00
pengzhanbo
526e8d13c1 perf: 优化页面细节上的过渡效果 2024-02-04 10:32:41 +08:00
pengzhanbo
42bf1481a1 feat: 侧边栏 外观切换过渡效果 2024-02-04 10:32:08 +08:00
pengzhanbo
61e6e17894 feat: 文章页面 外观切换过渡效果 2024-02-04 10:31:23 +08:00
pengzhanbo
e3a9c07ed3 feat: 导航栏 外观切换过渡效果 2024-02-04 10:19:03 +08:00
pengzhanbo
062cc88a6a feat: 友情链接页 外观切换过渡效果 2024-02-04 10:18:07 +08:00
pengzhanbo
a44a6ad2ee feat: 博客相关页面 外观切换过渡效果,hover 效果 2024-02-04 10:17:35 +08:00
pengzhanbo
13f7421022 feat: 代码块高亮 外观切换过渡效果 2024-02-04 10:16:16 +08:00
pengzhanbo
5e75106987 docs: update readme 2024-02-02 11:24:36 +08:00
pengzhanbo
ba62cea775 build: publish v1.0.0-rc.31 2024-02-02 10:52:39 +08:00
pengzhanbo
3f85824875
Merge pull request #48 from pengzhanbo/RC-31
RC-31
2024-02-02 10:49:01 +08:00
pengzhanbo
08784df599 docs: update readme 2024-02-02 10:46:05 +08:00
pengzhanbo
8a969abb27 perf: 改版博客文章列表页UI,贴合设计趋势 2024-02-02 10:36:44 +08:00
pengzhanbo
8d56e989d4 perf: 优化文章标签页 UI 2024-02-02 10:35:27 +08:00
pengzhanbo
c1e0c854f6 perf: 优化文章归档页 UI 2024-02-02 10:34:58 +08:00
pengzhanbo
15c1f52b27 perf: 使用官方插件替换 seo、sitemap 插件 2024-02-02 09:59:56 +08:00
pengzhanbo
5f280420ef feat(plugin-blog-data): 添加支持生成额外的博客数据 2024-02-02 09:46:10 +08:00
pengzhanbo
9952a3fd85 feat: bump and rename shiki 2024-02-02 09:44:26 +08:00
pengzhanbo
1a2a06a124 docs: update package description 2024-02-02 09:42:24 +08:00
pengzhanbo
a35258fa47 docs: update readme 2024-01-31 12:29:05 +08:00
pengzhanbo
ce3f45733c build: publish v1.0.0-rc.30 2024-01-31 09:21:29 +08:00
pengzhanbo
a3a43f6a12
Merge pull request #46 from pengzhanbo/RC-30
perf: rename shikiji to shiki
2024-01-31 09:15:59 +08:00
pengzhanbo
eb30e03116 feat: add externalLink frontmatter 2024-01-31 09:14:59 +08:00
pengzhanbo
28cfb04490 perf: bump comment plugin to latest 2024-01-31 09:14:34 +08:00
pengzhanbo
0e4cb1a8c6 perf: 优化代码块样式交互 2024-01-31 08:24:05 +08:00
pengzhanbo
554167d123 feat: add highlight word 2024-01-31 08:23:01 +08:00
pengzhanbo
d087249840 perf: rename shikiji to shiki 2024-01-31 08:22:22 +08:00
pengzhanbo
5ffcd27bab chore: update change log 2024-01-27 01:57:15 +08:00
pengzhanbo
ad2bf1551b build: publish v1.0.0-rc.29 2024-01-27 01:54:32 +08:00
pengzhanbo
206c9357cb
Merge pull request #45 from pengzhanbo/RC-29
upgrade vuepress to `2.0.0-rc.2`
2024-01-27 01:51:21 +08:00
pengzhanbo
d6ca07e628 build: update deps to latest 2024-01-27 01:49:03 +08:00
pengzhanbo
38bfad7513 perf: bump shikiji to 0.10 2024-01-27 01:42:41 +08:00
pengzhanbo
87e0c39362 perf: update husky to v9 2024-01-27 01:41:15 +08:00
pengzhanbo
afb88ee4be perf: update content style 2024-01-27 01:35:25 +08:00
pengzhanbo
81870e0c23 perf: bump vuepress to 2.0.0-rc.2 2024-01-27 01:34:51 +08:00
pengzhanbo
1beacde121 perf: bump twoslash to 0.10.0 2024-01-26 02:37:32 +08:00
pengzhanbo
84faa40883 build: update deps to latest 2024-01-26 02:36:01 +08:00
pengzhanbo
185dadcd6f build: publish v1.0.0-rc.28 2024-01-22 00:35:03 +08:00
pengzhanbo
0f8acc37dc feat: update demo-wrapper container 2024-01-22 00:33:47 +08:00
pengzhanbo
ea6617554e build: update deps to latest 2024-01-22 00:33:12 +08:00
pengzhanbo
7f95ebb6dd build: publish v1.0.0-rc.27 2024-01-17 03:55:35 +08:00
pengzhanbo
77846006a5 feat: add demo-wrapper container support 2024-01-17 03:54:23 +08:00
pengzhanbo
230944a5e3 build: publish v1.0.0-rc.26 2024-01-17 03:21:17 +08:00
pengzhanbo
8a96e1fe37 build: update deps to latest 2024-01-17 03:18:21 +08:00
pengzhanbo
7b946d7b49 feat: add demo-wrapper container support 2024-01-17 03:11:35 +08:00
pengzhanbo
ca8fa1fb27 build: publish v1.0.0-rc.25 2024-01-16 00:38:26 +08:00
pengzhanbo
fd7801518e fix: 移动设备下 twoslash 样式兼容问题 2024-01-16 00:36:00 +08:00
pengzhanbo
54c3ed5f1a build: publish v1.0.0-rc.24 2024-01-12 15:19:27 +08:00
pengzhanbo
e2305cb337 fix: 修复在 windows 下的路径拼接错误 2024-01-12 15:18:11 +08:00
pengzhanbo
7933b824b9
Merge pull request #44 from huankong233/main
chore: use upath to replace node:path
2024-01-12 13:40:41 +08:00
huan_kong
1677a19db5 chore: use upath to replace node:path 2024-01-12 10:02:49 +08:00
pengzhanbo
b3d6b2377a build: publish v1.0.0-rc.23 2024-01-12 02:45:45 +08:00
pengzhanbo
77f2f2c354 docs: update readme 2024-01-12 02:41:26 +08:00
pengzhanbo
a83e665cbd
Merge pull request #42 from pengzhanbo/RC-23
feat: (试验性)代码高亮支持 twoslash
2024-01-12 02:38:03 +08:00
pengzhanbo
ebfbf1fb67 build: update deps to latest 2024-01-12 02:30:59 +08:00
pengzhanbo
d0fdf79477 feat: (试验性)代码高亮支持 twoslash 2024-01-12 02:26:36 +08:00
pengzhanbo
de8d9e0d61 style: lint css 2024-01-11 00:55:27 +08:00
pengzhanbo
f0c500da5f chore: update deps to latest 2024-01-11 00:55:11 +08:00
pengzhanbo
3e34309fb4
Merge pull request #41 from pengzhanbo/RC-22
fix: 修复在最小配置下的预设问题 #40
2024-01-08 16:08:14 +08:00
pengzhanbo
804e6df160 build: publish v1.0.0-rc.22 2024-01-08 16:06:43 +08:00
pengzhanbo
2dbbc79a75 fix: 修复在最小配置下的预设问题 #40 2024-01-08 16:05:02 +08:00
pengzhanbo
981ee99046 build: publish v1.0.0-rc.21 2024-01-08 13:42:46 +08:00
pengzhanbo
ab798d4234 fix: 修复 notes data 插件 路径解析 2024-01-08 13:13:59 +08:00
pengzhanbo
1400837eef build: publish v1.0.0-rc.20 2024-01-08 01:00:27 +08:00
pengzhanbo
83922dcc50 chore: update eslint config 2024-01-08 00:58:31 +08:00
pengzhanbo
3e5ecada8e perf: 调整内容容器中代码块在移动设备 UI 2024-01-08 00:51:14 +08:00
pengzhanbo
6b5fd5d427 perf: 优化默认导航栏生成 2024-01-08 00:41:39 +08:00
pengzhanbo
8f7f4cab42 style: lint fix 2024-01-08 00:41:11 +08:00
pengzhanbo
1e0ac4315b build: publish v1.0.0-rc.19 2024-01-07 03:46:17 +08:00
pengzhanbo
33aaf369cf perf: 优化在移动设备的 UI 表现 2024-01-07 03:40:42 +08:00
pengzhanbo
7b52af5d32 build: publish v1.0.0-rc.18 2024-01-07 03:14:52 +08:00
pengzhanbo
bc4100e4a1 perf: 优化在移动设备的 UI 表现 2024-01-07 03:12:42 +08:00
pengzhanbo
d25b830f34 build: publish v1.0.0-rc.17 2024-01-07 02:27:23 +08:00
pengzhanbo
fcbd562dc3 fix: docs search ui 2024-01-07 02:25:53 +08:00
pengzhanbo
26bf20de2b build: publish v1.0.0-rc.16 2024-01-07 02:12:00 +08:00
pengzhanbo
ac4768d90e docs: update contributing 2024-01-07 02:07:59 +08:00
pengzhanbo
1b7f810133
Merge pull request #39 from pengzhanbo/RC-16
RC-16
2024-01-07 01:56:18 +08:00
pengzhanbo
fa14c4c00b style: stylelint fix 2024-01-07 01:54:25 +08:00
pengzhanbo
5a96bacdec chore: add stylelint support 2024-01-07 01:53:19 +08:00
pengzhanbo
30ac4e3ac9 chore: add npmrc 2024-01-07 01:52:21 +08:00
pengzhanbo
fe5da597ce feat: md 增强支持 tabs、footnote、gfm 2024-01-07 01:51:41 +08:00
pengzhanbo
12917050c8 feat: 文章列表页分页路由映射 2024-01-07 01:50:04 +08:00
pengzhanbo
36aa6c99b5 perf: 优化开发模式下 devtools 主题数据预览 2024-01-07 01:48:31 +08:00
pengzhanbo
d5306d9a49 refactor: remove scripts dir 2024-01-07 01:45:23 +08:00
pengzhanbo
91dd748c24 docs: update readme 2024-01-06 00:42:48 +08:00
pengzhanbo
9d6f49423f build: publish v1.0.0-rc.15 2024-01-06 00:22:07 +08:00
pengzhanbo
d2ed16874f
Merge pull request #38 from pengzhanbo/RC-15
RC-15
2024-01-06 00:18:34 +08:00
pengzhanbo
1355bd580d docs: update readme 2024-01-06 00:17:21 +08:00
pengzhanbo
2f8607fc96 docs: 调整简化 docs 主题配置 2024-01-06 00:17:06 +08:00
pengzhanbo
bf3a0afabb feat: 增强主题默认配置,适配多语言 2024-01-06 00:16:30 +08:00
pengzhanbo
6d6aaea628 perf: 404页面 多语言支持 2024-01-06 00:16:01 +08:00
pengzhanbo
6fb37eeb63 perf: 优化 多语言切换组件交互表现 2024-01-06 00:15:13 +08:00
pengzhanbo
e4e03e0ae2 perf: 优化多语言下自动生成页面路径 2024-01-06 00:14:31 +08:00
pengzhanbo
a268b84849 perf: 优化 文章列表页侧边栏 UI 2024-01-06 00:13:23 +08:00
pengzhanbo
a3fa5e444e feat: 优化搜索插件默认配置 2024-01-06 00:12:35 +08:00
pengzhanbo
12b1770e9d build: 更新依赖,移除非必须依赖 2024-01-06 00:11:44 +08:00
pengzhanbo
2aeb5456df chore: add CONTRIBUTING 2024-01-05 03:11:17 +08:00
pengzhanbo
a3c0f944dd build: publish v1.0.0-rc.14 2024-01-05 01:52:43 +08:00
pengzhanbo
b6783d1198
Merge pull request #37 from pengzhanbo/RC-14
RC-14
2024-01-05 01:46:43 +08:00
pengzhanbo
5d17abb6ef build: update deps to latest 2024-01-05 01:45:40 +08:00
pengzhanbo
dc7474fcd7 docs: 调整 docs 示例配置 2024-01-05 01:38:09 +08:00
pengzhanbo
5ff9570018 feat: 增强多语言支持 2024-01-05 01:37:45 +08:00
pengzhanbo
530797d61a refactor(theme): 调整主题 node目录 代码组织 2024-01-05 01:36:54 +08:00
pengzhanbo
689bde34bb perf: 优化博客列表页数据逻辑 2024-01-05 01:35:12 +08:00
pengzhanbo
66f1f037e4 feat(plugin-notes-data): 支持 数组形式的插件配置项 2024-01-05 01:34:09 +08:00
pengzhanbo
1fe16bd579 feat: mdEnhance 默认启用 katex 2024-01-05 01:31:53 +08:00
pengzhanbo
5885ac0f08 chore: add vscode recommend extensions 2024-01-05 01:30:09 +08:00
pengzhanbo
3cde020044 chore: add vscode settings by eslint 2024-01-05 01:29:29 +08:00
pengzhanbo
4ad71d2e53 build: publish v1.0.0-rc.13 2024-01-03 16:33:43 +08:00
pengzhanbo
8625c68202 fix(theme): build html fail 2024-01-03 16:32:30 +08:00
pengzhanbo
33e2fb78c8 build: publish v1.0.0-rc.12 2024-01-02 00:38:19 +08:00
pengzhanbo
72f7e56577
Merge pull request #36 from pengzhanbo/RC-12
RC-12
2024-01-02 00:35:07 +08:00
pengzhanbo
c4d9a10efc style: lint fix 2024-01-02 00:34:02 +08:00
pengzhanbo
aac83e0c14 perf: 优化页面打印布局排版 2024-01-02 00:33:26 +08:00
pengzhanbo
75c59c588c perf: 优化内容容器在移动端的表现效果 2024-01-02 00:31:25 +08:00
pengzhanbo
8fafa54940 build: update deps to latest 2024-01-02 00:29:50 +08:00
pengzhanbo
448c4d51e8 build: publish v1.0.0-rc.11 2024-01-01 08:48:59 +08:00
pengzhanbo
cc72019e2b
Merge pull request #35 from pengzhanbo/RC-11
RC-11
2024-01-01 08:46:37 +08:00
pengzhanbo
fb2703fb56 perf: 调整包导入格式,优化文档说明 2024-01-01 08:45:38 +08:00
pengzhanbo
a69a8ead5d feat: 优化 html 构建输出 2024-01-01 08:44:57 +08:00
pengzhanbo
a798601680 perf: 优化内容容器中代码块 UI 2024-01-01 08:44:17 +08:00
pengzhanbo
eca6a139fd build: update deps to latest 2024-01-01 08:43:46 +08:00
pengzhanbo
68246491a8 docs: update readme 2023-12-31 17:56:04 +08:00
pengzhanbo
f01bb62bab build: publish v1.0.0-rc.10 2023-12-31 00:36:02 +08:00
pengzhanbo
dd14296700 fix: 修复内容容器内代码样式 2023-12-31 00:34:56 +08:00
pengzhanbo
d0c52cf732 build: publish v1.0.0-rc.9 2023-12-31 00:15:35 +08:00
pengzhanbo
3760ba2ecd
Merge pull request #34 from pengzhanbo/RC-9
RC-9
2023-12-31 00:13:30 +08:00
pengzhanbo
c0c3122592 feat: 新增 back-to-top 2023-12-31 00:12:29 +08:00
pengzhanbo
2abdb84ae8 perf: 优化 标签 UI 2023-12-31 00:12:03 +08:00
pengzhanbo
fd550e460b perf: 优化 UI 2023-12-31 00:11:19 +08:00
pengzhanbo
90e6b81fb7 feat(plugin-iconify): 新增更多的 icon props 2023-12-31 00:10:21 +08:00
pengzhanbo
85b6d2c7d7 feat(plugin-content-update): 新增内容更新触发类型 2023-12-31 00:09:45 +08:00
pengzhanbo
d537d5af93 feat(plugin-caniuse): 新增 浏览器版本支持列表选项 2023-12-31 00:08:58 +08:00
pengzhanbo
d32cd37b25 docs: update docs 2023-12-31 00:07:59 +08:00
pengzhanbo
5a74a66ef7 perf: 优化搜索、内容容器内代码块 UI 2023-12-30 11:57:00 +08:00
pengzhanbo
0d2feb4cf8 build: publish v1.0.0-rc.8 2023-12-30 08:23:04 +08:00
pengzhanbo
d040519780
Merge pull request #33 from pengzhanbo/RC-8
RC-8
2023-12-30 08:21:06 +08:00
pengzhanbo
6e4b1704b6 Merge branch 'main' into RC-8 2023-12-30 08:20:12 +08:00
pengzhanbo
f01cfe98ae perf: 优化 搜索框 UI 2023-12-30 08:16:58 +08:00
pengzhanbo
8915ced914 perf: 优化代码块和任务列表 UI 2023-12-30 08:16:34 +08:00
pengzhanbo
2ab6ae2b1c feat: support print page 2023-12-30 08:15:59 +08:00
pengzhanbo
e61e069b20
Merge pull request #32 from huankong233/main
优化功能
2023-12-29 15:22:49 +08:00
huan_kong
c803cd8144
修复移动端搜索框圆角 2023-12-29 14:40:54 +08:00
huan_kong
387228a838
Update defaultOptions.ts 2023-12-29 14:19:52 +08:00
pengzhanbo
d7b5abb6e6 build: publish v1.0.0-rc.7 2023-12-29 03:45:12 +08:00
pengzhanbo
4f914d8eee
Merge pull request #30 from pengzhanbo/RC-7
RC-7
2023-12-29 03:40:55 +08:00
pengzhanbo
a598209a51 perf: 删除无用文件 2023-12-29 03:34:52 +08:00
pengzhanbo
7b8fea5d40 perf: 优化归档页、标签页 UI 2023-12-29 02:25:58 +08:00
pengzhanbo
713b2cfbb7 perf: 优化 blog extract 交互 2023-12-29 01:38:55 +08:00
pengzhanbo
bcc894ba98 perf: 优化开发时编写md时一些组件的热更新交互 2023-12-29 00:16:18 +08:00
pengzhanbo
496bbae295 feat: 新增 content-update 插件 2023-12-29 00:15:20 +08:00
pengzhanbo
90465d2b02 perf: 调整代码复制逻辑,适配 shikiji diff 2023-12-28 19:27:09 +08:00
pengzhanbo
bd0f857e6a perf: 调整 iconify 逻辑 2023-12-28 17:24:15 +08:00
pengzhanbo
7ab06863e7 perf: 优化代码结构 2023-12-28 15:30:56 +08:00
pengzhanbo
0dc441a0e6 build: update deps to latest 2023-12-28 15:30:07 +08:00
pengzhanbo
cebf7ec45d build: publish v1.0.0-rc.6 2023-12-27 14:36:21 +08:00
pengzhanbo
5a923fdf49
Merge pull request #29 from pengzhanbo/rc-6
RC-6
2023-12-27 14:33:51 +08:00
pengzhanbo
6f97ba44da perf: 优化搜索框、内容容器样式 2023-12-27 14:30:48 +08:00
pengzhanbo
0244f6886f perf: 更新 externalLinkIcon 样式 2023-12-27 14:30:03 +08:00
pengzhanbo
db5220a015 chore: support eslint flat config 2023-12-27 02:18:19 +08:00
pengzhanbo
6e6c214e59 chore: remove windicss 2023-12-27 01:19:29 +08:00
pengzhanbo
15d9265b21 perf: 调整主题配置 2023-12-27 01:09:42 +08:00
pengzhanbo
a81947aca4 perf: 调整 滚动交互 2023-12-27 01:09:05 +08:00
pengzhanbo
3b00215b8b perf: copy code 插件样式调整 2023-12-27 01:08:36 +08:00
pengzhanbo
fe117e18df build: publish v1.0.0-rc.5 2023-12-26 22:04:16 +08:00
pengzhanbo
95e0ad68e9
Merge pull request #28 from pengzhanbo/rc-5
PR-5
2023-12-26 22:01:58 +08:00
pengzhanbo
616672fa59 feat: 添加移动设备下博客列表页 avatar UI交互 2023-12-26 21:59:54 +08:00
pengzhanbo
1ebab7054a feat: 页面级别控制是否可评论 2023-12-26 19:04:12 +08:00
pengzhanbo
f4e6560b96 build: update deps to latest 2023-12-26 18:52:05 +08:00
pengzhanbo
1ac989b998 fix: 修复 SSR 替换字符问题 2023-12-26 18:51:46 +08:00
pengzhanbo
db40b71a18 build: publish v1.0.0-rc.4 2023-12-26 13:31:48 +08:00
pengzhanbo
5b881e861d
Merge pull request #26 from pengzhanbo/rc-4
RC-4
2023-12-26 13:28:06 +08:00
pengzhanbo
3ab460b01b feat: 添加 标签页、归档页 支持 2023-12-26 13:27:04 +08:00
pengzhanbo
25d703b906 feat: 添加友情链接页面支持 2023-12-26 13:26:05 +08:00
pengzhanbo
e5db17fb7e perf: 优化侧边栏和页面内导航 2023-12-26 13:08:31 +08:00
pengzhanbo
4f02717ea3 perf: 优化内容容器 暗色模式下 UI 2023-12-26 13:05:52 +08:00
pengzhanbo
a20393238b chore: update docs config 2023-12-26 13:04:54 +08:00
pengzhanbo
f91e282588 docs: update readme 2023-12-25 08:31:04 +08:00
pengzhanbo
68e52273bc docs: update readme 2023-12-25 08:16:43 +08:00
pengzhanbo
492b4fc4d5 docs: update readme 2023-12-25 08:12:33 +08:00
pengzhanbo
6e92b9a9f8 docs: update readme 2023-12-25 08:10:24 +08:00
pengzhanbo
b2fdbc18b6 docs: update readme 2023-12-25 08:07:11 +08:00
pengzhanbo
46f4372fbf build: publish v1.0.0-rc.3 2023-12-25 06:36:13 +08:00
pengzhanbo
4f158ad275
Merge pull request #25 from pengzhanbo/rc-3
RC-3
2023-12-25 06:31:02 +08:00
pengzhanbo
fc540f6a3e style: update search UI 2023-12-25 06:14:48 +08:00
pengzhanbo
aa9b8727db feat: support reading time 2023-12-25 06:14:15 +08:00
pengzhanbo
99f04bb2d0 fix: 代码块在内容容器中的 UI错误 2023-12-25 03:53:09 +08:00
pengzhanbo
086516a4a0 perf: 调整 doc search UI 2023-12-25 03:52:33 +08:00
pengzhanbo
37d0bac7c9 docs: update example 2023-12-25 03:51:17 +08:00
pengzhanbo
0d329f7f4a build: publish v1.0.0-rc.2 2023-12-24 02:28:23 +08:00
pengzhanbo
bb68f998a7
Merge pull request #24 from pengzhanbo/rc-2
RC-2
2023-12-24 02:23:30 +08:00
pengzhanbo
918fba3e5e feat: add PageFooter 2023-12-24 02:22:35 +08:00
pengzhanbo
b9ffac184a perf: 优化交互体验,调整 UI 2023-12-24 02:21:24 +08:00
pengzhanbo
5ccb6f02c4 docs: update docs 2023-12-24 02:18:28 +08:00
pengzhanbo
58eb1c88a0 perf: shikiji 处理转译字符 2023-12-24 02:16:49 +08:00
pengzhanbo
49236d812d feat: rename vuepress-plugin-netlify-functions 2023-12-24 02:16:01 +08:00
pengzhanbo
7055d1f866 build: update deps to latest 2023-12-24 02:14:48 +08:00
pengzhanbo
c84a2441b8 build: publish v1.0.0-rc.1 2023-12-23 12:26:16 +08:00
pengzhanbo
d330af8271 perf(theme): remove copy-code options 2023-12-23 12:24:51 +08:00
pengzhanbo
0eb2e9f129 chore: update package files field 2023-12-23 12:20:41 +08:00
pengzhanbo
21059df58b perf: optimize plugin-copy-code 2023-12-23 12:18:11 +08:00
pengzhanbo
e0870e03db perf: update SidebarItem 2023-12-23 12:17:33 +08:00
pengzhanbo
ebbca3dfa0 docs: update readme 2023-12-23 10:10:17 +08:00
pengzhanbo
03058ea7a1 docs: update readme 2023-12-23 10:08:48 +08:00
pengzhanbo
694adebd83 chore: publish 1.0.0-rc.0 2023-12-23 10:01:42 +08:00
pengzhanbo
b6a9601e9f chore: update 2023-12-23 09:59:08 +08:00
pengzhanbo
66287448b4 chore: split changelog 2023-12-23 09:54:40 +08:00
pengzhanbo
8e70389a31 build: publish v1.0.0-rc.0 2023-12-23 09:51:21 +08:00
pengzhanbo
94a824436a
Merge pull request #23 from pengzhanbo/rc-0
RC: breaking changes and more changes
2023-12-23 09:48:52 +08:00
pengzhanbo
46f6df489e feat: 代码高亮魔法注释 UI 2023-12-23 09:18:43 +08:00
pengzhanbo
f64a6da55f feat: 移除 shiki 和 prismjs,添加 shikiji 2023-12-23 09:17:43 +08:00
pengzhanbo
8e959bcd98 feat: 优化 copy-code UI 和 交互 2023-12-23 09:16:32 +08:00
pengzhanbo
617c6c9243 chore: update deps 2023-12-23 09:15:45 +08:00
pengzhanbo
1111e855cb feat: add plugin-shikiji 2023-12-23 09:15:00 +08:00
pengzhanbo
14e37ed52f refactor: 调整 monorepo 目录结构, 对 package 重命名 2023-12-23 04:20:22 +08:00
pengzhanbo
c9c7bb441c perf: 代码复制交互优化 2023-12-23 02:45:57 +08:00
pengzhanbo
19dd1f002a feat: 新增可配置选项 2023-12-23 01:55:01 +08:00
pengzhanbo
92fb84d946 perf: 优化侧边栏交互 2023-12-23 01:54:16 +08:00
pengzhanbo
1b7d3dae33 feat: 导航栏子元素高亮时父元素高亮 2023-12-23 01:53:33 +08:00
pengzhanbo
387dff9a60 perf: 使用 vueuse 实现页面滚动锁定 2023-12-23 01:52:12 +08:00
pengzhanbo
1db07c4215 feat: 新增移动设备页内headers导航 2023-12-23 01:49:39 +08:00
pengzhanbo
8f2507bbb2 perf: 优化链接属性设置 2023-12-23 01:48:18 +08:00
pengzhanbo
d2aba8de87 chore: update deps and vscode 2023-12-23 01:46:34 +08:00
pengzhanbo
0085ac9c7c build: publish v1.0.0-beta.89 2023-12-22 00:28:27 +08:00
pengzhanbo
e37fc6e647 build: update deps to latest 2023-12-22 00:17:48 +08:00
pengzhanbo
9a9e68d526 perf: optimize caniuse render 2023-12-22 00:17:28 +08:00
pengzhanbo
a7306aa7ae build: publish v1.0.0-beta.88 2023-11-30 00:35:34 +08:00
pengzhanbo
b0cbe45d7d perf(plugin-caniuse): optimize render content 2023-11-30 00:31:40 +08:00
pengzhanbo
1877865e81 build: publish v1.0.0-beta.87 2023-11-21 02:36:29 +08:00
pengzhanbo
7bc527956c style(theme): fix import order 2023-11-21 02:35:15 +08:00
pengzhanbo
0782fe06f8 fix(theme): options.frontmatter not defined
fix `options.frontmatter` not be defined (#17)

fix #17
2023-11-21 02:32:08 +08:00
pengzhanbo
2dfe9e4170
Merge pull request #19 from huankong233/main 2023-11-21 02:21:08 +08:00
huan_kong
2f08ccd6b4 fix: fix the wrong position in note 2023-11-20 15:58:32 +08:00
huan_kong
0f88f5064f feat: add config of autoFrontmatter 2023-11-20 15:58:06 +08:00
pengzhanbo
f746d46141 style: update basic style 2023-11-18 15:13:03 +08:00
pengzhanbo
35c067d369 build: publish v1.0.0-beta.86 2023-11-18 10:34:35 +08:00
pengzhanbo
df7772e76e build: update deps to latest 2023-11-18 10:32:54 +08:00
pengzhanbo
f6d3cadd7d build: update deps to latest 2023-11-09 00:53:23 +08:00
pengzhanbo
4e831de35d build: update deps to latest 2023-10-11 21:30:06 +08:00
pengzhanbo
a66892598f build: publish v1.0.0-beta.85 2023-10-11 04:39:08 +08:00
pengzhanbo
e29d431dfd style: update eslint config and fix code lint 2023-10-11 04:32:15 +08:00
pengzhanbo
1808946143 build: update deps to latest 2023-10-11 04:24:49 +08:00
pengzhanbo
1766ebdf51 build: publish v1.0.0-beta.84 2023-09-23 23:41:25 +08:00
pengzhanbo
a3f2e72d94 docs: update readme 2023-09-23 23:38:38 +08:00
pengzhanbo
ffab2b30d1
Merge pull request #16 from northword/patch-1 2023-09-23 23:36:16 +08:00
Northword
e14b1a8bf1
fix: injection of frontmatter.head fails when it does not exist 2023-09-23 17:33:02 +08:00
pengzhanbo
98d641ee52 build: publish v1.0.0-beta.83 2023-08-06 13:08:05 +08:00
pengzhanbo
41b555b577 feat: update post list style 2023-08-06 13:06:13 +08:00
pengzhanbo
3c2ee45cc9 fix: 多语言配置错误 (#15) 2023-08-06 12:51:54 +08:00
pengzhanbo
01e3afd30d build: update deps to latest 2023-08-06 12:50:08 +08:00
pengzhanbo
0c1a84f27c build: publish v1.0.0-beta.82 2023-07-29 03:49:52 +08:00
pengzhanbo
61ff38a301 style: fix lint 2023-07-29 03:48:40 +08:00
pengzhanbo
599b37dd67 style: fix lint 2023-07-29 03:47:04 +08:00
pengzhanbo
95542b82de style: fix lint 2023-07-29 03:44:14 +08:00
pengzhanbo
b9a8492e08 build: update deps to latest 2023-07-29 03:33:51 +08:00
pengzhanbo
620f888146 build: publish v1.0.0-beta.81 2023-07-18 21:37:16 +08:00
pengzhanbo
c6081913d2 style: fix lint 2023-07-18 21:35:22 +08:00
pengzhanbo
bf29308a90
Merge pull request #14 from huankong233/main 2023-07-18 21:32:41 +08:00
huan_kong
faa228c3d3
缓解Nav错误的换行 2023-07-16 10:19:38 +08:00
huan_kong
4f255e51ec
修复hero-name过长导致的布局错误 2023-07-16 10:15:33 +08:00
pengzhanbo
8b9833449b
Merge pull request #13 from huankong233/main 2023-07-03 16:19:06 +08:00
huan_kong
6bdb95a826
锚点跳转时增加平滑移动 2023-07-03 09:19:23 +08:00
pengzhanbo
53bca6a680 fix: auto frontmatter fail 2023-07-01 16:06:45 +08:00
pengzhanbo
6fd089418d build: publish v1.0.0-beta.80 2023-06-30 19:25:36 +08:00
pengzhanbo
ce7eeed087 style: lint fix 2023-06-30 19:22:49 +08:00
pengzhanbo
8dbf3868b2
Merge pull request #12 from huankong233/main 2023-06-30 19:10:37 +08:00
huan_kong
a52ba5a646
Update LayoutContent.vue 2023-06-30 18:43:49 +08:00
huan_kong
2d49ca649a
Update NotFound.vue 2023-06-30 18:43:05 +08:00
pengzhanbo
3798ef9e38 build: publish v1.0.0-beta.79 2023-06-30 17:27:27 +08:00
pengzhanbo
56cd453b52 fix: darkMock provide fail in windows 2023-06-30 17:25:49 +08:00
pengzhanbo
ccebdeff66 build: publish v1.0.0-beta.78 2023-06-30 16:23:57 +08:00
pengzhanbo
0bdbcc30a0 style: lint fix, add props default value 2023-06-30 16:22:24 +08:00
pengzhanbo
5486aa9d4f fix: generate notes permalink fail in windows #11 2023-06-30 16:09:53 +08:00
pengzhanbo
c79f944fa8 fix: generate notes permalink fail in windows #11 2023-06-30 16:03:28 +08:00
pengzhanbo
38ca019add fix: auto frontmatter createTime format (#9) 2023-06-30 02:03:17 +08:00
pengzhanbo
2ba7868e2a build: publish v1.0.0-beta.77 2023-06-30 01:52:05 +08:00
pengzhanbo
6e962500bf build: publish v1.0.0-beta.76 2023-06-30 01:47:37 +08:00
pengzhanbo
6d3149e6ff style: lint fix 2023-06-30 01:45:02 +08:00
pengzhanbo
7d12839838 fix(theme): normalize blog&category path 2023-06-30 01:42:42 +08:00
pengzhanbo
57872ce288
Merge pull request #5 from huankong233/main 2023-06-30 01:40:51 +08:00
huan_kong
c30b21f835
修复在页面刷新的时候获取的isDark值错误 2023-06-30 01:25:29 +08:00
huan_kong
b132ecf8c9
Merge branch 'pengzhanbo:main' into main 2023-06-30 01:23:36 +08:00
pengzhanbo
fb4e223f89 build: publish v1.0.0-beta.75 2023-06-30 01:17:12 +08:00
pengzhanbo
7f1fb3906a fix: comment dark 2023-06-30 01:15:14 +08:00
pengzhanbo
ae4496d591 fix: hydration completed but contains mismatches 2023-06-30 01:14:36 +08:00
pengzhanbo
73314557d2 build: publish v1.0.0-beta.74 2023-06-29 22:42:53 +08:00
pengzhanbo
e40bf973e3 fix: navbar text 2023-06-29 22:40:34 +08:00
pengzhanbo
f7991a26d2 feat: support home page banner mask opacity 2023-06-29 22:33:37 +08:00
huan_kong
03a1e00707
让404页面支持深色模式 2023-06-29 21:57:30 +08:00
pengzhanbo
20ea694d12 build: publish v1.0.0-beta.73 2023-06-29 18:27:29 +08:00
pengzhanbo
3bb5fda2fd refactor: remove console 2023-06-29 18:11:39 +08:00
pengzhanbo
78cea01c88 fix: normalize path posix 2023-06-29 18:11:15 +08:00
pengzhanbo
ae2fb0b601 fix: initial switch appearance error (#3) 2023-06-29 18:10:40 +08:00
pengzhanbo
d980c361ba
Merge pull request #4 from huankong233/main 2023-06-29 16:02:37 +08:00
huan_kong
7c3b1adae7
Update sidebar.ts 2023-06-29 14:59:48 +08:00
pengzhanbo
606834d753 build: publish v1.0.0-beta.72 2023-06-28 18:33:00 +08:00
pengzhanbo
29faa9bdf3 fix(plugin-notes-data): 修复 不同系统的文件分隔符不同导致的正则匹配错误(#3) 2023-06-28 18:30:15 +08:00
pengzhanbo
7ebd7d73f3 build: publish v1.0.0-beta.71 2023-06-16 16:48:33 +08:00
pengzhanbo
249ea11fbb feat: add i18n support 2023-06-16 16:41:45 +08:00
pengzhanbo
30fe922a0c docs: add i18n config 2023-06-16 16:41:20 +08:00
pengzhanbo
145f07c175 build: update deps to latest 2023-06-16 16:39:27 +08:00
pengzhanbo
39160c27e7 build: publish v1.0.0-beta.70 2023-06-03 15:43:14 +08:00
pengzhanbo
06cee33227 build: update deps to latest 2023-06-03 15:34:35 +08:00
pengzhanbo
ca3e31c1e9 build: publish v1.0.0-beta.69 2023-05-09 00:26:24 +08:00
pengzhanbo
fcb794e057 fix: nav link render 2023-05-09 00:21:38 +08:00
pengzhanbo
9d233bf4d7 build: bump deps 2023-05-09 00:21:08 +08:00
pengzhanbo
a487c1cad4 build: publish v1.0.0-beta.68 2023-04-28 04:23:23 +08:00
pengzhanbo
43ce8b45c7 build: bump deps 2023-04-28 04:17:49 +08:00
pengzhanbo
ff1ee52708 build: publish v1.0.0-beta.67 2023-04-10 23:17:33 +08:00
pengzhanbo
a19d3bc476 style: fix style 2023-04-10 23:15:44 +08:00
pengzhanbo
3699b01799 fix: nav 重复显示 2023-04-10 23:11:54 +08:00
pengzhanbo
31fb97ed3c build: publish v1.0.0-beta.66 2023-04-10 20:59:26 +08:00
pengzhanbo
576b514d3a style: import order 2023-04-10 20:57:13 +08:00
pengzhanbo
7ed17d6f19 style: pre code font-size 2023-04-10 20:50:07 +08:00
pengzhanbo
bcbd2fd209 chore: bump deps 2023-04-10 20:47:21 +08:00
pengzhanbo
ed1610916b perf(theme): sidebar hooks 2023-03-07 21:56:59 +08:00
pengzhanbo
6ddc00986f build: publish v1.0.0-beta.65 2023-02-26 16:59:06 +08:00
pengzhanbo
a24ea40d02 docs(plugin-iconify): update doc 2023-02-26 16:51:10 +08:00
pengzhanbo
f573b62633 fix(theme): fixed auto frontmatter createTime 2023-02-26 16:50:36 +08:00
pengzhanbo
86ddff5966 build: publish v1.0.0-beta.64 2023-02-26 00:22:18 +08:00
pengzhanbo
3d31767dc0 fix(plugin-auto-frontmatter): modified formatter 2023-02-26 00:20:43 +08:00
pengzhanbo
6bdcd25730 build: publish v1.0.0-beta.63 2023-02-25 23:08:02 +08:00
pengzhanbo
dab3f46257 perf: optimize auto-frontmatter 2023-02-25 23:06:23 +08:00
pengzhanbo
547860c4b1 build: publish v1.0.0-beta.62 2023-02-20 11:41:28 +08:00
pengzhanbo
b29a93eae1 fix(theme): 修复颜色模式按钮动画效果 2023-02-20 11:39:51 +08:00
pengzhanbo
2a76f26f94 fix(theme): 补充 auto frontmatter 缺失字段 2023-02-19 02:56:34 +08:00
pengzhanbo
df899d895f build: publish v1.0.0-beta.61 2023-02-18 23:49:03 +08:00
pengzhanbo
5fc26ffd74 fix(theme): fix auto matter title,permalink 2023-02-18 23:41:26 +08:00
pengzhanbo
2c4bc4e18d build: publish v1.0.0-beta.60 2023-02-18 21:21:22 +08:00
pengzhanbo
22b72b769d refactor: resolved iconify 2023-02-18 21:19:28 +08:00
pengzhanbo
042561d245 build: publish v1.0.0-beta.59 2023-02-18 05:29:44 +08:00
pengzhanbo
2c3136146a fix(plugin-iconify): offline import fail 2023-02-18 05:28:16 +08:00
pengzhanbo
71fe247a35 build: publish v1.0.0-beta.58 2023-02-18 05:07:36 +08:00
pengzhanbo
ae7adc6f8a feat(theme): add iconify support 2023-02-18 05:05:40 +08:00
pengzhanbo
3331455790 feat(plugin-iconify): add vuepress-plugin-iconify 2023-02-18 03:30:05 +08:00
pengzhanbo
74c1bff8c5 refactor(theme): optimize style 2023-02-17 20:16:20 +08:00
pengzhanbo
0c84dbaef5 build: publish v1.0.0-beta.57 2023-02-17 11:40:00 +08:00
pengzhanbo
5e55b53e04 feat(theme): home media style 2023-02-17 11:37:51 +08:00
pengzhanbo
19ed2a7fb3 build: publish v1.0.0-beta.56 2023-02-16 22:08:44 +08:00
pengzhanbo
c3a438e34a feat(theme): add AutoLink router behavior 2023-02-16 22:05:27 +08:00
pengzhanbo
794cb28a41 build: publish v1.0.0-beta.55 2023-02-15 10:42:21 +08:00
pengzhanbo
dea3a15e42 refactor(theme): update build template 2023-02-15 10:40:12 +08:00
pengzhanbo
41f493d401 refactor(theme): rename hero profession to tagline 2023-02-15 10:39:30 +08:00
pengzhanbo
163aea7bf9 docs: add preview doc 2023-02-15 05:27:51 +08:00
pengzhanbo
2e953a28a6 docs: add readme 2023-02-15 04:01:19 +08:00
pengzhanbo
7acb7792bb build: publish v1.0.0-beta.54 2023-02-15 03:56:11 +08:00
pengzhanbo
e834e621c2 chore(theme): remove old options 2023-02-15 03:54:31 +08:00
pengzhanbo
a15d067d9b feat(plugin-blog-data): add page filters 2023-02-15 03:54:04 +08:00
pengzhanbo
06144f8704 build: publish v1.0.0-beta.53 2023-02-15 01:03:52 +08:00
pengzhanbo
e82186ce68 docs(plugin-notes-data): add docs 2023-02-15 01:02:10 +08:00
pengzhanbo
4c10215333 docs(plugin-blog-data): add doc 2023-02-15 01:00:49 +08:00
pengzhanbo
de43164550 docs(plugin-auto-frontmatter): add doc 2023-02-15 00:56:26 +08:00
pengzhanbo
98923f50e5 docs(theme): add theme doc 2023-02-15 00:54:24 +08:00
pengzhanbo
3fdff1e96b build(theme): add exports 2023-02-15 00:50:42 +08:00
pengzhanbo
9e67199885 feat(theme): add Badge component 2023-02-15 00:50:03 +08:00
pengzhanbo
2e26fc7224 feat(plugin-notes-data): add auto sidebar option 2023-02-15 00:31:58 +08:00
pengzhanbo
6863f025ee build: publish v1.0.0-beta.52 2023-02-14 05:13:29 +08:00
pengzhanbo
ad3140fa75 fix(theme): remove sidebar console 2023-02-14 05:11:02 +08:00
pengzhanbo
299f281baa build: publish v1.0.0-beta.51 2023-02-14 05:05:29 +08:00
pengzhanbo
d0a6e6c77b feat(theme): update style & config 2023-02-14 05:03:36 +08:00
pengzhanbo
8dc5cc336b build: update deps 2023-02-14 05:02:16 +08:00
pengzhanbo
2fe3104253 feat(theme): add theme default options 2023-02-14 05:01:43 +08:00
pengzhanbo
b089d28af5 feat(theme): add social icon qq/weibo/bilibili 2023-02-14 05:01:11 +08:00
pengzhanbo
5d3473e1b3 feat(theme): add search box style variables 2023-02-14 05:00:16 +08:00
pengzhanbo
03a1401c33 feat(theme): add page footer style 2023-02-14 04:59:36 +08:00
pengzhanbo
0a017c8541 fix(theme): update post tag style 2023-02-14 04:58:38 +08:00
pengzhanbo
5131ee2385 fix(plugin-notes-data): sidebar link null 2023-02-14 04:58:04 +08:00
pengzhanbo
46d38ed8ff fix(theme): update comment style 2023-02-14 04:56:31 +08:00
pengzhanbo
520a70fc3f fix(theme): isActive function match fail 2023-02-14 04:55:52 +08:00
pengzhanbo
0d0db5f14f feat(theme): add NotFound component 2023-02-14 04:55:01 +08:00
pengzhanbo
9c3d5c4b5c feat(theme): add search style variable 2023-02-14 04:54:36 +08:00
pengzhanbo
2bdecbdc0c build: publish v1.0.0-beta.50 2023-02-14 00:19:50 +08:00
pengzhanbo
78fab2f3f1 fix(theme): templates word error 2023-02-14 00:18:25 +08:00
pengzhanbo
e094ae6c8f build: publish v1.0.0-beta.49 2023-02-13 23:50:58 +08:00
pengzhanbo
3afcd9c938 fix(theme): auto frontmatter require error 2023-02-13 23:48:26 +08:00
pengzhanbo
2691569107 build: publish v1.0.0-beta.48 2023-02-13 23:11:04 +08:00
pengzhanbo
c1587fd3cd feat(theme): add auto frontmatter config 2023-02-13 23:07:35 +08:00
pengzhanbo
016d092ee0 Merge branch 'theme-next' 2023-02-13 09:30:32 +08:00
pengzhanbo
2c5bc7d29e feat(theme): add home components 2023-02-13 09:18:52 +08:00
pengzhanbo
764c58693e feat(theme): add page components 2023-02-12 06:03:52 +08:00
pengzhanbo
4e98011b65 feat(theme): add content styles 2023-02-12 01:03:38 +08:00
pengzhanbo
f94c443b2d feat(theme): add nav screen 2023-02-12 01:02:44 +08:00
pengzhanbo
4b0078d010 feat(theme): add navbar components 2023-02-11 18:59:38 +08:00
pengzhanbo
86f51ff271 feat(plugin-notes-data): provide notes-data 2023-02-10 16:39:34 +08:00
pengzhanbo
8120ad3e65 refactor(theme): update basic 2023-02-10 04:39:46 +08:00
pengzhanbo
1689b9c691 feat(theme): add Nav components 2023-02-10 04:39:12 +08:00
pengzhanbo
5842436b6c feat(theme): initial styles 2023-02-10 04:38:23 +08:00
pengzhanbo
b859801a1b feat(theme): add fonts styles 2023-02-10 04:37:54 +08:00
pengzhanbo
20340f735f feat(theme): add global component NavbarSearch 2023-02-10 04:37:08 +08:00
pengzhanbo
82051c2398 feat(theme): add icon components 2023-02-10 04:36:25 +08:00
pengzhanbo
cb89ffdcf3 refactor(theme): remove windicss 2023-02-10 04:35:42 +08:00
pengzhanbo
e1e845a470 build: update create package template 2023-02-10 04:34:41 +08:00
pengzhanbo
7b88251c7b build: update dependencies 2023-02-10 04:33:40 +08:00
pengzhanbo
a2296e9dc9 feat: add plugin-notes-data 2023-02-10 04:33:09 +08:00
pengzhanbo
8d45712f49 refactor(plugin-auto-frontmatter): matter filter 2023-02-10 04:32:10 +08:00
pengzhanbo
12bcd2c0bc style: off explicit-function-return-type 2023-02-10 04:31:00 +08:00
pengzhanbo
cc605597ed docs: add post 2023-02-09 23:38:45 +08:00
pengzhanbo
fa5f758b54 refactor(plugin-auto-frontmatter): 重构代码 2023-02-09 23:04:33 +08:00
pengzhanbo
e1141bcea0 feat(plugin-blog-data): replace glob-to-regexp
to `create-filter`
2023-02-08 23:05:46 +08:00
pengzhanbo
b28b4c8acd fix(plugin-windicss): fix windicss-webpack-plugin 2023-02-07 22:18:29 +08:00
pengzhanbo
0ca612eca4 fix(plugin-blog-data): 修复 page类型检查错误 2023-02-07 22:06:08 +08:00
pengzhanbo
e5aa059678 chore: update dependencies 2023-02-07 20:30:29 +08:00
pengzhanbo
57e225e0d9 build: update deps 2023-01-15 20:37:06 +08:00
pengzhanbo
55af9ac332 build: update deps 2022-12-30 01:15:46 +08:00
pengzhanbo
acf98e984e build: publish v1.0.0-beta.47 2022-12-01 15:34:40 +08:00
pengzhanbo
253921e53d fix(theme): frontmatter
修复格式化md文件时异步导致的覆盖问题
2022-12-01 15:31:55 +08:00
pengzhanbo
37eca5459d build: publish v1.0.0-beta.46 2022-11-29 23:49:46 +08:00
pengzhanbo
1d4814abe5 build: update tsconfig 2022-11-22 00:43:02 +08:00
pengzhanbo
9737e9810c feat: 重构部分插件 2022-11-04 21:07:32 +08:00
pengzhanbo
5de60d4d6e feat(theme): plume-theme next devloping !
add plugin-auto-frontmatter | add plugin-blog-data | devloping new theme
2022-10-19 02:30:20 +08:00
pengzhanbo
44a05f1ffe fix(theme): fix navbar and page title 2022-10-16 23:23:47 +08:00
pengzhanbo
6c61b32768 ci(theme): update package exports 2022-10-16 08:15:36 +08:00
pengzhanbo
6bb8eac570 build: publish v1.0.0-beta.45 2022-10-16 03:42:28 +08:00
pengzhanbo
b20d79dbe6 ci: update pnpm deps 2022-10-16 03:40:31 +08:00
pengzhanbo
728a6868e6 fix(theme): internal deps 2022-10-16 03:38:30 +08:00
pengzhanbo
46f6277dfb build: publish v1.0.0-beta.44 2022-10-16 00:07:59 +08:00
pengzhanbo
517c8bc697 refactor: update package to pure esmodule 2022-10-16 00:06:01 +08:00
pengzhanbo
3789443485 build: publish v1.0.0-beta.43 2022-08-15 10:23:56 +08:00
pengzhanbo
c55f60a8b9 refactor(theme): 调整主题风格样式 2022-08-15 10:22:49 +08:00
pengzhanbo
f7da863f9d build: publish v1.0.0-beta.42 2022-08-15 06:49:35 +08:00
pengzhanbo
d97d049e74 refactor(plugin-copy-code): 优化样式,使用图标代替文本 2022-08-15 06:48:37 +08:00
pengzhanbo
9f81aa2d20 build: publish v1.0.0-beta.41 2022-08-14 08:03:27 +08:00
pengzhanbo
7d5457b733 feat(theme): 调整主题样式 2022-08-14 08:02:07 +08:00
pengzhanbo
170f916252 docs(plugin-windicss): 补充windicss插件文档 2022-08-12 15:53:15 +08:00
pengzhanbo
d0c0950b89 build: 优化 scripts/create 生成插件包流程 2022-08-12 15:28:18 +08:00
pengzhanbo
32e759400d build: publish v1.0.0-beta.40 2022-08-12 02:24:08 +08:00
pengzhanbo
491e5b013c refactor(theme): 调整navbar样式 2022-08-12 02:19:58 +08:00
pengzhanbo
7ae82300a0 feat(plugin-windicss): 新增windicss插件 2022-08-12 01:10:56 +08:00
pengzhanbo
380a8c98be build: publish v1.0.0-beta.39 2022-08-04 01:03:22 +08:00
pengzhanbo
894e272727 fix: 同步vuepressde vue-router版本为4.1.2 2022-08-04 01:01:03 +08:00
pengzhanbo
fd759c68ed build: publish v1.0.0-beta.38 2022-08-04 00:42:48 +08:00
pengzhanbo
1da1b0a57c fix(theme): 修复代码块行数显示问题 2022-08-04 00:40:02 +08:00
pengzhanbo
896b9b1732 build: publish v1.0.0-beta.37 2022-07-20 23:35:19 +08:00
pengzhanbo
b2c0d40966 chore: upgrade dependence 2022-07-20 23:33:45 +08:00
pengzhanbo
fe401bfc8b build: publish v1.0.0-beta.36 2022-05-18 05:45:00 +08:00
pengzhanbo
bf9ccc4a79 refactor: 升级 vue-router, vue, vuepress 版本, 跟进 vuepress.beta.45的变更 2022-05-18 05:44:08 +08:00
pengzhanbo
b956b20b75 build: publish v1.0.0-beta.35 2022-05-18 02:16:04 +08:00
pengzhanbo
9c03bbdf1f refactor: update vuepress dependencies 2022-05-18 02:14:59 +08:00
pengzhanbo
c62218e358 refactor(theme): 优化皮肤交互 2022-05-17 22:19:59 +08:00
pengzhanbo
224ab36160 build: publish v1.0.0-beta.34 2022-05-14 20:32:59 +08:00
pengzhanbo
1bf2c82d01 fix: 优化皮肤主题交互
1. 修复caniuse插件在hash更新时重新渲染的问题;
2. 优化皮肤主题样式;
3.修复归档排序问题
2022-05-14 20:31:54 +08:00
pengzhanbo
b18464fe0e build: publish v1.0.0-beta.33 2022-05-12 22:28:42 +08:00
pengzhanbo
f1c776eb4f perf(theme): 调整 sidebar 样式与交互 2022-05-12 22:11:15 +08:00
pengzhanbo
9edaeb9dcf docs(plugin-netlify-functions): update readme 2022-05-11 17:18:37 +08:00
pengzhanbo
ec67e529cb docs: update readme 2022-05-11 14:50:24 +08:00
pengzhanbo
f8ecdd907e docs: update readme.md 2022-05-11 04:43:38 +08:00
pengzhanbo
2eb58f773a build: publish v1.0.0-beta.32 2022-05-11 04:35:37 +08:00
pengzhanbo
26b59ceaac refactor(plugin-page-collection): 添加说明文档和代码注释说明 2022-05-11 04:33:21 +08:00
pengzhanbo
1af31ef0d2 Merge branch 'main' into feature/leanCloud 2022-05-11 02:28:09 +08:00
pengzhanbo
5263c58656 fix(plugin-netlify-functions): 修复 netlify 服务在vuepress服务重启前未被正确关闭就重启的问题 2022-05-11 02:20:43 +08:00
pengzhanbo
10af20343a feat(plugin-page-collection): 新增 plugin-netlify-functions 使用示例插件 2022-05-11 02:16:50 +08:00
pengzhanbo
edf54568ea fix(theme): 修复 文章 设置 article 为 false 时未被正确过滤的问题 2022-05-10 21:44:25 +08:00
pengzhanbo
1d63a9c4f4 fix(plugin-netlify-functions): 修复 netlify 重复启动问题
修复 netlify服务 在 vuepress dev 服务重启时,再启动新的 netlify 服务的问题
2022-05-10 21:43:16 +08:00
pengzhanbo
14724edd0b chore(plugin-netlify-functions): update package.json keywords 2022-05-09 23:02:51 +08:00
pengzhanbo
02c67e5bb0 build: publish v1.0.0-beta.31 2022-05-09 20:45:11 +08:00
pengzhanbo
7509ca3dcf docs(plugin-netlify-functions): 补充说明文档 2022-05-09 20:37:08 +08:00
pengzhanbo
10cfbdb80f feat(plugin-netlify-functions): 新增 netlify-functions 插件
1. 站点部署在 netlify时,提供 netlify functions 支持;
2. 支持functions开发时调试;
3. 支持其他插件使用本插件开发功能;
3. 支持 dotenv
设置环境变量
2022-05-09 19:00:50 +08:00
pengzhanbo
f721129a35 docs: 补充 readme & packages.json keywords 2022-05-08 03:16:26 +08:00
pengzhanbo
b943557671 build: publish v1.0.0-beta.30 2022-05-07 18:06:25 +08:00
pengzhanbo
69a18b910c feat(plugin-baidu-tongji): 新增百度统计插件
新增百度统计插件
2022-05-07 18:05:27 +08:00
pengzhanbo
ca041664df ci: 自动生成 plugin package, 优化 template 2022-05-07 16:43:50 +08:00
pengzhanbo
3242b849f0 ci: 调整 自动生成 plugin package 时的逻辑
n
2022-05-07 16:38:31 +08:00
pengzhanbo
0f7734825d refactor(theme): 优化文章列表翻页交互 2022-05-07 14:50:28 +08:00
pengzhanbo
19b1581281 build: publish v1.0.0-beta.29 2022-05-07 02:24:48 +08:00
pengzhanbo
335d273d2c feat(theme): 更新主题样式
1. 新增首页首屏banner;2. 首页首屏个人信息;3. 新增文章列表banner;4. 更新backToTOP 新增首页大图banner   首页首屏首屏个人信息
文章列表新增文章列表banner 更新backToTop按钮样式;
2022-05-07 02:23:27 +08:00
pengzhanbo
c330ced690 build: publish v1.0.0-beta.28 2022-05-05 18:27:58 +08:00
pengzhanbo
5de058362e fix(theme): 搜索插件加载逻辑调整 2022-05-05 18:27:07 +08:00
pengzhanbo
c2852610dd feat(plugin-copy-code): 新增一键复制代码插件 2022-05-05 18:25:34 +08:00
pengzhanbo
1c375f3a39 build: publish v1.0.0-beta.27 2022-05-04 18:25:36 +08:00
pengzhanbo
9045ac3f9d ci: update tsconfig.build.json 2022-05-04 18:24:44 +08:00
pengzhanbo
4513fd4f3a refactor(theme): update vuepress dependencies 2022-05-04 18:21:26 +08:00
pengzhanbo
5cc6409b80 feat(plugin-copy-code): new plugin: plugin-copy-code 2022-05-04 18:03:38 +08:00
pengzhanbo
df921c8a48 ci: scripts/create 调整 package.json 生成 2022-05-04 15:30:50 +08:00
pengzhanbo
e57f70a75b ci: scripts/create 添加 version 参数 2022-05-04 15:03:07 +08:00
pengzhanbo
118b05add1 ci: update scripts/create
添加说明文档
2022-05-04 14:26:47 +08:00
pengzhanbo
1d5196eca2 ci: 添加生成 package 的脚本工具 2022-05-04 07:04:27 +08:00
pengzhanbo
f4aca014ed refactor: 更新vuepress依赖
更新 vuepress 相关依赖, beta.41 -> beta.43;
调整plugin代码
2022-05-03 23:34:15 +08:00
pengzhanbo
7503c7fffe feat(theme): add Global Component Badge
添加全局组件 Badge
2022-05-03 19:21:42 +08:00
pengzhanbo
48599f4dd2 fix(theme): fix backToTop
修复 backToTop 按钮移动端交互问题
2022-05-03 16:07:52 +08:00
pengzhanbo
93e034fa9f feat(theme): add backTop button 2022-05-01 19:56:35 +08:00
pengzhanbo
c0ea46b8c5 build(theme): update package.json
replace yarn to pnpm
2022-05-01 15:34:44 +08:00
pengzhanbo
5dca5acb96 docs: 添加注释和说明文档
添加部分注释,部分说明文档.
2022-05-01 14:40:48 +08:00
pengzhanbo
d02fe5880b ci: update tsconfig.json types 2022-04-30 23:21:21 +08:00
pengzhanbo
61d1e2e37f refactor(theme): 移动端支持&修复frontmatter监听问题
1.响应式布局,支持移动端;
2.修复监听markdown文件生成frontmatter时错误问题
2022-04-30 23:09:28 +08:00
pengzhanbo
f10248f267 chore: update package.json 2022-04-29 20:54:36 +08:00
pengzhanbo
3fdc41ccb5 ci: add autoInstall
添加更新vuepress相关依赖脚本
2022-04-29 20:48:55 +08:00
pengzhanbo
29d1705da5 ci: support pnpm
切换到pnpm作为管理工具

BREAKING CHANGE: support pnpm
2022-04-29 19:52:03 +08:00
pengzhanbo
e04e2a1973 chore: update vuepress dependencies
更新 vuepress 相关依赖至 2.0.0.beta.41,暂时下线hope相关插件

BREAKING CHANGE: 跟随vuepress@2.0.0.beta.41的重大变更
2022-04-26 21:25:36 +08:00
pengzhanbo
781670a066 build: publish v1.0.0-beta.26 2022-04-26 02:56:05 +08:00
pengzhanbo
a57af599e6 feat: support sitemap and seo
新增 sitemap和seo支持
2022-04-26 02:54:56 +08:00
pengzhanbo
397c8e4364 build: publish v1.0.0-beta.25 2022-04-25 23:40:17 +08:00
pengzhanbo
00bca40d89 fix: fix define config 2022-04-25 23:39:26 +08:00
pengzhanbo
27bd8d31c0 build: publish v1.0.0-beta.24 2022-04-25 15:46:19 +08:00
pengzhanbo
28ba0b2897 ci: update release script 2022-04-25 15:45:21 +08:00
pengzhanbo
844feeae74 feat: 主题配置函数
新增主题配置函数,笔记配置函数,提供类型提示支持.
2022-04-25 15:32:46 +08:00
pengzhanbo
7a2a2af562 ci: add commit lint
添加 huskty lint-stage commintlint 工具用于 git commit 校验
2022-04-25 13:07:49 +08:00
pengzhanbo
1a7702ee89 build: publish v1.0.0-beta.23 2022-04-23 22:48:42 +08:00
pengzhanbo
bcf234e4d2 chore: 更新样式 2022-04-23 22:48:04 +08:00
pengzhanbo
9d6a7b80b6 build: publish v1.0.0-beta.22 2022-04-18 18:19:26 +08:00
pengzhanbo
42ca717884 chore: 优化样式 2022-04-18 18:19:06 +08:00
pengzhanbo
fd97fa21fe build: publish v1.0.0-beta.21 2022-04-18 17:54:44 +08:00
pengzhanbo
bc8cc994e8 update: 优化样式 2022-04-18 17:54:19 +08:00
pengzhanbo
40a5dd81b4 build: publish v1.0.0-beta.20 2022-04-18 17:20:14 +08:00
pengzhanbo
866e496ad9 chore: 优化交互 2022-04-18 17:19:24 +08:00
pengzhanbo
3becc6ecc7 build: publish v1.0.0-beta.19 2022-04-18 17:00:03 +08:00
pengzhanbo
4771d32c23 chore: 更新依赖,优化功能 2022-04-18 16:59:35 +08:00
pengzhanbo
17e118b845 build: publish v1.0.0-beta.18 2022-04-14 09:11:50 +08:00
pengzhanbo
84441c4981 chore: 优化归档排序 2022-04-14 09:11:11 +08:00
pengzhanbo
e03bff1802 build: publish v1.0.0-beta.17 2022-04-12 15:10:41 +08:00
pengzhanbo
a8d0ae47c7 chore: 优化sidebar样式 2022-04-12 15:10:14 +08:00
pengzhanbo
5e45cf6b6b build: publish v1.0.0-beta.16 2022-04-12 15:09:01 +08:00
pengzhanbo
a2794d72ea fix: sidebar 2022-04-12 15:08:35 +08:00
pengzhanbo
00615012a4 build: publish v1.0.0-beta.15 2022-04-12 14:35:51 +08:00
pengzhanbo
c9defafe39 fix: sidebar问题 2022-04-12 14:35:22 +08:00
pengzhanbo
dfc7217efa build: publish v1.0.0-beta.14 2022-04-12 12:26:57 +08:00
pengzhanbo
420ec9fb66 fix: 修复sidebar问题 2022-04-12 12:26:28 +08:00
pengzhanbo
01136d2737 build: publish v1.0.0-beta.13 2022-04-12 12:14:39 +08:00
pengzhanbo
7b3a6e2252 fix: 修复note生成sidebar时目录嵌套时未正确识别路径 2022-04-12 12:14:17 +08:00
pengzhanbo
3bfd7bbf1d build: publish v1.0.0-beta.12 2022-04-08 21:22:05 +08:00
pengzhanbo
2d4479909f fix: 修复page页toc问题 2022-04-08 21:21:22 +08:00
pengzhanbo
0c9674f75f build: publish v1.0.0-beta.11 2022-04-08 20:58:56 +08:00
pengzhanbo
5515096a6c update: siderbar watch 2022-04-08 20:57:32 +08:00
pengzhanbo
311244556b build: publish v1.0.0-beta.10 2022-04-08 11:13:08 +08:00
pengzhanbo
1986ed13b6 chore: support sidebar 2022-04-08 11:12:15 +08:00
pengzhanbo
de27dc9a8b Merge branch 'main' of github.com:pengzhanbo/vuepress-theme-plume into main 2022-04-07 16:12:49 +08:00
pengzhanbo
5eb42e0b61 update: mobile support 2022-04-07 16:12:43 +08:00
pengzhanbo
2dd672e103 updte: siderbar develop 2022-04-07 16:11:04 +08:00
pengzhanbo
4263673bd4 build: publish v1.0.0-beta.9 2022-04-06 21:07:08 +08:00
pengzhanbo
1c49d85ada update: support comment 2022-04-06 21:06:22 +08:00
pengzhanbo
e35b1d3ca7 build: publish v1.0.0-beta.8 2022-04-06 17:30:41 +08:00
pengzhanbo
c47db01028 update: 添加多个插件支持 2022-04-06 17:29:28 +08:00
pengzhanbo
2a15507845 build: publish v1.0.0-beta.7 2022-04-06 05:45:54 +08:00
pengzhanbo
f4077dc492 chore: 完成归档页面开发 2022-04-06 05:45:20 +08:00
pengzhanbo
820f2f91dd build: publish v1.0.0-beta.6 2022-04-06 00:50:06 +08:00
pengzhanbo
7b2ad0e97c chore:修复文章排序以及ssr构建 2022-04-06 00:49:38 +08:00
pengzhanbo
6f0423366c build: publish v1.0.0-beta.5 2022-04-05 12:59:11 +08:00
pengzhanbo
f1877e8f46 chore: license 2022-04-05 12:59:00 +08:00
pengzhanbo
689d9606b9 build: publish v1.0.0-beta.4 2022-04-05 12:54:13 +08:00
pengzhanbo
6bfb3a36a8 update: release 2022-04-05 12:53:11 +08:00
pengzhanbo
39c179e511 build: publish v1.0.0-beta.3 2022-04-05 12:36:20 +08:00
pengzhanbo
9fb2513810 chore: release 2022-04-05 12:36:00 +08:00
pengzhanbo
ebaf5f2609 chore: release script 2022-04-05 12:28:27 +08:00
pengzhanbo
5add2b9c2a chore: release script 2022-04-05 12:26:53 +08:00
1352 changed files with 168047 additions and 18511 deletions

View File

@ -1,6 +0,0 @@
node_modules/
.temp/
lib/
dist/
!.vuepress/
!.*.js

View File

@ -1,68 +0,0 @@
module.exports = {
root: true,
extends: 'vuepress',
globals: {
__VUEPRESS_VERSION__: 'readonly',
__VUEPRESS_DEV__: 'readonly',
__VUEPRESS_SSR__: 'readonly',
__VUE_HMR_RUNTIME__: 'readonly',
__VUE_OPTIONS_API__: 'readonly',
__VUE_PROD_DEVTOOLS__: 'readonly',
},
overrides: [
{
files: ['*.ts', '*.vue'],
extends: 'vuepress-typescript',
parserOptions: {
project: ['./tsconfig.json'],
},
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-var-requires': 'off',
'vue/component-tags-order': [
'error',
{
order: ['script', 'template', 'style'],
},
],
'vue/multi-word-component-names': 'off',
},
},
{
files: ['*.vue'],
globals: {
defineEmits: 'readonly',
defineProps: 'readonly',
},
rules: {
// disable for setup script
'@typescript-eslint/no-unused-vars': 'off',
},
},
{
files: ['clientAppEnhance.ts'],
rules: {
'vue/match-component-file-name': 'off',
},
},
{
files: ['**/__tests__/**/*.ts'],
env: {
jest: true,
},
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'vue/one-component-per-file': 'off',
'import/no-extraneous-dependencies': 'off',
},
},
{
files: ['docs/**'],
rules: {
'import/no-extraneous-dependencies': 'off',
},
},
],
}

3
.gitattributes vendored
View File

@ -4,7 +4,10 @@
*.png binary
*.jpg binary
*.jpeg binary
*.webp binary
*.ico binary
*.gif binary
*.tff binary
*.woff binary
*.woff2 binary
*.pdf binary

15
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,15 @@
# These are supported funding model platforms
# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
# patreon: # Replace with a single Patreon username
# open_collective: # Replace with a single Open Collective username
# ko_fi: # Replace with a single Ko-fi username
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
# liberapay: # Replace with a single Liberapay username
# issuehunt: # Replace with a single IssueHunt username
# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
# polar: # Replace with a single Polar username
# buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
- https://theme-plume.vuejs.press/sponsor/

73
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View File

@ -0,0 +1,73 @@
name: Bug report
description: Create a report to help us improve
title: '[Bug] '
labels:
- bug
assignees: pengzhanbo
body:
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: |-
Make SURE that you follow these statements.
options:
- label: I am using **LTS** version of Node.js.
required: true
- label: I am using the **latest v2 version** of VuePress and VuePress official plugins.
required: true
- label: I am using the **latest version** of vuepress-theme-plume and all plugins in this repo.
required: true
- label: I followed the docs and I double checked my configuration.
required: true
- type: input
id: package
attributes:
label: Package name
description: Which package are you reporting
value: vuepress-theme-plume
placeholder: package name
validations:
required: true
- type: checkboxes
id: operating-systems
attributes:
label: Which operating system are you using?
description: You may select more than one. Dont select anything if it's not about the environment.
options:
- label: macOS
- label: Windows
- label: Linux
- type: markdown
attributes:
value: |
## Describe the bug
> If applicable, add screenshots and log to help explain your problem.
- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: input
id: reproduction
attributes:
label: Minimal reproduction
description: |-
If you are not reporting something obvious, a minimal reproduction repo and related log is required. you can fork [stackblitz.com](https://stackblitz.com/edit/vuepress-theme-plume-playground) to create a minimal reproduction.
placeholder: reproduction repo url
- type: textarea
id: additional-context
attributes:
label: Additional context
description: If you are not reporting something obvious, related log is required.
placeholder: Add any other context about the problem here. Especially the issue occurs in certain OS, browser or configuration.

View File

@ -0,0 +1,73 @@
name: 问题报告
description: 创建一份问题报告以帮助我们改进
title: '[Bug] '
labels:
- bug
assignees: pengzhanbo
body:
- type: checkboxes
id: checklist
attributes:
label: 检查清单
description: |-
确保你遵循以下陈述。
options:
- label: 我正在使用**LTS**版本的Node.js。
required: true
- label: 我正在使用 **最新 v2 版本** 的 VuePress 和 VuePress 官方插件。
required: true
- label: 我正在使用此仓库中的 **最新版本** 的 vuepress-theme-plume 及其所有插件。
required: true
- label: 我按照文档操作,并仔细检查了我的配置。
required: true
- type: input
id: package
attributes:
label: 包名
description: 您要报告哪个包
value: vuepress-theme-plume
placeholder: package name
validations:
required: true
- type: checkboxes
id: operating-systems
attributes:
label: 你正在使用哪个操作系统?
description: 您可以选择多个选项。如果与环境无关,请不要选择任何选项。
options:
- label: macOS
- label: Windows
- label: Linux
- type: markdown
attributes:
value: |
## 描述该错误
> 如有需要,请添加截图和日志以帮助解释您的问题。
- type: textarea
id: description
attributes:
label: 描述该错误
description: 一个清晰简洁的错误描述。
validations:
required: true
- type: input
id: reproduction
attributes:
label: 最小复现
description: |-
若非报告显而易见的问题,需提供最小化复现仓库及相关日志。你可通过 fork [stackblitz.com](https://stackblitz.com/edit/vuepress-theme-plume-playground) 来创建最小化复现环境。
placeholder: 复现项目 url
- type: textarea
id: additional-context
attributes:
label: 附加上下文
description: 如果你报告的问题不明显,需要提供相关日志。
placeholder: 在此添加有关问题的其他上下文信息。特别是问题在特定操作系统、浏览器或配置下出现。

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions about theme and plugins
url: https://github.com/pengzhanbo/vuepress-theme-plume/discussions/new
about: Please ask questions in Discussion.

View File

@ -0,0 +1,33 @@
name: Feature request
description: Suggest an idea for this project
title: '[Feature Request]'
labels:
- enhancement
assignees: pengzhanbo
body:
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Make sure that you follow these statements.
options:
- label: I searched existing issues and no one else requests similar feature.
required: true
- label: I think that 25%+ users are positive towards this feature.
required: true
- type: textarea
id: feature
attributes:
label: Describe the feature
description: What's it for and why you want
placeholder: A clear and concise description of what the feature is, and what it will enhance or solve. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
placeholder: Add any other context or screenshots about the feature request here.

View File

@ -0,0 +1,33 @@
name: 新功能建议
description: 为该项目提出一个想法
title: '[Feature Request]'
labels:
- enhancement
assignees: pengzhanbo
body:
- type: checkboxes
id: checklist
attributes:
label: 检查清单
description: 确保遵循以下陈述。
options:
- label: 我搜索了现有问题,没有其他人请求类似功能。
required: true
- label: 我认为25%以上的用户对此功能持积极态度。
required: true
- type: textarea
id: feature
attributes:
label: 描述该功能
description: 它有什么用,你为什么想要
placeholder: 功能清晰简洁的描述,以及它将增强或解决的问题。例如,我总是感到困难,当 [...]
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: 附加上下文
placeholder: 在此添加有关功能请求的任何其他上下文或截图。

52
.github/workflows/docs-deploy.yaml vendored Normal file
View File

@ -0,0 +1,52 @@
name: Deploy Docs
on:
push:
branches:
- main
paths:
# 以下文件发生变化时触发部署,这些文件与版本无关,因此可以自动更新
- docs/demos.md
- docs/sponsor.md
- CONTRIBUTING.md
- CONTRIBUTING.en-US.md
workflow_dispatch:
workflow_call:
permissions:
contents: write
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Build Packages
run: pnpm build:package
- name: Docs build
env:
NODE_OPTIONS: --max_old_space_size=8192
run: pnpm docs:build
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/.vuepress/dist
single-commit: true

View File

@ -0,0 +1,45 @@
name: Deploy Example Layout Slots
on:
push:
tags:
- v*
workflow_dispatch:
permissions:
contents: write
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Build Packages
run: pnpm build:package
- name: Docs build
env:
NODE_OPTIONS: --max_old_space_size=8192
run: cd examples/layout-slots && pnpm docs:build
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages-layout-slots
folder: examples/layout-slots/docs/.vuepress/dist
single-commit: true

37
.github/workflows/lint.yaml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Linter
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Linter
run: |
pnpm run lint:check
pnpm run lint:css

55
.github/workflows/release.yaml vendored Normal file
View File

@ -0,0 +1,55 @@
name: Release
on:
push:
tags:
- v*
permissions:
contents: write
id-token: write
jobs:
lint:
uses: ./.github/workflows/lint.yaml
test:
uses: ./.github/workflows/test.yaml
release:
if: github.repository == 'pengzhanbo/vuepress-theme-plume'
needs: [test, lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Install deps
run: pnpm install
- name: Update npm
run: npm i -g npm@latest
- name: Build And Publish
id: publish
run: |
pnpm build
pnpm release:publish --no-git-checks
pnpm release:sync
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
deploy:
uses: ./.github/workflows/docs-deploy.yaml

43
.github/workflows/test.yaml vendored Normal file
View File

@ -0,0 +1,43 @@
name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
permissions:
contents: read
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Unit Test
env:
NODE_OPTIONS: --max_old_space_size=8192
run: pnpm run test
- name: Upload coverage
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

17
.gitignore vendored
View File

@ -1,13 +1,20 @@
node_modules
**/node_modules/
docs/.vuepress/.cache
docs/.vuepress/.temp
docs/.vuepress/dist
**/.vuepress/.cache
**/.vuepress/.temp
**/.vuepress/dist
lib
lib/
dist/
.DS_Store
*.log
*.tsbuildinfo
.mind
coverage/
.idea
.claude/
!.claude/skills/

1
.husky/commit-msg Executable file
View File

@ -0,0 +1 @@
npx commitlint --edit $1

1
.husky/pre-commit Executable file
View File

@ -0,0 +1 @@
npx lint-staged

31
.markdownlint.json Normal file
View File

@ -0,0 +1,31 @@
{
"default": true,
"heading-style": {
"style": "atx"
},
"ul-style": {
"style": "dash"
},
"no-duplicate-heading": false,
"first-line-h1": false,
"first-line-heading": false,
"no-blanks-blockquote": false,
"line-length": {
"line_length": 140,
"tables": false,
"code_blocks": false
},
"no-inline-html": false,
"hr-style": {
"style": "---"
},
"fenced-code-language": false,
"code-block-style": false,
"emphasis-style": false,
"no-hard-tabs": {
"spaces_per_tab": 2,
"ignore_code_languages": ["xml"]
},
"link-image-reference-definitions": false,
"no-bare-urls": false
}

4
.markdownlintignore Normal file
View File

@ -0,0 +1,4 @@
**/node_modules/**
**/*.snippet.md
CHANGELOG.*.md
CHANGELOG.md

7
.stylelintignore Normal file
View File

@ -0,0 +1,7 @@
node_modules
.cache
.temp
lib
dist

8
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"recommendations": [
"vue.volar",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint",
"DavidAnson.vscode-markdownlint"
]
}

29
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "dev",
"request": "launch",
"type": "node-terminal",
"command": "pnpm dev"
},
{
"name": "build",
"request": "launch",
"type": "node-terminal",
"command": "pnpm build"
},
{
"name": "docs:dev",
"type": "node-terminal",
"request": "launch",
"command": "pnpm docs:dev"
},
{
"name": "docs:build",
"type": "node-terminal",
"request": "launch",
"command": "pnpm docs:build"
}
]
}

79
.vscode/settings.json vendored
View File

@ -8,22 +8,85 @@
"[markdown]": {
"files.trimTrailingWhitespace": false
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"css.validate": false,
"scss.validate": false,
"less.validate": false,
"typescript.tsdk": "node_modules/typescript/lib",
"stylelint.packageManager": "pnpm",
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],
"editor.formatOnSave": false,
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit",
"source.fixAll.eslint": "explicit",
"source.fixAll.markdownlint": "explicit",
"source.organizeImports": "never"
},
"editor.formatOnPaste": false,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
],
"stylelint.validate": [
"css",
"scss",
"postcss",
"vue"
],
"cSpell.words": [
"caniuse",
"composables",
"Docsearch",
"nprogress",
"tsbuildinfo",
"vite",
"vuepress",
"vueuse"
"acfun",
"bilibili",
"bumpp",
"caniuse",
"colours",
"commitlint",
"composables",
"Docsearch",
"esbuild",
"fontawesome",
"frontmatter",
"gsap",
"iarna",
"iconfont",
"iconify",
"katex",
"leancloud",
"nprogress",
"pnpm",
"portfinder",
"qrcode",
"shiki",
"shikiji",
"shikijs",
"taze",
"Tongji",
"tsbuildinfo",
"tsdown",
"twoslash",
"vite",
"vuepress",
"vueuse"
]
}

9550
CHANGELOG.BETA.md Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

111
CLAUDE.md Normal file
View File

@ -0,0 +1,111 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
vuepress-theme-plume is a VuePress 2 theme monorepo for building blogs, documentation, and knowledge bases.
It includes a main theme, several plugins, a CLI tool, and example implementations.
## Commands
```bash
# Install dependencies
pnpm install
# Build all packages (required after clone, outputs to lib/)
pnpm build
# Development - runs theme + docs dev servers concurrently
pnpm dev
# Lint (eslint + stylelint)
pnpm lint
pnpm lint:fix # auto-fix
# Run tests (vitest)
pnpm test
# Run a single test file
pnpm test src/path/to/file.spec.ts
# Run tests related to changed files (for pre-commit)
cross-env TZ=Etc/UTC vitest related --run
# Build docs only
pnpm docs:build
# Serve docs locally
pnpm docs:serve
# Release workflow
pnpm release # runs lint + build + version bump + changelog + git commit
```
## Monorepo Structure
```txt
├── theme/ # Main VuePress theme (vuepress-theme-plume)
├── plugins/ # VuePress plugins
│ ├── plugin-search/ # Full-text fuzzy search
│ ├── plugin-md-power/ # Markdown enhancements
│ └── plugin-fonts/ # Special character font support
├── cli/ # CLI tool (create project scaffolding)
├── docs/ # Documentation site
└── examples/ # Example implementations
├── pure-blog/
└── layout-slots/
```
## Theme Architecture
The theme is organized into three layers:
- **`src/node/`** - Build-time code (runs during `vuepress build/dev`)
- `prepare/` - Content preparation (frontmatter parsing, collection resolution)
- `plugins/` - VuePress plugin registration
- `config/` - Theme configuration handling
- `autoFrontmatter/` - Automatic frontmatter generation
- **`src/client/`** - Client-side code (runs in browser)
- `components/` - Vue components
- `composables/` - Vue composables (outline, search, etc.)
- `styles/` - CSS/SCSS styles
- `features/` - Feature-specific components and logic
- **`src/shared/`** - Shared code (used by both node and client)
- `frontmatter/` - Frontmatter schemas and utilities
- `locale/` - i18n translations
- `options.ts` - Theme options types
- `features/` - Feature flags and shared feature logic
## Build Output
Each package uses [tsdown](https://tsdown.dev/) to compile TypeScript. Build output goes to `lib/`:
- `lib/node/` - Node-side exports
- `lib/client/` - Client-side exports
- `lib/shared/` - Shared exports
The `lib/` directory is gitignored and must be built with `pnpm build`.
## Testing
Tests use Vitest with coverage enabled. Test files are located at `**/__test__/**/*.spec.ts` and are excluded from coverage reports. Run tests with timezone fixed to UTC to ensure consistent results.
## Key Dependencies
- **VuePress**: v2.0.0-rc.28 with @vuepress/bundler-vite
- **Vue**: ^3.5.30
- **Shiki**: ^4.x for syntax highlighting
- **VueUse**: ^14.x for composables
- **markdown-it**: ^14.x for Markdown processing
## Development Notes
- Node.js 20.19.0+ required
- pnpm catalogs are used for dependency management (`dev`, `peer`, `prod`, `vuepress`)
- The theme depends on `vuepress-plugin-md-power` and `@vuepress-plume/plugin-search` as workspace dependencies
- Some peer dependencies are optional (e.g., artplayer, dashjs, three.js)
- Plugins (`plugins/*`) do not have dev commands — changes require `pnpm build` to take effect
- The `lib/` directory is gitignored and must be rebuilt after `pnpm install`

128
CODE_OF_CONDUCT.md Normal file
View File

@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
q942450674@outlook.com.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.

76
CONTRIBUTING.en-US.md Normal file
View File

@ -0,0 +1,76 @@
# Contribution Guide
## Overview
The project repository uses [pnpm workspaces](https://pnpm.io/zh/workspaces) to implement
a [Monorepo](https://en.wikipedia.org/wiki/Monorepo), which stores multiple interrelated independent Packages.
- The theme is developed and maintained in the `theme` directory.
- Plugins are developed and maintained in the `plugins` directory.
- Documentation is developed and maintained in the `docs` directory.
In the `plugins` directory:
- `plugin-search`: Provides full-text fuzzy search functionality for the theme.
- `plugin-md-power`: Provides enhanced markdown features.
- `plugin-fonts`: Provides special character font support
## Development Configuration
Development requirements:
- [Node.js](http://nodejs.org/) version 20.19.0+
- [pnpm](https://pnpm.io/zh/) version 9+
Clone the repository and install dependencies:
```sh
pnpm install
```
Before starting the development service for the first time, build the source code:
```sh
pnpm build
```
### Main Tools
- [TypeScript](https://www.typescriptlang.org/) as the development language.
- [ESLint](https://eslint.org/) for code checking and formatting.
- [StyleLint](https://stylelint.io/) for code checking and formatting.
### Scripts
#### `pnpm build`
The `build` command uses `tsc` to compile the source code into `.js` files in the `lib` directory.
It also copies resources that do not need to be compiled to the corresponding `lib` directory.
After cloning the repository, you need to run this command first to ensure that the project code
can run smoothly, as the compiled output directory is excluded from the repository by `.gitignore`.
#### `pnpm dev`
The `dev` command starts two services locally. One runs the `tsup:watch & copy:watch` for
the `theme` directory, and the other runs the `vuepress` development service for the example `docs` directory.
By default, all plugins under the `plugins` directory do not have a `dev` command.
Therefore, changes to the `plugins` directory may require running the `pnpm build` command to rebuild.
Some changes to the `plugins/**/node` directory require re-running `pnpm dev` to take effect.
#### `pnpm lint`
The `lint` command uses ESLint to check all source files.
When `lint` reports errors, you can manually modify the source code to fix the ESLint errors, or run `pnpm lint:fix` to automatically fix them.
#### `pnpm test`
The `test` command uses Vitest to run all tests.
### IDE Support
It is recommended to use `vs code` for development. This repository is configured with
the recommended `vs code` extensions for developing this theme. When you import this repository,
`vs code` may recommend that you install some extensions.

74
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,74 @@
# 贡献指南
## 概览
项目仓库借助于 [pnpm 工作空间](https://pnpm.io/zh/workspaces) 来实现
[Monorepo](https://en.wikipedia.org/wiki/Monorepo) ,存放了多个互相关联的独立 Package 。
- 主题于 `theme` 目录中进行开发维护。
- 插件于 `plugins` 目录中进行开发维护。
- 文档于 `docs` 目录中进行开发维护。
`plugins` 目录中:
- `plugin-search`: 为主题提供 全文模糊搜索 功能
- `plugin-md-power`: 提供 markdown 增强功能
- `plugin-fonts`: 提供特殊字符字体支持
## 开发配置
开发要求:
- [Node.js](http://nodejs.org/) version 20.19.0+
- [pnpm](https://pnpm.io/zh/) version 9+
克隆代码仓库,并安装依赖:
```sh
pnpm install
```
在首次启动开发服务前,先构建源代码:
```sh
pnpm build
```
### 主要工具
- [TypeScript](https://www.typescriptlang.org/) 作为开发语言
- [ESLint](https://eslint.org/) 用于代码检查和格式化
- [StyleLint](https://stylelint.io/) 用于代码检查和格式化
### 脚本
#### `pnpm build`
`build` 命令使用 `tsc` 将源代码编译成 `lib` 目录下的 `.js` 文件。
同时复制 不需要编译的资源到对应的`lib` 目录下。
你在克隆代码仓库后,需要先执行该命令来确保项目代码可以顺利运行,因为编译后的输出目录被 `.gitignore` 排除在仓库以外了。
#### `pnpm dev`
`dev` 命令会在本地开启两个服务,一个是运行 主题 `theme` 目录的 `tsup:watch & copy:watch`,
一个是运行 示例 `docs` 目录的 `vuepress` 开发服务。
`plugins` 目录下的所有插件,默认都没有 `dev` 命令,因此,你对 `plugins` 下的改动,可能需要执行 `pnpm build` 命令
进行重新构建,部分对 `plugins/**/node` 目录下的改动,需要重新执行 `pnpm dev` 才能生效。
#### `pnpm lint`
`lint` 命令使用 ESLint 来检查所有源文件。
`lint` 给出了错误时,你可以手动修改源码以修复 eslint 的报错。
也可以执行 `pnpm lint:fix` 来自动修复。
#### `pnpm test`
`test` 命令使用 Vitest 来运行所有测试。
### IDE 支持
推荐使用 `vs code` 进行开发。本仓库配置了开发本主题时,推荐的 `vs code` 扩展,
当你导入本仓库时,`vs code` 可能会推荐你安装一些扩展。

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (C) 2021 - PRESENT by pengzhanbo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

12
SECURITY.md Normal file
View File

@ -0,0 +1,12 @@
# Security Policy
## Supported Versions
| Version | Supported |
| ---------------- | ------------------ |
| >= 1.0.0-rc.190 | :white_check_mark: |
| < 1.0.0-rc.190 | :x: |
## Reporting a Vulnerability
Please [open an issue](https://github.com/pengzhanbo/vuepress-theme-plume/issues/new?assignees=pengzhanbo&title=%5BSecurity%5D).

21
cli/LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (C) 2021 - PRESENT by pengzhanbo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

14
cli/README.md Normal file
View File

@ -0,0 +1,14 @@
# create-vuepress-theme-plume
The cli for create vuepress-theme-plume's project
## Usage
```sh
# npm
npm init vuepress-theme-plume@latest
# pnpm
pnpm create vuepress-theme-plume@latest
# yarn
yarn create vuepress-theme-plume@latest
```

2
cli/bin/index.js Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env node
import '../lib/index.js'

52
cli/package.json Normal file
View File

@ -0,0 +1,52 @@
{
"name": "create-vuepress-theme-plume",
"type": "module",
"version": "1.0.0-rc.196",
"description": "The cli for create vuepress-theme-plume's project",
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
"license": "MIT",
"homepage": "https://theme-plume.vuejs.press/",
"repository": {
"type": "git",
"url": "git+https://github.com/pengzhanbo/vuepress-theme-plume.git",
"directory": "cli"
},
"bugs": {
"url": "https://github.com/pengzhanbo/vuepress-theme-plume/issues"
},
"keywords": [
"VuePress",
"theme",
"plume",
"cli"
],
"bin": "./bin/index.js",
"files": [
"bin",
"lib",
"templates"
],
"scripts": {
"build": "tsdown --config-loader unrun"
},
"dependencies": {
"@clack/prompts": "catalog:prod",
"@pengzhanbo/utils": "catalog:prod",
"cac": "catalog:prod",
"handlebars": "catalog:prod",
"nano-spawn": "catalog:prod",
"os-locale": "catalog:prod",
"picocolors": "catalog:prod",
"sort-package-json": "catalog:prod"
},
"plume-deps": {
"vuepress": "2.0.0-rc.28",
"vue": "^3.5.32",
"http-server": "^14.1.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}

89
cli/src/constants.ts Normal file
View File

@ -0,0 +1,89 @@
import type { Bundler, Langs, Options } from './types.js'
/**
* Language options for VuePress configuration
*
* VuePress
*/
export const languageOptions: Options<Langs> = [
{ label: 'English', value: 'en-US' },
{ label: '简体中文', value: 'zh-CN' },
]
/**
* Bundler options for VuePress build tool
*
* VuePress
*/
export const bundlerOptions: Options<Bundler> = [
{ label: 'Vite', value: 'vite' },
{ label: 'Webpack', value: 'webpack' },
]
/**
* Operation mode for VuePress CLI
*
* VuePress CLI
* @readonly
* @enum {number}
*/
export enum Mode {
/**
* Initialize existing directory
*
*
*/
init,
/**
* Create new project
*
*
*/
create,
}
/**
* Deployment type for VuePress site
*
* VuePress
* @readonly
* @enum {string}
*/
export enum DeployType {
/**
* GitHub Pages deployment
*
* GitHub Pages
*/
github = 'github',
/**
* Vercel deployment
*
* Vercel
*/
vercel = 'vercel',
/**
* Netlify deployment
*
* Netlify
*/
netlify = 'netlify',
/**
* Custom deployment
*
*
*/
custom = 'custom',
}
/**
* Deployment options for hosting platforms
*
*
*/
export const deployOptions: Options<DeployType> = [
{ label: 'Custom', value: DeployType.custom },
{ label: 'GitHub Pages', value: DeployType.github },
{ label: 'Vercel', value: DeployType.vercel },
{ label: 'Netlify', value: DeployType.netlify },
]

165
cli/src/generate.ts Normal file
View File

@ -0,0 +1,165 @@
import type { File, ResolvedData } from './types.js'
import fs from 'node:fs'
import path from 'node:path'
import process from 'node:process'
import spawn from 'nano-spawn'
import { DeployType, Mode } from './constants.js'
import { createPackageJson } from './packageJson.js'
import { createRender } from './render.js'
import { getTemplate, readFiles, readJsonFile, writeFiles } from './utils/index.js'
/**
* Generate VuePress project files
*
* VuePress
*
* @param mode - Operation mode (init or create) /
* @param data - Resolved configuration data /
* @param cwd - Current working directory /
*/
export async function generate(
mode: Mode,
data: ResolvedData,
cwd: string = process.cwd(),
): Promise<void> {
let userPkg: Record<string, any> = {}
if (mode === Mode.init) {
const pkgPath = path.join(cwd, 'package.json')
if (fs.existsSync(pkgPath)) {
userPkg = (await readJsonFile(pkgPath)) || {}
}
}
const fileList: File[] = [
// add package.json
await createPackageJson(mode, userPkg, data),
// add docs files
...await createDocsFiles(data),
// add vuepress and theme-plume configs
...updateFileListTarget(await readFiles(getTemplate('.vuepress')), `${data.docsDir}/.vuepress`),
]
// add repo root files
if (mode === Mode.create) {
fileList.push(...await readFiles(getTemplate('common')))
if (data.packageManager === 'pnpm') {
fileList.push({
filepath: '.npmrc',
content: 'shamefully-hoist=true\nshell-emulator=true',
})
}
if (data.packageManager === 'yarn') {
const { output } = await spawn('yarn', ['--version'])
if (output.startsWith('2')) {
fileList.push({
filepath: '.yarnrc.yml',
content: 'nodeLinker: \'node-modules\'\n',
})
}
}
}
// rewrite git files begin ==================================
if (data.git) {
const gitFiles = await readFiles(getTemplate('git'))
if (mode === Mode.init) {
const gitignorePath = path.join(cwd, '.gitignore')
const docs = data.docsDir
if (fs.existsSync(gitignorePath)) {
const content = await fs.promises.readFile(gitignorePath, 'utf-8')
fileList.push({
filepath: '.gitignore',
content: `${content}\n${docs}/.vuepress/.cache\n${docs}/.vuepress/.temp\n${docs}/.vuepress/dist\n`,
})
fileList.push(...gitFiles.filter(({ filepath }) => filepath !== '.gitignore'))
}
else {
fileList.push(...gitFiles)
}
}
else {
fileList.push(...gitFiles)
}
}
// rewrite git files end ====================================
if (data.packageManager === 'yarn') {
fileList.push({
filepath: '.yarnrc.yml',
content: 'nodeLinker: \'node-modules\'\n',
})
}
if (data.deploy !== DeployType.custom) {
fileList.push(...await readFiles(getTemplate(`deploy/${data.deploy}`)))
}
const render = createRender(data)
const renderedFiles = fileList.map((file) => {
if (file.filepath.endsWith('.handlebars'))
file.content = render(file.content)
return file
})
const ext = data.useTs ? '' : userPkg.type !== 'module' ? '.mjs' : '.js'
const REG_EXT = /\.ts$/
const output = mode === Mode.create ? path.join(cwd, data.root) : cwd
await writeFiles(renderedFiles, output, (filepath) => {
if (filepath.endsWith('.d.ts'))
return filepath
if (ext)
return filepath.replace(REG_EXT, ext)
return filepath
})
}
/**
* Create documentation files based on configuration
*
*
*
* @param data - Resolved configuration data /
* @returns Array of file objects /
*/
async function createDocsFiles(data: ResolvedData): Promise<File[]> {
const fileList: File[] = []
if (data.multiLanguage) {
const enDocs = await readFiles(getTemplate('docs/en'))
const zhDocs = await readFiles(getTemplate('docs/zh'))
if (data.defaultLanguage === 'en-US') {
fileList.push(...enDocs)
fileList.push(...updateFileListTarget(zhDocs, 'zh'))
}
else {
fileList.push(...zhDocs)
fileList.push(...updateFileListTarget(enDocs, 'en'))
}
}
else {
if (data.defaultLanguage === 'en-US')
fileList.push(...await readFiles(getTemplate('docs/en')))
else
fileList.push(...await readFiles(getTemplate('docs/zh')))
}
return updateFileListTarget(fileList, data.docsDir)
}
/**
* Update file list target path
*
*
*
* @param fileList - Array of files /
* @param target - Target directory path /
* @returns Updated file array /
*/
function updateFileListTarget(fileList: File[], target: string): File[] {
return fileList.map(({ filepath, content }) => ({
filepath: path.join(target, filepath),
content,
}))
}

32
cli/src/index.ts Normal file
View File

@ -0,0 +1,32 @@
/**
* VuePress Theme Plume CLI Entry Point
*
* VuePress Theme Plume CLI
*
* This module provides command-line interface for creating and initializing
* VuePress projects with vuepress-theme-plume.
*
* VuePress
*
* @module cli
*/
import cac from 'cac'
import { version } from '../package.json'
import { Mode } from './constants.js'
import { run } from './run.js'
const cli = cac('create-vuepress-theme-plume')
cli
.command('[root]', 'create a new vuepress-theme-plume project / 创建新的 vuepress-theme-plume 项目')
.action((root: string) => run(Mode.create, root))
cli
.command('init [root]', 'Initial vuepress-theme-plume in the existing project / 在现有项目中初始化 vuepress-theme-plume')
.action((root: string) => run(Mode.init, root))
cli.help()
cli.version(version)
cli.parse()

30
cli/src/locales/en.ts Normal file
View File

@ -0,0 +1,30 @@
import type { Locale } from '../types.js'
/**
* English locale configuration for CLI prompts and messages.
*
* CLI
*/
export const en: Locale = {
'question.root': 'Where would you want to initialize VuePress?',
'question.site.name': 'Site Name:',
'question.site.description': 'Site Description:',
'question.bundler': 'Select a bundler',
'question.multiLanguage': 'Do you want to use multiple languages?',
'question.defaultLanguage': 'Select the default language of the site',
'question.useTs': 'Use TypeScript?',
'question.injectNpmScripts': 'Inject npm scripts?',
'question.deploy': 'Deploy type:',
'question.git': 'Initialize a git repository?',
'question.installDeps': 'Install dependencies?',
'spinner.start': '🚀 Creating...',
'spinner.stop': '🎉 Create success!',
'spinner.git': '📄 Initializing git repository...',
'spinner.install': '📦 Installing dependencies...',
'spinner.command': '🔨 Execute the following command to start:',
'hint.cancel': 'Operation cancelled.',
'hint.root': 'The path cannot be an absolute path, and cannot contain the parent path.',
'hint.root.illegal': 'Project names cannot contain special characters.',
}

17
cli/src/locales/index.ts Normal file
View File

@ -0,0 +1,17 @@
import type { Langs, Locale } from '../types.js'
import { en } from './en.js'
import { zh } from './zh.js'
/**
* Locale configurations for different languages.
*
*
*
* Maps language codes to their respective locale strings.
*
*
*/
export const locales: Record<Langs, Locale> = {
'zh-CN': zh,
'en-US': en,
}

30
cli/src/locales/zh.ts Normal file
View File

@ -0,0 +1,30 @@
import type { Locale } from '../types.js'
/**
* Chinese (Simplified) locale configuration for CLI prompts and messages.
*
* CLI
*/
export const zh: Locale = {
'question.root': '您想在哪里初始化 VuePress',
'question.site.name': '站点名称:',
'question.site.description': '站点描述信息:',
'question.bundler': '请选择打包工具',
'question.multiLanguage': '是否使用多语言?',
'question.defaultLanguage': '请选择站点默认语言',
'question.useTs': '是否使用 TypeScript',
'question.injectNpmScripts': '是否注入 npm 脚本?',
'question.deploy': '部署方式:',
'question.git': '是否初始化 git 仓库?',
'question.installDeps': '是否安装依赖?',
'spinner.start': '🚀 正在创建...',
'spinner.stop': '🎉 创建成功!',
'spinner.git': '📄 初始化 git 仓库...',
'spinner.install': '📦 安装依赖...',
'spinner.command': '🔨 执行以下命令即可启动:',
'hint.cancel': '操作已取消。',
'hint.root': '文件路径不能是绝对路径,不能包含父路径。',
'hint.root.illegal': '文件夹不能包含特殊字符。',
}

148
cli/src/packageJson.ts Normal file
View File

@ -0,0 +1,148 @@
import type { File, ResolvedData } from './types.js'
import { attemptAsync, kebabCase } from '@pengzhanbo/utils'
import spawn from 'nano-spawn'
import _sortPackageJson from 'sort-package-json'
import { Mode } from './constants.js'
import { readJsonFile, resolve } from './utils/index.js'
/**
* Sort package.json fields in a consistent order.
*
* package.json
*
* @param json - Package.json object to sort / package.json
* @returns Sorted package.json object / package.json
*/
function sortPackageJson(json: Record<any, any>) {
return _sortPackageJson(json, {
sortOrder: ['name', 'type', 'version', 'private', 'description', 'packageManager', 'author', 'license', 'scripts', 'devDependencies', 'dependencies', 'pnpm'],
})
}
/**
* Create package.json file for VuePress project
*
* VuePress package.json
*
* @param mode - Operation mode (init or create) /
* @param pkg - Existing package.json data / package.json
* @param data - Resolved configuration data /
* @param data.packageManager - Package manager to use / 使
* @param data.siteName - Site name /
* @param data.siteDescription - Site description /
* @param data.docsDir - Documentation directory path /
* @param data.bundler - Bundler to use / 使
* @param data.injectNpmScripts - Whether to inject npm scripts / npm
*
* @returns File object with package.json content / package.json
*/
export async function createPackageJson(
mode: Mode,
pkg: Record<string, any>,
{
packageManager,
docsDir,
siteName,
siteDescription,
bundler,
injectNpmScripts,
}: ResolvedData,
): Promise<File> {
if (mode === Mode.create) {
pkg.name = kebabCase(siteName)
pkg.type = 'module'
pkg.version = '1.0.0'
pkg.description = siteDescription
if (packageManager !== 'npm') {
let [, version] = await attemptAsync(getPackageManagerVersion, packageManager)
if (version) {
if (packageManager === 'yarn' && version.startsWith('1')) {
version = '4.10.3'
}
pkg.packageManager = `${packageManager}@${version}`
// pnpm@10 should add `onlyBuiltDependencies`
if (packageManager === 'pnpm' && version.startsWith('10')) {
pkg.pnpm = {
onlyBuiltDependencies: ['@parcel/watcher', 'esbuild'],
}
}
}
}
const [, userInfo] = await attemptAsync(getUserInfo)
if (userInfo) {
pkg.author = userInfo.username + (userInfo.email ? ` <${userInfo.email}>` : '')
}
pkg.license = 'MIT'
pkg.engines = { node: '^20.19.0 || >=22.0.0' }
}
if (injectNpmScripts) {
pkg.scripts ??= {}
pkg.scripts = {
...pkg.scripts,
'docs:dev': `vuepress dev ${docsDir}`,
'docs:dev-clean': `vuepress dev ${docsDir} --clean-cache --clean-temp`,
'docs:build': `vuepress build ${docsDir} --clean-cache --clean-temp`,
'docs:preview': `http-server ${docsDir}/.vuepress/dist`,
}
if (mode === Mode.create) {
pkg.scripts['vp-update'] = `${packageManager === 'npm' ? 'npx' : `${packageManager} dlx`} vp-update`
}
}
pkg.devDependencies ??= {}
const hasDep = (dep: string) => pkg.devDependencies?.[dep] || pkg.dependencies?.[dep]
const context = (await readJsonFile(resolve('package.json')))!
const meta = context['plume-deps']
pkg.devDependencies[`@vuepress/bundler-${bundler}`] = `${meta.vuepress}`
pkg.devDependencies.vuepress = `${meta.vuepress}`
pkg.devDependencies['vuepress-theme-plume'] = `${context.version}`
const deps: string[] = ['http-server']
if (!hasDep('vue'))
deps.push('vue')
deps.push('typescript')
for (const dep of deps)
pkg.devDependencies[dep] = meta[dep]
return {
filepath: 'package.json',
content: JSON.stringify(sortPackageJson(pkg), null, 2),
}
}
/**
* Get user information from git global configuration.
*
* git
*
* @returns User information object with username and email /
* @throws Error if git command fails / git
*/
async function getUserInfo() {
const { output: username } = await spawn('git', ['config', '--global', 'user.name'])
const { output: email } = await spawn('git', ['config', '--global', 'user.email'])
return { username, email }
}
/**
* Get the version of a package manager.
*
*
*
* @param pkg - Package manager name (npm, yarn, pnpm) /
* @returns Version string of the package manager /
* @throws Error if package manager command fails /
*/
async function getPackageManagerVersion(pkg: string) {
const { output } = await spawn(pkg, ['--version'])
return output
}

155
cli/src/prompt.ts Normal file
View File

@ -0,0 +1,155 @@
import type { Bundler, Langs, PromptResult } from './types.js'
import { createRequire } from 'node:module'
import process from 'node:process'
import { cancel, confirm, group, select, text } from '@clack/prompts'
import osLocale from 'os-locale'
import { bundlerOptions, deployOptions, DeployType, languageOptions, Mode } from './constants.js'
import { setLang, t } from './translate.js'
const require = createRequire(process.cwd())
const REG_DIR_CHAR = /[<>:"\\|?*[\]]/
/**
* Prompt user for project configuration
*
*
*
* @param mode - Operation mode (init or create) /
* @param root - Optional root directory path /
* @returns Resolved prompt result /
*/
export async function prompt(mode: Mode, root?: string): Promise<PromptResult> {
let hasTs = false
if (mode === Mode.init) {
try {
hasTs = !!require.resolve('typescript')
}
catch {}
}
const result: PromptResult = await group({
displayLang: async () => {
const locale = osLocale()
if (locale === 'zh-CN' || locale === 'zh-Hans') {
setLang('zh-CN')
return 'zh-CN'
}
if (locale === 'en-US') {
setLang('en-US')
return 'en-US'
}
const lang = await select<Langs>({
message: 'Select a language to display / 选择显示语言',
options: languageOptions,
})
if (typeof lang === 'string')
setLang(lang)
return lang
},
root: async () => {
if (root)
return root
const DEFAULT_ROOT = mode === Mode.init ? './docs' : './my-project'
return await text({
message: t('question.root'),
placeholder: DEFAULT_ROOT,
validate(value) {
// not absolute path or parent path
if (value?.startsWith('/') || value?.startsWith('..'))
return t('hint.root')
// not contains illegal characters
if (value && REG_DIR_CHAR.test(value))
return t('hint.root.illegal')
return undefined
},
defaultValue: DEFAULT_ROOT,
})
},
siteName: () => text({
message: t('question.site.name'),
placeholder: 'My Vuepress Site',
defaultValue: 'My Vuepress Site',
}),
siteDescription: () => text({
message: t('question.site.description'),
}),
multiLanguage: () => confirm({
message: t('question.multiLanguage'),
initialValue: false,
}),
defaultLanguage: () => select<Langs>({
message: t('question.defaultLanguage'),
options: languageOptions,
}),
useTs: async () => {
if (mode === Mode.init)
return hasTs
if (hasTs)
return true
return await confirm({
message: t('question.useTs'),
initialValue: true,
})
},
injectNpmScripts: async () => {
if (mode === Mode.create)
return true
return await confirm({
message: t('question.injectNpmScripts'),
initialValue: true,
})
},
bundler: () => select<Bundler>({
message: t('question.bundler'),
options: bundlerOptions,
}),
deploy: async () => {
if (mode === Mode.init) {
return DeployType.custom
}
return await select<DeployType>({
message: t('question.deploy'),
options: deployOptions,
initialValue: DeployType.custom,
})
},
git: async () => {
if (mode === Mode.init)
return false
return confirm({
message: t('question.git'),
initialValue: true,
})
},
install: () => confirm({
message: t('question.installDeps'),
initialValue: true,
}),
}, {
onCancel: () => {
cancel(t('hint.cancel'))
process.exit(0)
},
})
return result
}

57
cli/src/render.ts Normal file
View File

@ -0,0 +1,57 @@
import type { ResolvedData } from './types.js'
import { kebabCase } from '@pengzhanbo/utils'
import handlebars from 'handlebars'
/**
* Extended resolved data with additional rendering information
*
*
*/
export interface RenderData extends ResolvedData {
/** Project name in kebab-case / 项目名称kebab-case 格式) */
name: string
/** Site name / 网站名称 */
siteName: string
/** Locale configuration array / 语言配置数组 */
locales: { path: string, lang: string, isEn: boolean, prefix: string }[]
/** Whether default language is English / 默认语言是否为英语 */
isEN: boolean
}
handlebars.registerHelper('removeLeadingSlash', (path: string) => path.replace(/^\//, ''))
handlebars.registerHelper('equal', (a: string, b: string) => a === b)
/**
* Create render function with Handlebars template engine
*
* 使 Handlebars
*
* @param result - Resolved configuration data /
* @returns Render function that processes Handlebars templates / Handlebars
*/
export function createRender(result: ResolvedData) {
const data: RenderData = {
...result,
name: kebabCase(result.siteName),
isEN: result.defaultLanguage === 'en-US',
locales: result.defaultLanguage === 'en-US'
? [
{ path: '/', lang: 'en-US', isEn: true, prefix: 'en' },
{ path: '/zh/', lang: 'zh-CN', isEn: false, prefix: 'zh' },
]
: [
{ path: '/', lang: 'zh-CN', isEn: false, prefix: 'zh' },
{ path: '/en/', lang: 'en-US', isEn: true, prefix: 'en' },
],
}
return function render(source: string): string {
try {
const template = handlebars.compile(source)
return template(data)
}
catch (e) {
console.error(e)
return source
}
}
}

97
cli/src/run.ts Normal file
View File

@ -0,0 +1,97 @@
import type { PromptResult, ResolvedData } from './types.js'
import path from 'node:path'
import process from 'node:process'
import { intro, outro, spinner } from '@clack/prompts'
import { sleep } from '@pengzhanbo/utils'
import spawn from 'nano-spawn'
import colors from 'picocolors'
import { Mode } from './constants.js'
import { generate } from './generate.js'
import { prompt } from './prompt.js'
import { t } from './translate.js'
import { getPackageManager } from './utils/index.js'
/**
* Run the CLI workflow for VuePress project initialization or creation
*
* VuePress CLI
*
* @param mode - Operation mode (init or create) /
* @param root - Root directory path /
*/
export async function run(mode: Mode, root?: string): Promise<void> {
intro(colors.cyan('Welcome to VuePress and vuepress-theme-plume !'))
const result = await prompt(mode, root)
const data = resolveData(result, mode)
const progress = spinner()
progress.start(t('spinner.start'))
try {
await generate(mode, data)
}
catch (e) {
console.error(`${colors.red('generate files error: ')}\n`, e)
process.exit(1)
}
// Delay for some time, I/O may not be completed yet,
// executing subsequent tasks at this point may cause issues.
await sleep(200)
const cwd = path.join(process.cwd(), data.root)
if (data.git) {
progress.message(t('spinner.git'))
try {
await spawn('git', ['init'], { cwd })
}
catch (e) {
console.error(`${colors.red('git init error: ')}\n`, e)
process.exit(1)
}
}
const pm = data.packageManager
if (data.install) {
progress.message(t('spinner.install'))
try {
await spawn(pm, ['install'], { cwd })
}
catch (e) {
console.error(`${colors.red('install dependencies error: ')}\n`, e)
process.exit(1)
}
}
const cdCommand = mode === Mode.create ? colors.green(`cd ${data.root}`) : ''
const runCommand = colors.green(`${pm} run docs:dev`)
const installCommand = colors.green(`${pm} install`)
progress.stop(t('spinner.stop'))
if (mode === Mode.create) {
outro(`${t('spinner.command')}
${cdCommand}
${data.install ? '' : `${installCommand} && `}${runCommand}`)
}
}
/**
* Resolve prompt result into final configuration data.
*
*
*
* @param result - Prompt result from user input /
* @param mode - Operation mode (init or create) /
* @returns Resolved configuration data /
*/
function resolveData(result: PromptResult, mode: Mode): ResolvedData {
return {
...result,
packageManager: getPackageManager(),
docsDir: mode === Mode.create ? 'docs' : result.root.replace(/^\.\//, '').replace(/\/$/, ''),
siteDescription: result.siteDescription || '',
}
}

47
cli/src/translate.ts Normal file
View File

@ -0,0 +1,47 @@
import type { Langs, Locale } from './types.js'
import { locales } from './locales/index.js'
interface Translate {
setLang: (lang: Langs) => void
t: (key: keyof Locale) => string
}
/**
* Create a translate instance with specified language
*
*
*
* @param lang - Language code /
* @returns Translate interface /
*/
function createTranslate(lang?: Langs): Translate {
let current: Langs = lang || 'en-US'
return {
setLang: (lang) => {
current = lang
},
t: key => locales[current][key],
}
}
const translate = createTranslate()
/**
* Get translated string by key
*
*
*
* @param key - Locale key /
* @returns Translated string /
*/
export const t: Translate['t'] = translate.t
/**
* Set current language
*
*
*
* @param lang - Language code to set /
*/
export const setLang: Translate['setLang'] = translate.setLang

276
cli/src/types.ts Normal file
View File

@ -0,0 +1,276 @@
import type { DeployType } from './constants.js'
/**
* Supported language codes for VuePress site
*
* VuePress
*/
export type Langs = 'zh-CN' | 'en-US'
/**
* Locale configuration for CLI prompts and messages
*
* CLI
*/
export interface Locale {
/**
* Question: Project root directory name
*
*
*/
'question.root': string
/**
* Question: Site name
*
*
*/
'question.site.name': string
/**
* Question: Site description
*
*
*/
'question.site.description': string
/**
* Question: Enable multi-language support
*
*
*/
'question.multiLanguage': string
/**
* Question: Default language
*
*
*/
'question.defaultLanguage': string
/**
* Question: Build tool bundler
*
*
*/
'question.bundler': string
/**
* Question: Use TypeScript
*
* 使 TypeScript
*/
'question.useTs': string
/**
* Question: Inject npm scripts
*
* npm
*/
'question.injectNpmScripts': string
/**
* Question: Initialize git repository
*
* git
*/
'question.git': string
/**
* Question: Deployment type
*
*
*/
'question.deploy': string
/**
* Question: Install dependencies
*
*
*/
'question.installDeps': string
/**
* Spinner: Start message
*
*
*/
'spinner.start': string
/**
* Spinner: Stop message
*
*
*/
'spinner.stop': string
/**
* Spinner: Git init message
*
* Git
*/
'spinner.git': string
/**
* Spinner: Install message
*
*
*/
'spinner.install': string
/**
* Spinner: Command hint message
*
*
*/
'spinner.command': string
/**
* Hint: Cancel operation
*
*
*/
'hint.cancel': string
/**
* Hint: Root directory
*
*
*/
'hint.root': string
/**
* Hint: Illegal root directory name
*
*
*/
'hint.root.illegal': string
}
/**
* Package manager types
*
*
*/
export type PackageManager = 'npm' | 'yarn' | 'pnpm'
/**
* Build tool bundler types
*
*
*/
export type Bundler = 'vite' | 'webpack'
/**
* Generic options type for CLI prompts
*
* CLI
*
* @template Value - The value type for options
* @template Label - The label type for options
*/
export type Options<Value = string, Label = string> = { label: Label, value: Value }[]
/**
* File structure for generated project
*
*
*/
export interface File {
/**
* File path relative to project root
*
*
*/
filepath: string
/**
* File content
*
*
*/
content: string
}
/**
* Result from CLI prompts
*
* CLI
*/
export interface PromptResult {
/**
* CLI display language
*
* CLI
*/
displayLang: string
/**
* Project root directory name
*
*
*/
root: string
/**
* Site name
*
*
*/
siteName: string
/**
* Site description
*
*
*/
siteDescription: string
/**
* Build tool bundler
*
*
*/
bundler: Bundler
/**
* Enable multi-language support
*
*
*/
multiLanguage: boolean
/**
* Default language
*
*
*/
defaultLanguage: Langs
/**
* Use TypeScript
*
* 使 TypeScript
*/
useTs: boolean
/**
* Inject npm scripts
*
* npm
*/
injectNpmScripts: boolean
/**
* Deployment type
*
*
*/
deploy: DeployType
/**
* Initialize git repository
*
* git
*/
git: boolean
/**
* Install dependencies
*
*
*/
install: boolean
}
/**
* Resolved data after processing prompts
*
*
*/
export interface ResolvedData extends PromptResult {
/**
* Selected package manager
*
*
*/
packageManager: PackageManager
/**
* Documentation directory name
*
*
*/
docsDir: string
}

68
cli/src/utils/fs.ts Normal file
View File

@ -0,0 +1,68 @@
import type { File } from '../types.js'
import fs from 'node:fs/promises'
import path from 'node:path'
/**
* Read all files from a directory recursively
*
*
*
* @param root - Root directory path to read from /
* @returns Array of file objects /
*/
export async function readFiles(root: string): Promise<File[]> {
const filepaths = await fs.readdir(root, { recursive: true })
const files: File[] = []
for (const file of filepaths) {
const filepath = path.join(root, file)
if ((await fs.stat(filepath)).isFile()) {
files.push({
filepath: file,
content: await fs.readFile(filepath, 'utf-8'),
})
}
}
return files
}
/**
* Write files to target directory
*
*
*
* @param files - Array of file objects to write /
* @param target - Target directory path /
* @param rewrite - Optional function to rewrite file paths /
*/
export async function writeFiles(
files: File[],
target: string,
rewrite?: (path: string) => string,
): Promise<void> {
for (const { filepath, content } of files) {
let root = path.join(target, filepath).replace(/\.handlebars$/, '')
if (rewrite)
root = rewrite(root)
await fs.mkdir(path.dirname(root), { recursive: true })
await fs.writeFile(root, content)
}
}
/**
* Read and parse JSON file
*
* JSON
*
* @param filepath - Path to JSON file / JSON
* @returns Parsed JSON object or null if parsing fails / JSON null
*/
export async function readJsonFile<T extends Record<string, any> = Record<string, any>>(filepath: string): Promise<T | null> {
try {
const content = await fs.readFile(filepath, 'utf-8')
return JSON.parse(content)
}
catch {
return null
}
}

View File

@ -0,0 +1,20 @@
import type { PackageManager } from '../types.js'
import process from 'node:process'
/**
* Detect the current package manager from environment variables.
*
* 使
*
* @returns The detected package manager name /
* @example
* // When using pnpm
* const pm = getPackageManager() // returns 'pnpm'
*
* // When using npm
* const pm = getPackageManager() // returns 'npm'
*/
export function getPackageManager(): PackageManager {
const name = process.env?.npm_config_user_agent || 'npm'
return name.split('/')[0] as PackageManager
}

27
cli/src/utils/index.ts Normal file
View File

@ -0,0 +1,27 @@
import path from 'node:path'
import { fileURLToPath } from 'node:url'
export const __dirname: string = path.dirname(fileURLToPath(import.meta.url))
/**
* Resolve path relative to the project root
*
*
*
* @param args - Path segments to resolve /
* @returns Resolved absolute path /
*/
export const resolve = (...args: string[]): string => path.resolve(__dirname, '../', ...args)
/**
* Get template directory path
*
*
*
* @param dir - Subdirectory name within templates / templates
* @returns Resolved template directory path /
*/
export const getTemplate = (dir: string): string => resolve('templates', dir)
export * from './fs.js'
export * from './getPackageManager.js'

View File

@ -0,0 +1,22 @@
import { defineClientConfig } from 'vuepress/client'
// import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue'
// import NpmBadge from 'vuepress-theme-plume/features/NpmBadge.vue'
// import NpmBadgeGroup from 'vuepress-theme-plume/features/NpmBadgeGroup.vue'
// import Swiper from 'vuepress-theme-plume/features/Swiper.vue'
// import CustomComponent from './theme/components/Custom.vue'
// import './theme/styles/custom.css'
export default defineClientConfig({
enhance({ app }) {
// built-in components
// app.component('RepoCard', RepoCard)
// app.component('NpmBadge', NpmBadge)
// app.component('NpmBadgeGroup', NpmBadgeGroup)
// app.component('Swiper', Swiper) // you should install `swiper`
// your custom components
// app.component('CustomComponent', CustomComponent)
},
})

View File

@ -0,0 +1,124 @@
/**
* @see https://theme-plume.vuejs.press/guide/collection/ 查看文档了解配置详情。
*
* Collections 配置文件,它在 `.vuepress/plume.config.{{#if useTs}}ts{{else}}js{{/if}}` 中被导入。
*
* 请注意,你应该先在这里配置好 Collections然后再启动 vuepress主题会在启动 vuepress 时,
* 读取这里配置的 Collections然后在与 Collection 相关的 Markdown 文件中,自动生成 permalink。
*
* collection 的 type 为 `post` 时,表示为 文档列表类型(即没有侧边导航栏,有文档列表页)
* 可用于实现如 博客、专栏 等以文章列表聚合形式的文档集合 (内容相对碎片化的)
*
* collection 的 type 为 `doc` 时,表示为文档类型(即有侧边导航栏)
* 可用于实现如 笔记、知识库、文档等以侧边导航栏形式的文档集合 (内容强关联、成体系的)
* 如果发现 侧边栏没有显示,那么请检查你的配置是否正确,以及 Markdown 文件中的 permalink
* 是否是以对应的 Collection 配置的 link 的前缀开头。 是否展示侧边栏是根据 页面链接 的前缀 与 `collection.link`
* 的前缀是否匹配来决定。
*/
/**
* 在受支持的 IDE 中会智能提示配置项。
*
* - `defineCollections` 是用于定义 collection 集合的帮助函数
* - `defineCollection` 是用于定义单个 collection 配置的帮助函数
*
* 通过 `defineCollection` 定义的 collection 配置,应该填入 `defineCollections` 中
*/
import { defineCollection, defineCollections } from 'vuepress-theme-plume'
{{#if multiLanguage}}
{{#each locales}}
/* =================== locale: {{ lang }} ======================= */
const {{ prefix }}Blog = defineCollection({
// post 类型,这里用于实现 博客功能
type: 'post',
// 文档集合所在目录,相对于 `docs{{ path }}`
dir: 'blog',
// 文档标题,它将用于在页面的面包屑导航中显示
title: 'Blog',
// 文章列表页的链接,如果 `linkPrefix` 未定义,它也将作为 相关的文章的 permalink 的前缀
link: '/blog/',
// linkPrefix: '/article/', // 相关文章的链接前缀
// postList: true, // 是否启用文章列表页
// tags: true, // 是否启用标签页
// archives: true, // 是否启用归档页
// categories: true, // 是否启用分类页
// postCover: 'right', // 文章封面位置
// pagination: 15, // 每页显示文章数量
})
const {{ prefix }}DemoDoc = defineCollection({
// doc 类型,该类型带有侧边栏
type: 'doc',
// 文档集合所在目录,相对于 `docs{{ path }}`
dir: 'demo',
// `dir` 所指向的目录中的所有 markdown 文件,其 permalink 需要以 `linkPrefix` 配置作为前缀
// 如果 前缀不一致,则无法生成侧边栏。
// 所以请确保 markdown 文件的 permalink 都以 `{{ path }}` + `linkPrefix` 开头
linkPrefix: '/demo',
// 文档标题,它将用于在页面的面包屑导航中显示
title: 'Demo',
// 手动配置侧边栏结构
sidebar: ['', 'foo', 'bar'],
// 根据文件结构自动生成侧边栏
// sidebar: 'auto',
})
/**
* 导出所有的 collections
* ({{ prefix }}Blog 为博客示例,如果不需要博客功能,请删除)
* ({{ prefix }}DemoDoc 为参考示例,如果不需要它,请删除)
*/
export const {{ prefix }}Collections = defineCollections([
{{ prefix }}Blog,
{{ prefix }}DemoDoc,
])
{{/each}}
{{else}}
const blog = defineCollection({
// post 类型,这里用于实现 博客功能
type: 'post',
// 文档集合所在目录,相对于 `docs{{ path }}`
dir: 'blog',
// 文档标题,它将用于在页面的面包屑导航中显示
title: 'Blog',
// 文章列表页的链接,如果 `linkPrefix` 未定义,它也将作为 相关的文章的 permalink 的前缀
link: '/blog/',
// linkPrefix: '/article/', // 相关文章的链接前缀
// postList: true, // 是否启用文章列表页
// tags: true, // 是否启用标签页
// archives: true, // 是否启用归档页
// categories: true, // 是否启用分类页
// postCover: 'right', // 文章封面位置
// pagination: 15, // 每页显示文章数量
})
const demoDoc = defineCollection({
// doc 类型,该类型带有侧边栏
type: 'doc',
// 文档集合所在目录,相对于 `docs{{ path }}`
dir: 'demo',
// `dir` 所指向的目录中的所有 markdown 文件,其 permalink 需要以 `linkPrefix` 配置作为前缀
// 如果 前缀不一致,则无法生成侧边栏。
// 所以请确保 markdown 文件的 permalink 都以 `linkPrefix` 开头
linkPrefix: '/demo',
// 文档标题,它将用于在页面的面包屑导航中显示
title: 'Demo',
// 手动配置侧边栏结构
sidebar: ['', 'foo', 'bar'],
// 根据文件结构自动生成侧边栏
// sidebar: 'auto',
})
/**
* 导出所有的 collections
* (blog 为博客示例,如果不需要博客功能,请删除)
* (demoDoc 为参考示例,如果不需要它,请删除)
*/
export default defineCollections([
blog,
demoDoc,
])
{{/if}}

View File

@ -0,0 +1,194 @@
/**
* 查看以下文档了解主题配置
* - @see https://theme-plume.vuejs.press/config/intro/ 配置说明
* - @see https://theme-plume.vuejs.press/config/theme/ 主题配置项
*
* 请注意,对此文件的修改都会重启 vuepress 服务。
* 部分配置项的更新没有必要重启 vuepress 服务,建议请在 `.vuepress/config.{{#if useTs}}ts{{else}}js{{/if}}` 文件中配置
*
* 特别的,请不要在两个配置文件中重复配置相同的项,当前文件的配置项会被覆盖
*/
import { {{ bundler }}Bundler } from '@vuepress/bundler-{{ bundler }}'
import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'
export default defineUserConfig({
base: '/',
lang: '{{ defaultLanguage }}',
{{#if multiLanguage}}
locales: {
{{#each locales}}
'{{ path }}': {
title: '{{ ../siteName }}',
lang: '{{ lang }}',
description: '{{ ../siteDescription }}',
},
{{/each}}
},
{{else}}
title: '{{ siteName }}',
description: '{{ siteDescription }}',
{{/if}}
head: [
// 配置站点图标
['link', { rel: 'icon', type: 'image/png', href: 'https://theme-plume.vuejs.press/favicon-32x32.png' }],
],
bundler: {{ bundler }}Bundler(),
shouldPrefetch: false, // 站点较大,页面数量较多时,不建议启用
theme: plumeTheme({
/* 添加您的部署域名, 有助于 SEO, 生成 sitemap */
// hostname: 'https://your_site_url',
/* 文档仓库配置,用于 editLink */
// docsRepo: '',
// docsDir: '{{ docsDir }}',
// docsBranch: '',
/* 页内信息 */
// editLink: true,
// lastUpdated: true,
// contributors: true,
// changelog: false,
/**
* 编译缓存,加快编译速度
* @see https://theme-plume.vuejs.press/config/theme/#cache
*/
cache: 'filesystem',
/**
* 为 markdown 文件自动添加 frontmatter 配置
* @see https://theme-plume.vuejs.press/config/theme/#autofrontmatter
*/
// autoFrontmatter: {
// permalink: true, // 是否生成永久链接
// createTime: true, // 是否生成创建时间
// title: true, // 是否生成标题
// },
/* 本地搜索, 默认启用 */
search: { provider: 'local' },
/**
* Algolia DocSearch
* 启用此搜索需要将 本地搜索 search 设置为 false
* @see https://theme-plume.vuejs.press/config/plugins/search/#algolia-docsearch
*/
// search: {
// provider: 'algolia',
// appId: '',
// apiKey: '',
// indices: [''],
// },
/**
* Shiki 代码高亮
* @see https://theme-plume.vuejs.press/config/plugins/code-highlight/
*/
// codeHighlighter: {
// twoslash: true, // 启用 twoslash
// whitespace: true, // 启用 空格/Tab 高亮
// lineNumbers: true, // 启用行号
// },
/* 文章字数统计、阅读时间,设置为 false 则禁用 */
// readingTime: true,
/**
* markdown
* @see https://theme-plume.vuejs.press/config/markdown/
*/
// markdown: {
// abbr: true, // 启用 abbr 语法 *[label]: content
// annotation: true, // 启用 annotation 语法 [+label]: content
// pdf: true, // 启用 PDF 嵌入 @[pdf](/xxx.pdf)
// caniuse: true, // 启用 caniuse 语法 @[caniuse](feature_name)
// plot: true, // 启用隐秘文本语法 !!xxxx!!
// bilibili: true, // 启用嵌入 bilibili视频 语法 @[bilibili](bid)
// youtube: true, // 启用嵌入 youtube视频 语法 @[youtube](video_id)
// artPlayer: true, // 启用嵌入 artPlayer 本地视频 语法 @[artPlayer](url)
// audioReader: true, // 启用嵌入音频朗读功能 语法 @[audioReader](url)
// icon: { provider: 'iconify' }, // 启用内置图标语法 ::icon-name::
// table: true, // 启用表格增强容器语法 ::: table
// codepen: true, // 启用嵌入 codepen 语法 @[codepen](user/slash)
// replit: true, // 启用嵌入 replit 语法 @[replit](user/repl-name)
// codeSandbox: true, // 启用嵌入 codeSandbox 语法 @[codeSandbox](id)
// jsfiddle: true, // 启用嵌入 jsfiddle 语法 @[jsfiddle](user/id)
// npmTo: true, // 启用 npm-to 容器 ::: npm-to
// demo: true, // 启用 demo 容器 ::: demo
// collapse: true, // 启用折叠容器 ::: collapse
// repl: { // 启用 代码演示容器
// go: true, // ::: go-repl
// rust: true, // ::: rust-repl
// kotlin: true, // ::: kotlin-repl
// python: true, // ::: python-repl
// },
// math: { // 启用数学公式
// type: 'katex',
// },
// chartjs: true, // 启用 chart.js
// echarts: true, // 启用 ECharts
// mermaid: true, // 启用 mermaid
// flowchart: true, // 启用 flowchart
// image: {
// figure: true, // 启用 figure
// lazyload: true, // 启用图片懒加载
// mark: true, // 启用图片标记
// size: true, // 启用图片大小
// },
// include: true, // 在 Markdown 文件中导入其他 markdown 文件内容
// imageSize: 'local', // 启用 自动填充 图片宽高属性,避免页面抖动
// },
/**
* 水印
* @see https://theme-plume.vuejs.press/guide/features/watermark/
*/
// watermark: true,
/**
* 评论 comments
* @see https://theme-plume.vuejs.press/guide/features/comments/
*/
// comment: {
// provider: '', // "Artalk" | "Giscus" | "Twikoo" | "Waline"
// comment: true,
// repo: '',
// repoId: '',
// category: '',
// categoryId: '',
// mapping: 'pathname',
// reactionsEnabled: true,
// inputPosition: 'top',
// },
/**
* 资源链接替换
* @see https://theme-plume.vuejs.press/guide/features/replace-assets/
*/
// replaceAssets: 'https://cdn.example.com',
/**
* 加密功能
* @see https://theme-plume.vuejs.press/guide/features/encryption/
*/
// encrypt: {},
/**
* 启用 llmstxt 插件,用于为大语言模型提供更友好的内容
* @see https://theme-plume.vuejs.press/guide/features/llmstxt/
*/
// llmstxt: {
{{#if multiLanguage}}
// locale: '/', // 默认仅为主语言生成 llms 友好内容
// locale: 'all', // 为所有语言生成 llms 友好内容
{{else}}
// locale: '/', // 默认仅为主语言生成 llms 友好内容
{{/if}}
// }
}),
})

View File

@ -0,0 +1,34 @@
/**
* @see https://theme-plume.vuejs.press/config/navigation/ 查看文档了解配置详情
*
* Navbar 配置文件,它在 `.vuepress/plume.config.{{#if useTs}}ts{{else}}js{{/if}}` 中被导入。
*/
import { defineNavbarConfig } from 'vuepress-theme-plume'
{{#if multiLanguage}}
{{#each locales}}
export const {{prefix}}Navbar = defineNavbarConfig([
{ text: '{{#if isEn}}Home{{else}}首页{{/if}}', link: '{{ path }}' },
{ text: '{{#if isEn}}Blog{{else}}博客{{/if}}', link: '{{ path }}blog/' },
{ text: '{{#if isEn}}Tags{{else}}标签{{/if}}', link: '{{ path }}blog/tags/' },
{ text: '{{#if isEn}}Archives{{else}}归档{{/if}}', link: '{{ path }}blog/archives/' },
{
text: '{{#if isEn}}Notes{{else}}笔记{{/if}}',
items: [{ text: '{{#if isEn}}Demo{{else}}示例{{/if}}', link: '{{ path }}demo/README.md' }]
},
])
{{/each}}
{{else}}
export default defineNavbarConfig([
{ text: '{{#if isEn}}Home{{else}}首页{{/if}}', link: '/' },
{ text: '{{#if isEn}}Blog{{else}}博客{{/if}}', link: '/blog/' },
{ text: '{{#if isEn}}Tags{{else}}标签{{/if}}', link: '/blog/tags/' },
{ text: '{{#if isEn}}Archives{{else}}归档{{/if}}', link: '/blog/archives/' },
{
text: '{{#if isEn}}Notes{{else}}笔记{{/if}}',
items: [{ text: '{{#if isEn}}Demo{{else}}示例{{/if}}', link: '/demo/README.md' }]
},
])
{{/if}}

View File

@ -0,0 +1,121 @@
/**
* 查看以下文档了解主题配置
* - @see https://theme-plume.vuejs.press/config/intro/ 配置说明
* - @see https://theme-plume.vuejs.press/config/theme/ 主题配置项
*
* 请注意,对此文件的修改不会重启 vuepress 服务,而是通过热更新的方式生效
* 但同时部分配置项不支持热更新,请查看文档说明
* 对于不支持热更新的配置项,请在 `.vuepress/config.{{#if useTs}}ts{{else}}js{{/if}}` 文件中配置
*
* 特别的,请不要在两个配置文件中重复配置相同的项,当前文件的配置项会覆盖 `.vuepress/config.{{#if useTs}}ts{{else}}js{{/if}}` 文件中的配置
*/
import { defineThemeConfig } from 'vuepress-theme-plume'
{{#if multiLanguage}}
import { enCollections, zhCollections } from './collections'
import { enNavbar, zhNavbar } from './navbar'
{{else}}
import navbar from './navbar'
import collections from './collections'
{{/if}}
/**
* @see https://theme-plume.vuejs.press/config/theme/
*/
export default defineThemeConfig({
logo: 'https://theme-plume.vuejs.press/plume.png',
appearance: true, // 配置 深色模式
social: [
{ icon: 'github', link: '/' },
],
// navbarSocialInclude: ['github'], // 允许显示在导航栏的 social 社交链接
// aside: true, // 页内侧边栏, 默认显示在右侧
// outline: [2, 3], // 页内大纲, 默认显示 h2, h3
/**
* 文章版权信息
* @see https://theme-plume.vuejs.press/guide/features/copyright/
*/
// copyright: true,
// prevPage: true, // 是否启用上一页链接
// nextPage: true, // 是否启用下一页链接
// createTime: true, // 是否显示文章创建时间
/* 站点页脚 */
// footer: {
// message: 'Power by <a target="_blank" href="https://v2.vuepress.vuejs.org/">VuePress</a> & <a target="_blank" href="https://theme-plume.vuejs.press">vuepress-theme-plume</a>',
// copyright: '',
// },
{{#unless multiLanguage}}
/**
* @see https://theme-plume.vuejs.press/config/theme/#profile
*/
profile: {
avatar: 'https://theme-plume.vuejs.press/plume.png',
name: '{{ siteName }}',
description: '{{ siteDescription }}',
// circle: true,
// location: '',
// organization: '',
},
navbar,
collections,
/**
* 公告板
* @see https://theme-plume.vuejs.press/guide/features/bulletin/
*/
// bulletin: {
// layout: 'top-right',
// contentType: 'markdown',
// title: '公告板标题',
// content: '公告板内容',
// },
{{/unless}}
/* 过渡动画 @see https://theme-plume.vuejs.press/config/theme/#transition */
// transition: {
// page: true, // 启用 页面间跳转过渡动画
// postList: true, // 启用 博客文章列表过渡动画
// appearance: 'fade', // 启用 深色模式切换过渡动画, 或配置过渡动画类型
// },
{{#if multiLanguage}}
locales: {
{{#each locales}}
'{{ path }}': {
/**
* @see https://theme-plume.vuejs.press/config/theme/#profile
*/
profile: {
avatar: 'https://theme-plume.vuejs.press/plume.png',
name: '{{ ../siteName }}',
description: '{{ ../siteDescription }}',
// circle: true,
// location: '',
// organization: '',
},
navbar: {{ prefix }}Navbar,
collections: {{ prefix }}Collections,
/**
* 公告板
* @see https://theme-plume.vuejs.press/guide/features/bulletin/
*/
// bulletin: {
// layout: 'top-right',
// contentType: 'markdown',
// title: '',
// content: '',
// },
},
{{/each}}
},
{{/if}}
})

View File

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 72 72">
<path fill="#5086a1" d="M42.334 49.147a29.945 29.945 0 0 1-19.338-8.151c-8.014-7.365-8.378-18.076-8.533-22.649l-.022-.627a2.904 2.904 0 0 1 3.457-2.951c17.005 3.355 21.695 16.324 22.056 17.4a49.543 49.543 0 0 1 3.574 15.922a1 1 0 0 1-.967 1.052c-.029.001-.106.004-.227.004" />
<path fill="#8cccd5" d="M44.436 55.316c-11.646 0-17.376-6.974-17.653-7.354a1 1 0 0 1 .262-1.424a11.103 11.103 0 0 1 12.774-1.574c-1.465-9.078 1.877-13.568 2.031-13.77a.998.998 0 0 1 .75-.39a.97.97 0 0 1 .78.325c8.944 9.771 8.793 16.532 7.908 19.691c-.034.14-1.062 4.092-4.772 4.406c-.711.062-1.405.09-2.08.09" />
<g fill="none" stroke="#333" stroke-linecap="round" stroke-linejoin="round" stroke-width="1">
<path d="M55.184 57.69S34.96 45.877 23.097 24.206m22.131 30.096c-11.93.46-17.628-6.88-17.628-6.88" />
<path d="M40.528 42.483c-.56-7.195 2.116-10.679 2.116-10.679c8.834 9.654 8.406 16.162 7.681 18.747m-13.311-3.129a30.15 30.15 0 0 1-13.341-7.162c-8.072-7.419-8.067-18.241-8.232-22.577a1.903 1.903 0 0 1 2.264-1.932C34.694 19.103 39.02 32.528 39.02 32.528" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,11 @@
<script setup lang="ts">
import { ref } from 'vue'
const message = ref('Hello World!')
</script>
<template>
<div class="my-custom-content">
{{ message }}
</div>
</template>

View File

@ -0,0 +1,6 @@
declare module '*.vue' {
import type { ComponentOptions } from 'vue'
const comp: ComponentOptions
export default comp
}

View File

@ -0,0 +1,50 @@
:root {
/** 主题颜色 */
/*
--vp-c-brand-1: #5086a1;
--vp-c-brand-2: #6aa1b7;
--vp-c-brand-3: #8cccd5;
--vp-c-brand-soft: rgba(131, 208, 218, 0.314);
*/
/** 背景颜色 */
/*
--vp-c-bg: #fff;
--vp-c-bg-alt: #f6f6f7;
--vp-c-bg-elv: #fff;
--vp-c-bg-soft: #f6f6f7;
*/
/** 文本颜色 */
/*
--vp-c-text-1: rgba(60, 60, 67);
--vp-c-text-2: rgba(60, 60, 67, 0.78);
--vp-c-text-3: rgba(60, 60, 67, 0.56);
*/
}
/** 深色模式 */
[data-theme="dark"] {
/*
--vp-c-brand-1: #8cccd5;
--vp-c-brand-2: #6aa1b7;
--vp-c-brand-3: #5086a1;
--vp-c-brand-soft: rgba(131, 208, 218, 0.314);
*/
/*
--vp-c-bg: #1b1b1f;
--vp-c-bg-alt: #161618;
--vp-c-bg-elv: #202127;
--vp-c-bg-soft: #202127;
*/
/*
--vp-c-text-1: rgba(255, 255, 245, 0.86);
--vp-c-text-2: rgba(235, 235, 245, 0.6);
--vp-c-text-3: rgba(235, 235, 245, 0.38);
*/
}

View File

@ -0,0 +1,74 @@
# {{ name }}
The Site is generated using [vuepress](https://vuepress.vuejs.org/) and [vuepress-theme-plume](https://github.com/pengzhanbo/vuepress-theme-plume)
## Install
```sh
{{#if (equal packageManager "pnpm")}}
pnpm i
{{else if (equal packageManager "yarn")}}
yarn
{{else}}
npm i
{{/if}}
```
## Usage
{{#if (equal packageManager "pnpm")}}
```sh
# start dev server
pnpm docs:dev
# build for production
pnpm docs:build
# preview production build in local
pnpm docs:preview
# update vuepress and theme
pnpm vp-update
```
{{else if (equal packageManager "yarn")}}
```sh
# start dev server
yarn docs:dev
# build for production
yarn docs:build
# preview production build in local
yarn docs:preview
# update vuepress and theme
yarn vp-update
```
{{else}}
```sh
# start dev server
npm run docs:dev
# build for production
npm run docs:build
# preview production build in local
npm run docs:preview
# update vuepress and theme
npm run vp-update
```
{{/if}}
{{#if (equal deploy "github")}}
## Deploy to GitHub Pages
The plume theme has been created with GitHub Actions: `.github/workflows/docs-deploy.yml`. You also need to make the following settings in the GitHub repository:
- [ ] `settings > Actions > General`, Scroll to the bottom of the page, under `Workflow permissions`, check `Read and write permissions`, and click the save button.
- [ ] `settings > Pages`, In `Build and deployment`, select `Deploy from a branch` for `Source`, choose `gh-pages` for `Branch`, and click the save button.
(The `gh-pages` branch may not exist upon first creation. You can complete the above setup first, push the code to the main branch, wait for `github actions` to finish, and then proceed with the setup.)
- [ ] Modify the `base` option in `docs/.vuepress/config.ts`:
- If you are planning to deploy to `https://<USERNAME>.github.io/`, you can skip this step as `base` defaults to `"/"`.
- If you are planning to deploy to `https://<USERNAME>.github.io/<REPO>/`, meaning your repository URL is `https://github.com/<USERNAME>/<REPO>`, set `base` to `"/<REPO>/"`.
To customize a domain name, please refer to [Github Pages](https://docs.github.com/zh/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages)
{{/if}}
## Documents
- [vuepress](https://vuepress.vuejs.org/)
- [vuepress-theme-plume](https://theme-plume.vuejs.press/)

View File

@ -0,0 +1,74 @@
# {{ name }}
网站使用 [vuepress](https://vuepress.vuejs.org/) 和 [vuepress-theme-plume](https://github.com/pengzhanbo/vuepress-theme-plume) 构建生成。
## Install
```sh
{{#if (equal packageManager "pnpm")}}
pnpm i
{{else if (equal packageManager "yarn")}}
yarn
{{else}}
npm i
{{/if}}
```
## Usage
{{#if (equal packageManager "pnpm")}}
```sh
# 启动开发服务
pnpm docs:dev
# 构建生产包
pnpm docs:build
# 本地预览生产服务
pnpm docs:preview
# 更新 vuepress 和主题
pnpm vp-update
```
{{else if (equal packageManager "yarn")}}
```sh
# 启动开发服务
yarn docs:dev
# 构建生产包
yarn docs:build
# 本地预览生产服务
yarn docs:preview
# update vuepress and theme
yarn vp-update
```
{{else}}
```sh
# 启动开发服务
npm run docs:dev
# 构建生产包
npm run docs:build
# 本地预览生产服务
npm run docs:preview
# 更新 vuepress 和主题
npm run vp-update
```
{{/if}}
{{#if (equal deploy "github")}}
## 部署到 GitHub Pages
主题已创建 github actions: `.github/workflows/docs-deploy.yml`,你还需要在 github 仓库中进行以下设置:
- [ ] `settings > Actions > General`,拉到页面底部,在 `Workflow permissions` 下,勾选 `Read and write permissions`,并点击保存按钮
- [ ] `settings > Pages`, 在 `Build and deployment` 中,`Source` 选择 `Deploy from a branch`, `Branch` 选择 `gh-pages`,并点击保存按钮
(首次创建可能没有 `gh-pages`分支,你可以先完成上面的设置后,推送一次代码到主分支,等待 `github actions` 完成后再进行设置)
- [ ] 修改 `docs/.vuepress/config.ts` 中的 `base` 选项:
- 如果你准备发布到 `https://<USERNAME>.github.io/` ,你可以省略这一步,因为 `base` 默认就是 `"/"` 。
- 如果你准备发布到 `https://<USERNAME>.github.io/<REPO>/` ,也就是说你的仓库地址是 `https://github.com/<USERNAME>/<REPO>` ,则将 `base` 设置为 `"/<REPO>/"`。
如需要自定义域名,请查看 [Github Pages 文档](https://docs.github.com/zh/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages)
{{/if}}
## 文档
- [vuepress](https://vuepress.vuejs.org/)
- [vuepress-theme-plume](https://theme-plume.vuejs.press/)

View File

@ -0,0 +1,84 @@
name: deploy
on:
# 每当 push 到 main 分支时触发部署
# Deployment is triggered whenever a push is made to the main branch.
push:
branches: [main]
# 手动触发部署
# Manually trigger deployment
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
# "Last updated time" and other git log-related information require fetching all commit records.
fetch-depth: 0
{{#if (equal packageManager "pnpm")}}
- name: Setup pnpm
uses: pnpm/action-setup@v4
{{/if}}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
# 选择要使用的 node 版本
node-version: 22
{{#if (equal packageManager "npm")}}
# 安装依赖
# Install dependencies
- name: Install Dependencies
run: npm ci
{{/if}}
{{#if (equal packageManager "pnpm")}}
# 安装依赖
# Install dependencies
- name: Install Dependencies
run: pnpm install --frozen-lockfile
{{/if}}
{{#if (equal packageManager "yarn")}}
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install
{{/if}}
# 运行构建脚本
# Run the build script
{{#unless (equal packageManager "yarn")}}
- name: Build VuePress site
env:
NODE_OPTIONS: --max_old_space_size=8192
run: {{packageManager}} run docs:build
{{/unless}}
{{#if (equal packageManager "yarn")}}
- name: Build VuePress site
uses: borales/actions-yarn@v4
env:
NODE_OPTIONS: --max_old_space_size=8192
with:
cmd: docs:build
{{/if}}
# 查看 workflow 的文档来获取更多信息
# @see https://github.com/crazy-max/ghaction-github-pages
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
# 部署到 gh-pages 分支
target_branch: gh-pages
# 部署目录为 VuePress 的默认输出目录
build_dir: {{docsDir}}/.vuepress/dist
env:
# @see https://docs.github.com/cn/actions/reference/authentication-in-a-workflow#about-the-github_token-secret
GITHUB_TOKEN: $\{{ secrets.GITHUB_TOKEN }}

View File

@ -0,0 +1,9 @@
# prevent Netlify npm install
[build]
publish = "{{ docsDir }}/.vuepress/dist"
command = "{{#if (equal packageManager 'yarn')}}yarn && yarn{{else}}{{packageManager}} run{{/if}} docs:build"
[build.environment]
NODE_VERSION = "22"
NPM_FLAGS = "--version"

View File

@ -0,0 +1,6 @@
{
"framework": null,
"buildCommand": "{{#if (equal packageManager 'yarn')}}yarn{{else}}{{packageManager}} run{{/if}} docs:build",
"installCommand": "{{#if (equal packageManager 'yarn')}}yarn{{else}}{{packageManager}} install{{/if}}",
"outputDirectory": "{{ docsDir }}/.vuepress/dist"
}

View File

@ -0,0 +1,23 @@
---
pageLayout: home
externalLinkIcon: false
config:
-
type: hero
full: true
forceDark: true
effect: lightning
hero:
name: Theme Plume
tagline: VuePress Next Theme
text: A simple, feature-rich, document & blog
actions:
-
theme: brand
text: Blog
link: {{#if (equal defaultLanguage 'en-US')}}/{{else}}/en/{{/if}}blog/
-
theme: alt
text: Github →
link: https://github.com/pengzhanbo/vuepress-theme-plume
---

View File

@ -0,0 +1,8 @@
---
title: Custom Component
tags:
- preview
- component
---
<CustomComponent />

View File

@ -0,0 +1,322 @@
---
title: Markdown
tags:
- markdown
---
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Bold: **Bold text**
Italic: _Italic text_
~~Deleted text~~
Content ==Highlight==
Mathematical expression: $-(2^{n-1})$ ~ $2^{n-1} -1$
$\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right)
= \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^ Ir \cdots (r-i+1) (\log y)^{ri}} {\omega^i} \right\}$
19^th^
H~2~O
::: center
content center
:::
::: right
content right
:::
- Unordered List 1
- Unordered List 2
- Unordered List 3
1. Ordered List 1
2. Ordered List 2
3. Ordered List 3
- [ ] Task List 1
- [ ] Task List 2
- [x] Task List 3
- [x] Task List 4
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
> quote content
>
> quote content
[links](/)
[outside links](https://github.com/pengzhanbo)
**Badge**
- <Badge type="info" text="info badge" />
- <Badge type="tip" text="tip badge" />
- <Badge type="warning" text="warning badge" />
- <Badge type="danger" text="danger badge" />
**icons**
- home - <Icon name="material-symbols:home" color="currentColor" size="1em" />
- vscode - <Icon name="skill-icons:vscode-dark" size="2em" />
- twitter - <Icon name="skill-icons:twitter" size="2em" />
**demo wrapper**
::: window title="Demo" height="200px"
<style scoped>
.open-door {
display: flex;
gap: 20px;
padding: 20px;
}
.open-door .main {
background: #ccc;
}
</style>
<div class="open-door">
<div class="main">main</div>
<div class="aside">aside</div>
</div>
:::
**code block**
```js whitespace
const a = 1
const b = 2
const c = a + b
// [!code word:obj]
const obj = {
toLong: {
deep: {
deep: {
deep: {
value: 'this is to long text. this is to long text. this is to long text. this is to long text.', // [!code highlight]
}
}
}
}
}
```
**code groups**
::: code-tabs
@tab tab1
```js
const a = 1
const b = 2
const c = a + b
```
@tab tab2
```ts
const a: number = 1
const b: number = 2
const c: number = a + b
```
:::
**code highlight**
```ts
function foo() {
const a = 1 // [!code highlight]
console.log(a)
const b = 2 // [!code ++]
const c = 3 // [!code --]
console.log(a + b + c) // [!code error]
console.log(a + b) // [!code warning]
}
```
**code focus**
```ts
function foo() {
const a = 1 // [!code focus]
}
```
::: note
note content [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: info
content [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: tip
content [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: warning
content [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: caution
content [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: important
content [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
**GFM alert**
> [!note]
> note
> [!info]
> info
> [!tip]
> tip
> [!warning]
> warning
> [!caution]
> caution
> [!important]
> important
**code demo:**
:::: demo title="Demo" desc="A normal demo"
::: code-tabs
@tab HTML
```html
<div id="app">
<h3>vuepress-theme-plume</h3>
</div>
```
@tab Javascript
```js
const a = 'So Awesome!'
const app = document.querySelector('#app')
app.appendChild(window.document.createElement('small')).textContent = a
```
@tab CSS
```css
#app {
font-size: 2em;
text-align: center;
}
```
:::
::::
**tab card**
::: tabs
@tab title 1
content block
@tab title 2
content block
:::
:::: warning
::: tabs
@tab title 1
content block
@tab title 2
content block
:::
::::
**footnote**
footnote 1 link[^first]。
footnote 2 link[^second]。
inline footnote ^[^first] definition。
Repeated footnote definition[^second]。
[^first]: footnote **you can contain special mark**
also can contain paragraph
[^second]: footnote content.

View File

@ -0,0 +1,6 @@
---
title: Demo
---
- [bar](./bar.md)
- [foo](./foo.md)

View File

@ -0,0 +1,5 @@
---
title: bar
---
[foo](./foo.md)

View File

@ -0,0 +1,5 @@
---
title: foo
---
[bar](./bar.md)

View File

@ -0,0 +1,23 @@
---
pageLayout: home
externalLinkIcon: false
config:
-
type: hero
full: true
forceDark: true
effect: lightning
hero:
name: Theme Plume
tagline: VuePress Next Theme
text: 一个简约的,功能丰富的 vuepress 文档&博客 主题
actions:
-
theme: brand
text: 博客
link: {{#if (equal defaultLanguage 'zh-CN')}}/{{else}}/zh/{{/if}}blog/
-
theme: alt
text: Github →
link: https://github.com/pengzhanbo/vuepress-theme-plume
---

View File

@ -0,0 +1,8 @@
---
title: 自定义组件
tags:
- 预览
- 组件
---
<CustomComponent />

View File

@ -0,0 +1,346 @@
---
title: Markdown
tags:
- markdown
---
## 标题H2
### 标题H3
#### 标题H4
##### 标题H5
###### 标题H6
## 标题2 Badge <Badge type="tip" text="Badge" />
### 标题3 Badge <Badge type="warning" text="Badge" />
#### 标题4 Badge <Badge type="danger" text="Badge" />
正文内容。
`@property` CSS at-rule是 [CSS Houdini API](https://developer.mozilla.org/zh-CN/docs/Web/Guide/Houdini)
的一部分,它允许开发者显式地定义他们的 [CSS 自定义属性](https://developer.mozilla.org/zh-CN/docs/Web/CSS/--*),
允许进行属性类型检查、设定默认值以及定义该自定义属性是否可以被继承。
`@property` 的出现,极大的增强了 CSS 的能力。
加粗:**加粗文字**
斜体: _斜体文字_
~~删除文字~~
内容 ==标记==
数学表达式: $-(2^{n-1})$ ~ $2^{n-1} -1$
$\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right)
= \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^ Ir \cdots (r-i+1) (\log y)^{ri}} {\omega^i} \right\}$
19^th^
H~2~O
::: center
内容居中
:::
::: right
内容右对齐
:::
- 无序列表1
- 无序列表2
- 无序列表3
1. 有序列表1
2. 有序列表2
3. 有序列表3
- [ ] 任务列表1
- [ ] 任务列表2
- [x] 任务列表3
- [x] 任务列表4
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
> 引用内容
>
> 引用内容
[链接](/)
[外部链接](https://github.com/pengzhanbo)
![plume](/plume.svg)
**Badge**
- <Badge type="info" text="info badge" />
- <Badge type="tip" text="tip badge" />
- <Badge type="warning" text="warning badge" />
- <Badge type="danger" text="danger badge" />
**图标:**
- home - <Icon name="material-symbols:home" color="currentColor" size="1em" />
- vscode - <Icon name="skill-icons:vscode-dark" size="2em" />
- twitter - <Icon name="skill-icons:twitter" size="2em" />
**示例容器:**
::: window title="示例" height="200px"
<style scoped>
.open-door {
display: flex;
gap: 20px;
padding: 20px;
}
.open-door .main {
background: #ccc;
}
</style>
<div class="open-door">
<div class="main">main</div>
<div class="aside">aside</div>
</div>
:::
**代码:**
```js whitespace
const a = 1
const b = 2
const c = a + b
// [!code word:obj]
const obj = {
toLong: {
deep: {
deep: {
deep: {
value: 'this is to long text. this is to long text. this is to long text. this is to long text.', // [!code highlight]
}
}
}
}
}
```
**代码分组:**
::: code-tabs
@tab tab1
```js
const a = 1
const b = 2
const c = a + b
```
@tab tab2
```ts
const a: number = 1
const b: number = 2
const c: number = a + b
```
:::
**代码块高亮:**
```ts
function foo() {
const a = 1 // [!code highlight]
console.log(a)
const b = 2 // [!code ++]
const c = 3 // [!code --]
console.log(a + b + c) // [!code error]
console.log(a + b) // [!code warning]
}
```
**代码块聚焦:**
```ts
function foo() {
const a = 1 // [!code focus]
}
```
::: tip 仅标题
:::
::: note 注释
注释内容 [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: info 信息
信息内容 [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: tip 提示
提示内容 [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: warning 警告
警告内容 [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: caution 错误
错误内容 [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: important 重要
重要内容 [link](https://github.com/pengzhanbo) `inline code`
```js
const a = 1
const b = 2
const c = a + b
```
:::
::: details 详细标题
这里是内容。
:::
**GFM alert**
> [!note]
> note
> [!info]
> info
> [!tip]
> tip
> [!warning]
> warning
> [!caution]
> caution
> [!important]
> important
**代码演示:**
:::: demo title="常规示例" desc="一个常规示例"
::: code-tabs
@tab HTML
```html
<div id="app">
<h3>vuepress-theme-plume</h3>
</div>
```
@tab Javascript
```js
const a = 'So Awesome!'
const app = document.querySelector('#app')
app.appendChild(window.document.createElement('small')).textContent = a
```
@tab CSS
```css
#app {
font-size: 2em;
text-align: center;
}
```
:::
::::
**选项卡:**
::: tabs
@tab 标题1
内容区块
@tab 标题2
内容区块
:::
:::: warning
::: tabs
@tab 标题1
内容区块
@tab 标题2
内容区块
:::
::::
**脚注:**
脚注 1 链接[^first]。
脚注 2 链接[^second]。
行内的脚注^[行内脚注文本] 定义。
重复的页脚定义[^second]。
[^first]: 脚注 **可以包含特殊标记**
也可以由多个段落组成
[^second]: 脚注文字。

View File

@ -0,0 +1,6 @@
---
title: Demo
---
- [bar](./bar.md)
- [foo](./foo.md)

View File

@ -0,0 +1,5 @@
---
title: bar
---
[foo](./foo.md)

View File

@ -0,0 +1,5 @@
---
title: foo
---
[bar](./bar.md)

View File

@ -0,0 +1,13 @@
* text eol=lf
*.txt text eol=crlf
*.png binary
*.jpg binary
*.jpeg binary
*.ico binary
*.gif binary
*.webp binary
*.tff binary
*.woff binary
*.woff2 binary
*.pdf binary

View File

@ -0,0 +1,8 @@
**/node_modules
{{ docsDir }}/.vuepress/.cache
{{ docsDir }}/.vuepress/.temp
{{ docsDir }}/.vuepress/dist
.DS_Store
*.log

10
cli/tsdown.config.ts Normal file
View File

@ -0,0 +1,10 @@
import { defineConfig } from 'tsdown'
export default defineConfig({
entry: ['src/index.ts'],
outDir: 'lib',
dts: true,
format: 'esm',
sourcemap: false,
fixedExtension: false,
})

15
commitlint.config.js Normal file
View File

@ -0,0 +1,15 @@
import fs from 'node:fs'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
const packages = fs.readdirSync(path.resolve(__dirname, 'plugins'))
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [2, 'always', ['docs', 'theme', 'cli', ...packages]],
'footer-max-line-length': [0],
},
}

View File

@ -0,0 +1,9 @@
::: center
**QQ 交流群:** [792882761](https://qm.qq.com/q/FbPPoOIscE)
![QQ qr_code](/images/qq_qrcode.png){width="618" height="616" style="width: 200px"}
您在使用过程中遇到任何问题,欢迎通过 [issue](https://github.com/pengzhanbo/vuepress-theme-plume/issues/new/choose) 反馈。也欢迎加入我们的 QQ 交流群一起讨论。
:::

32
docs/.vuepress/client.ts Normal file
View File

@ -0,0 +1,32 @@
import type { ClientConfig } from 'vuepress/client'
import { defineMermaidConfig } from '@vuepress/plugin-markdown-chart/client'
import { defineAsyncComponent, h } from 'vue'
import { Layout } from 'vuepress-theme-plume/client'
import VPPostItem from 'vuepress-theme-plume/components/Posts/VPPostItem.vue'
import PageContextMenu from 'vuepress-theme-plume/features/PageContextMenu.vue'
import { defineClientConfig } from 'vuepress/client'
import AsideNav from '~/components/AsideNav.vue'
import { setupThemeColors } from '~/composables/theme-colors.js'
defineMermaidConfig({
class: {
hideEmptyMembersBox: true,
},
look: 'handDrawn',
})
export default defineClientConfig({
enhance({ app }) {
app.component('VPPostItem', VPPostItem)
app.component('TintPlate', defineAsyncComponent(() => import('vuepress-theme-plume/components/background/TintPlate.vue')))
},
setup() {
setupThemeColors()
},
layouts: {
Layout: h(Layout, null, {
'aside-outline-after': () => h(AsideNav),
'doc-title-after': () => h(PageContextMenu),
}),
},
}) as ClientConfig

View File

@ -0,0 +1,13 @@
import { defineCollections, type ThemeCollections } from 'vuepress-theme-plume'
import { themeConfig } from './theme-config.js'
import { themeGuide } from './theme-guide.js'
import { tools } from './tools.js'
export const enCollections: ThemeCollections = defineCollections([
// 博客
{ type: 'post', dir: '/blog/', link: '/blog/', title: 'Blog' },
// 文档
themeGuide,
themeConfig,
tools,
])

View File

@ -0,0 +1,53 @@
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
import { defineCollection } from 'vuepress-theme-plume'
export const themeConfig: ThemeCollectionItem = defineCollection({
type: 'doc',
title: 'Config',
dir: 'config',
linkPrefix: '/config/',
sidebar: [
{
text: 'Configuration',
collapsed: false,
items: [
'intro',
'theme',
'locales',
'navbar',
'sidebar',
'collections',
'markdown',
],
},
{
text: 'Page Configuration',
prefix: 'frontmatter',
collapsed: false,
items: [
'basic',
'home',
'post',
'friend',
],
},
{
text: 'Built-in Plugins',
prefix: 'plugins',
collapsed: false,
items: [
'',
'shiki',
'search',
'reading-time',
'llms',
'markdown-enhance',
'markdown-power',
'markdown-image',
'markdown-math',
'markdown-include',
'watermark',
],
},
],
})

View File

@ -0,0 +1,202 @@
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
import { defineCollection } from 'vuepress-theme-plume'
export const themeGuide: ThemeCollectionItem = defineCollection({
type: 'doc',
dir: 'guide',
title: 'Guide',
linkPrefix: '/guide/',
sidebar: [
{
text: 'Quick Start',
collapsed: false,
icon: 'carbon:idea',
prefix: 'quick-start',
items: [
'intro',
'usage',
'project-structure',
{
text: 'Collection',
link: 'collection',
items: ['collection-post', 'collection-doc'],
},
'sidebar',
'write',
'auto-frontmatter',
'locales',
'deployment',
'optimize-build',
],
},
{
text: 'Write',
icon: 'fluent-mdl2:edit-create',
collapsed: false,
items: [
{
text: 'markdown',
icon: 'material-symbols:markdown-outline',
prefix: 'markdown',
collapsed: true,
items: [
'basic',
'extensions',
'attrs',
'emoji',
'math',
'table',
'icons',
'mark',
'plot',
'abbr',
'annotation',
'container',
'github-alerts',
'card',
'steps',
'file-tree',
'code-tree',
'field',
'tabs',
'qrcode',
'timeline',
'demo-wrapper',
'flex',
'collapse',
'npm-to',
'caniuse',
'chat',
'include',
'env',
'obsidian',
],
},
{
text: 'code block',
prefix: 'code',
icon: 'ph:code-bold',
collapsed: true,
items: [
'intro',
'features',
'copy-code',
'code-tabs',
'import',
'twoslash',
],
},
{
text: 'code repl',
prefix: 'repl',
icon: 'carbon:demo',
collapsed: true,
items: [
'frontend',
'rust',
'golang',
'kotlin',
'python',
'codepen',
'jsFiddle',
'codeSandbox',
'replit',
],
},
{
text: 'charts',
icon: 'mdi:chart-line',
prefix: 'chart',
collapsed: true,
items: [
'chart',
'echarts',
'mermaid',
'flowchart',
'markmap',
'plantuml',
],
},
{
text: 'resource embedded',
icon: 'dashicons:embed-video',
prefix: 'embed',
collapsed: true,
items: [
'pdf',
'bilibili',
'acfun',
'youtube',
'artplayer',
'audioReader',
],
},
],
},
{
text: 'Features',
icon: 'lucide:box',
collapsed: false,
prefix: 'features',
items: [
'icon',
'search',
'image-preview',
'comments',
'bulletin',
'encryption',
'contributors',
'changelog',
'copyright',
'watermark',
'friend-links',
'replace-assets',
'seo',
'sitemap',
'llmstxt',
],
},
{
text: 'Component',
prefix: 'components',
icon: 'uiw:component',
collapsed: false,
items: [
'badge',
'icon',
'plot',
'card',
'link-card',
'image-card',
'card-grid',
'card-masonry',
'home-box',
'repo-card',
'npm-badge',
'swiper',
],
},
{
text: 'Customization',
icon: 'material-symbols:dashboard-customize-outline-rounded',
collapsed: false,
prefix: 'custom',
items: [
{ text: 'Custom Homepage', link: 'home', items: ['home-hero-effect'] },
'style',
'slots',
'component-overrides',
],
},
{
text: 'API',
icon: 'mdi:api',
prefix: 'api',
collapsed: false,
items: [
'client',
'node',
],
},
],
})

View File

@ -0,0 +1,20 @@
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
import { defineCollection } from 'vuepress-theme-plume'
export const tools: ThemeCollectionItem = defineCollection({
type: 'doc',
dir: 'tools',
title: 'Theme Tools',
linkPrefix: '/tools/',
sidebar: [
{
text: 'Tools',
icon: 'tabler:tools',
items: [
'custom-theme',
'home-hero-tint-plate',
'caniuse',
],
},
],
})

View File

@ -0,0 +1,2 @@
export * from './en/index.js'
export * from './zh/index.js'

View File

@ -0,0 +1,13 @@
import { defineCollections, type ThemeCollections } from 'vuepress-theme-plume'
import { themeConfig } from './theme-config.js'
import { themeGuide } from './theme-guide.js'
import { tools } from './tools.js'
export const zhCollections: ThemeCollections = defineCollections([
// 博客
{ type: 'post', dir: '/blog/', link: '/blog/', title: '博客' },
// 文档
themeGuide,
themeConfig,
tools,
])

View File

@ -0,0 +1,53 @@
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
import { defineCollection } from 'vuepress-theme-plume'
export const themeConfig: ThemeCollectionItem = defineCollection({
type: 'doc',
title: '配置',
dir: 'config',
linkPrefix: '/config/',
sidebar: [
{
text: '配置',
collapsed: false,
items: [
'intro',
'theme',
'locales',
'navbar',
'sidebar',
'collections',
'markdown',
],
},
{
text: '页面配置',
prefix: 'frontmatter',
collapsed: false,
items: [
'basic',
'home',
'post',
'friend',
],
},
{
text: '内置插件',
prefix: 'plugins',
collapsed: false,
items: [
'',
'shiki',
'search',
'reading-time',
'llms',
'markdown-enhance',
'markdown-power',
'markdown-image',
'markdown-math',
'markdown-include',
'watermark',
],
},
],
})

View File

@ -0,0 +1,202 @@
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
import { defineCollection } from 'vuepress-theme-plume'
export const themeGuide: ThemeCollectionItem = defineCollection({
type: 'doc',
dir: 'guide',
title: '指南',
linkPrefix: '/guide/',
sidebar: [
{
text: '从这里开始',
collapsed: false,
icon: 'carbon:idea',
prefix: 'quick-start',
items: [
'intro',
'usage',
'project-structure',
{
text: '集合',
link: 'collection',
items: ['collection-post', 'collection-doc'],
},
'sidebar',
'write',
'auto-frontmatter',
'locales',
'deployment',
'optimize-build',
],
},
{
text: '写作',
icon: 'fluent-mdl2:edit-create',
collapsed: false,
items: [
{
text: 'markdown',
icon: 'material-symbols:markdown-outline',
prefix: 'markdown',
collapsed: true,
items: [
'basic',
'extensions',
'attrs',
'emoji',
'math',
'table',
'icons',
'mark',
'plot',
'abbr',
'annotation',
'container',
'github-alerts',
'card',
'steps',
'file-tree',
'code-tree',
'field',
'tabs',
'qrcode',
'timeline',
'demo-wrapper',
'flex',
'collapse',
'npm-to',
'caniuse',
'chat',
'include',
'env',
'obsidian',
],
},
{
text: '代码块',
prefix: 'code',
icon: 'ph:code-bold',
collapsed: true,
items: [
'intro',
'features',
'copy-code',
'code-tabs',
'import',
'twoslash',
],
},
{
text: '代码演示',
prefix: 'repl',
icon: 'carbon:demo',
collapsed: true,
items: [
'frontend',
'rust',
'golang',
'kotlin',
'python',
'codepen',
'jsFiddle',
'codeSandbox',
'replit',
],
},
{
text: '图表',
icon: 'mdi:chart-line',
prefix: 'chart',
collapsed: true,
items: [
'chart',
'echarts',
'mermaid',
'flowchart',
'markmap',
'plantuml',
],
},
{
text: '资源嵌入',
icon: 'dashicons:embed-video',
prefix: 'embed',
collapsed: true,
items: [
'pdf',
'bilibili',
'acfun',
'youtube',
'artplayer',
'audioReader',
],
},
],
},
{
text: '功能',
icon: 'lucide:box',
collapsed: false,
prefix: 'features',
items: [
'icon',
'search',
'image-preview',
'comments',
'bulletin',
'encryption',
'contributors',
'changelog',
'copyright',
'watermark',
'friend-links',
'replace-assets',
'seo',
'sitemap',
'llmstxt',
],
},
{
text: '组件',
prefix: 'components',
icon: 'uiw:component',
collapsed: false,
items: [
'badge',
'icon',
'plot',
'card',
'link-card',
'image-card',
'card-grid',
'card-masonry',
'home-box',
'repo-card',
'npm-badge',
'swiper',
],
},
{
text: '自定义',
icon: 'material-symbols:dashboard-customize-outline-rounded',
collapsed: false,
prefix: 'custom',
items: [
{ text: '自定义首页', link: 'home', items: ['home-hero-effect'] },
'style',
'slots',
'component-overrides',
],
},
{
text: 'API',
icon: 'mdi:api',
prefix: 'api',
collapsed: false,
items: [
'client',
'node',
],
},
],
})

View File

@ -0,0 +1,20 @@
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
import { defineCollection } from 'vuepress-theme-plume'
export const tools: ThemeCollectionItem = defineCollection({
type: 'doc',
dir: 'tools',
title: '工具',
linkPrefix: '/tools/',
sidebar: [
{
text: '工具',
icon: 'tabler:tools',
items: [
'custom-theme',
'home-hero-tint-plate',
'caniuse',
],
},
],
})

View File

@ -1,91 +1,52 @@
import * as path from 'path'
import type { PlumeThemeOptions } from '@vuepress-plume/vuepress-theme-plume'
import { defineUserConfig } from '@vuepress/cli'
import type { UserConfig } from 'vuepress'
import fs from 'node:fs'
import path from 'node:path'
import { viteBundler } from '@vuepress/bundler-vite'
import { addViteOptimizeDepsInclude, addViteSsrExternal } from '@vuepress/helper'
import { defineUserConfig } from 'vuepress'
import { theme } from './theme.js'
export default defineUserConfig<PlumeThemeOptions>({
lang: 'zh',
title: 'Plume Theme',
description: '',
public: path.resolve(__dirname, '../public'),
theme: '@vuepress-plume/vuepress-theme-plume',
themeConfig: {
logo: 'https://pengzhanbo.cn/g.gif',
avatar: {
url: 'https://via.placeholder.com/300?text=Profile+Photo',
name: 'Plume Theme',
description: 'The Theme for Vuepress 2.0',
},
social: {
email: 'volodymyr@foxmail.com',
github: 'pengzhanbo',
QQ: '942450674',
weiBo: 'https://weibo.com',
zhiHu: 'https://zhihu.com',
facebook: 'https://baidu.com',
twitter: 'https://baidu.com',
linkedin: 'https://baidu.com',
},
notes: {
notes: [
{
link: 'typescript',
dir: 'typescript',
text: 'Typescript',
sidebar: [],
},
],
},
darkMode: true,
navbar: [
{ text: '首页', link: '/' },
{
text: '分类',
link: '/category/',
},
{
text: '标签',
link: '/tag/',
},
{
text: '笔记',
children: [
// {
// text: '技术',
// children: [{ text: '《typescript学习笔记》', link: '/' }],
// },
// {
// text: '技术',
// children: [{ text: '《typescript学习笔记》', link: '/' }],
// },
{
text: 'typescript',
link: '/note/typescript/',
},
{
text: '标签',
link: '/tag/',
},
],
},
],
footer: {
copyright: 'Copyright © 2022-present pengzhanbo',
},
themePlugins: {
caniuse: {
mode: 'embed',
},
search: {
// hotKeys: ['s', '/'],
// maxSuggestions: 5,
// isSearchable: (page) => page.path !== '/',
// getExtraFields: () => [],
locales: {
'/': {
placeholder: '搜索',
},
},
},
},
const pnpmWorkspace = fs.readFileSync(path.resolve(__dirname, '../../pnpm-workspace.yaml'), 'utf-8')
const vuepress = pnpmWorkspace.match(/vuepress:\s(2.+)/)?.[1] || ''
export default defineUserConfig({
base: '/',
lang: 'zh-CN',
source: path.resolve(__dirname, '../'),
public: path.resolve(__dirname, 'public'),
locales: {
'/': { title: 'Plume 主题', lang: 'zh-CN' },
'/en/': { title: 'Plume Theme', lang: 'en-US' },
},
})
head: [
['link', { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' }],
['link', { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' }],
['meta', { name: 'google-site-verification', content: 'AaTP7bapCAcoO9ZGE67ilpy99GL6tYqtD30tRHjO9Ps' }],
],
pagePatterns: ['**/*.md', '!**/*.snippet.md', '!.vuepress', '!node_modules', '!docs/guide/repl/demo/*'],
extendsBundlerOptions(bundlerOptions, app) {
addViteOptimizeDepsInclude(bundlerOptions, app, '@simonwep/pickr')
addViteSsrExternal(bundlerOptions, app, '@simonwep/pickr')
},
define: {
__VUEPRESS_VERSION__: vuepress,
// debug hydration mismatch
// __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: 'true',
},
alias: {
'~/theme': path.resolve(__dirname, './themes'),
'~/components': path.resolve(__dirname, './themes/components'),
'~/composables': path.resolve(__dirname, './themes/composables'),
},
bundler: viteBundler(),
shouldPrefetch: false,
theme,
}) as UserConfig

103
docs/.vuepress/navbar.ts Normal file
View File

@ -0,0 +1,103 @@
import type { ThemeNavItem } from 'vuepress-theme-plume'
import { defineNavbarConfig } from 'vuepress-theme-plume'
import { version } from '../../package.json'
export const zhNavbar: ThemeNavItem[] = defineNavbarConfig([
{
text: '指南',
icon: 'icon-park-outline:guide-board',
link: '/guide/quick-start/intro.md',
activeMatch: '^/guide/',
},
{
text: '配置',
icon: 'icon-park-outline:setting-two',
link: '/config/intro.md',
activeMatch: '^/config/',
},
{
text: '博客',
link: '/blog/',
icon: 'material-symbols:article-outline',
activeMatch: '^/(blog|article)/',
},
{
text: '案例',
link: '/demos/',
icon: 'map:wind-surfing',
},
{
text: '更多',
icon: 'icon-park-outline:more-three',
items: [
{ text: '常见问题', link: '/faq/', icon: 'wpf:faq' },
{ text: '喝杯奶茶', link: '/sponsor/', icon: 'line-md:coffee-loop' },
{ text: '主题工具', link: '/tools/', icon: 'jam:tools' },
{ text: '友情链接', link: '/friends/', icon: 'carbon:friendship' },
{
text: 'Vuepress',
icon: 'logos:vue',
items: [
{ text: '官方文档', link: 'https://v2.vuepress.vuejs.org', icon: 'logos:vue' },
{ text: '生态系统', link: 'https://ecosystem.vuejs.press/', icon: 'logos:vue' },
],
},
],
},
{
text: `${version}`,
icon: 'codicon:versions',
badge: '新',
items: [
{ text: '更新日志', link: '/changelog/' },
{ text: '参与贡献', link: '/contributing/' },
],
},
])
export const enNavbar: ThemeNavItem[] = defineNavbarConfig([
{
text: 'Guide',
icon: 'icon-park-outline:guide-board',
link: '/en/guide/intro/',
activeMatch: '^/en/guide/',
},
{
text: 'Config',
icon: 'icon-park-outline:setting-two',
link: '/en/config/intro/',
activeMatch: '^/en/config/',
},
{
text: 'Blog',
link: '/en/blog/',
icon: 'material-symbols:article-outline',
activeMatch: '^/en/(blog|article)/',
},
{
text: 'More',
icon: 'icon-park-outline:more-three',
items: [
{ text: 'FAQ', link: '/en/faq/', icon: 'wpf:faq' },
{ text: 'Theme Tools', link: '/en/tools/', icon: 'jam:tools' },
{ text: 'Friend Links', link: '/en/friends/', icon: 'carbon:friendship' },
{
text: 'Vuepress',
icon: 'logos:vue',
items: [
{ text: 'Official Docs', link: 'https://v2.vuepress.vuejs.org', icon: 'logos:vue' },
{ text: 'Ecosystem', link: 'https://ecosystem.vuejs.press/', icon: 'logos:vue' },
],
},
],
},
{
text: `${version}`,
icon: 'codicon:versions',
badge: 'New',
items: [
{ text: 'Changelog', link: '/en/changelog/' },
{ text: 'Contributing', link: '/en/contributing/' },
],
},
])

View File

@ -0,0 +1,54 @@
import type { ThemeConfig } from 'vuepress-theme-plume'
import path from 'node:path'
import { defineThemeConfig } from 'vuepress-theme-plume'
import { enCollections, zhCollections } from './collections/index.js'
import { enNavbar, zhNavbar } from './navbar.js'
export default defineThemeConfig({
logo: '/plume.png',
profile: {
avatar: '/plume.png',
name: 'Plume Theme',
description: 'The Theme for Vuepress 2.0',
location: 'GuangZhou, China',
organization: 'pengzhanbo',
},
transition: { appearance: 'circle-clip' },
social: [
{ icon: 'github', link: 'https://github.com/pengzhanbo/vuepress-theme-plume' },
{ icon: 'qq', link: 'https://qm.qq.com/q/FbPPoOIscE' },
],
navbarSocialInclude: ['github', 'qq'],
footer: {
copyright: 'Copyright © 2021-present pengzhanbo',
},
locales: {
'/': {
navbar: zhNavbar,
collections: zhCollections,
},
'/en/': {
navbar: enNavbar,
collections: enCollections,
},
},
encrypt: {
rules: {
'/article/enx7c9s/': '123456',
},
},
bulletin: {
layout: 'top-right',
lifetime: 'always',
// title: '🎉 公告 🎉',
contentFile: path.join(__dirname, 'bulletin.md'),
enablePage: page => page.path === '/guide/features/bulletin/',
},
}) as ThemeConfig

View File

@ -0,0 +1 @@
plume.pengzhanbo.cn

View File

@ -0,0 +1,4 @@
/llms.md /llms.txt 200!
/llms-full.md /llms-full.txt 200!
/en/llms.md /en/llms.txt 200!
/en/llms-full.md /en/llms-full.txt 200!

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Some files were not shown because too many files have changed in this diff Show More