Commit Graph

1054 Commits (481a5e3cb55c6fda2c318180cfa0532ed34e4fc5)

Author SHA1 Message Date
Aelita 8ff431a6bc
fix(theme): code block style is broken inside custom block (#2664)
1 year ago
烽宁 3912951bad
fix(theme): respect `--vp-nav-height` in local nav calculations (#2663)
1 year ago
烽宁 730226c029
style(theme): restore the external link icon color from previous version (#2571)
1 year ago
Mathieu POUSSE cfa870f060
fix(theme): support missing meta description tag (#2639)
1 year ago
Aelita c2e79aa583
feat(theme): make navbar logo's height customizable by css variable (#2644)
1 year ago
Divyansh Singh f3a459708d fix(theme): don't show external link icon on social links
1 year ago
Divyansh Singh b199885b9b fix: invalid css
1 year ago
Divyansh Singh ec6bfbd5a3 revert(#2622): to fix hmr
1 year ago
Divyansh Singh 08c4bacac5
fix(compat): disable stdin-discarder (#2640)
1 year ago
烽宁 ec7643dc13
feat(theme): allow using html text in VPHero (#2635)
1 year ago
Aelita f52a2629a7
fix(theme): fix doc footer's prev and next's size difference (#2600)
1 year ago
Divyansh Singh d0e7374441 fix(theme): invalid html -- article inside span
1 year ago
Divyansh Singh 700fad192e
feat(build): add `metaChunk` option to extract metadata to separate chunk (#2626)
1 year ago
烽宁 64d7c3ba54
feat(build): support custom `assetsDir` (#2497)
1 year ago
Divyansh Singh 2c25855986
fix(build): use vue dev build when DEBUG is truthy (#2622)
1 year ago
Divyansh Singh e02adfe3ea
fix(build): remove `=""` from boolean attributes in head (#2620)
1 year ago
烽宁 9949f00461
fix(build): cannot handle file name containing single quote (#2615)
1 year ago
Divyansh Singh 47bf5bf991
fix(lastUpdated): use author date instead of commit date (#2618)
1 year ago
Aelita 01120a51d6
fix(theme): fix sidebar's caret alignment issue with long text (#2599)
1 year ago
Divyansh Singh 71eb11f72e
fix(theme): fix theme without fonts emitting inter (#2588)
1 year ago
烽宁 9fee5542cb
feat(search): support `minisearch` customization (#2576)
1 year ago
Divyansh Singh e8074e60ec fix(build): resolve nested md inclusions properly
1 year ago
Divyansh Singh f60b32f02f
fix(hmr): allow disabling md cache during dev (#2581)
1 year ago
烽宁 d5ccc52048
refactor: optimize snippet markdown plugin code (#2580)
1 year ago
Divyansh Singh 32d65d40c5
perf: fix race conditions with cache (#2579)
1 year ago
keer-tea 1e1500141b
feat(theme): allow hiding navbar on specific pages via frontmatter (#2565)
1 year ago
Divyansh Singh a3df6171ab refactor: move onBeforePageLoad inside loadPage
1 year ago
bqy_fe 665f3b02f8
feat(client): add onBeforePageLoad hook for router (#2564)
1 year ago
Ciki Momogi fa3780f8ef
fix(theme): unresponsive back button with empty input in search box (#2566)
1 year ago
Mateu Llull 24abc7c6bd
feat(theme): allow customizing last updated date time format options (#2332)
1 year ago
Divyansh Singh e95015f598
fix(client): bypass client router for links explicitly specifying target (#2563)
1 year ago
烽宁 52cfbc3236
feat(theme): option to show icon for external links (#2501)
1 year ago
Divyansh Singh 00d94e9ee5
chore: simplify code
1 year ago
Divyansh Singh 6b98113a42
fix(client): don't throw on using special chars in element ids (#2560)
1 year ago
烽宁 1ef33fe1c4
feat: support selecting line range when importing md file (#2502)
1 year ago
Jeff Tian 0c4210bb5e
feat(build): support nested markdown includes (#2545)
1 year ago
烽宁 c30e758585
fix(client): scroll not working on clicking an anchor in search box (#2527)
1 year ago
Divyansh Singh b2a129f49b
fix(build): add `@vue/devtools-api` to `optimizeDeps.include` (#2543)
1 year ago
烽宁 c4909e4298
feat(theme): expose `useSidebar` (#2496)
1 year ago
Divyansh Singh cd03db803d
revert!: sync defineConfig types with vite (#2529)
1 year ago
Divyansh Singh 51661def8f
fix(theme): prevent glitch when algolia chunk is loaded (#2519)
1 year ago
丶远方 656df5c761
chore: replace Map by WeakMap (#2499)
1 year ago
Divyansh Singh a5475304fa feat(client): expose dataSymbol
1 year ago
Divyansh Singh 69b2625623
fix(build): disable validation for rewrite compiling
1 year ago
Divyansh Singh f831767764 feat(build): allow using regex in rewrites
1 year ago
烽宁 b9eafac1d6
refactor: rename variable name and simplify some code (#2504)
1 year ago
Divyansh Singh bfc85805de chore(types): sync `ServerOptions` with vite
1 year ago
Divyansh Singh b3ded34d8a fix(types): sync defineConfig types with vite
1 year ago
Joaquín Sánchez 4ddb96fe50
feat(theme): add semantic markup to local search dialog (#2325)
1 year ago
JiZhi c9a98ac6bb
fix(build): create markdown env for localSearchPlugin (#2322)
1 year ago
donggua 29a9647ee9
feat(theme): allow prev/next links to be disabled globally (#2317)
1 year ago
CHOYSEN 90478b36cd
feat(build): support relative path for code snippet (#1894)
1 year ago
Divyansh Singh 80e734d677 fix(search): detailed view not working when page contains script setup
2 years ago
Divyansh Singh d62e6f6dd6
perf(search): use dom apis instead of regex-based section parsing (#2486)
2 years ago
Agustin Banchio c995b9f61d
feat(theme): add custom label for social links (#2466)
2 years ago
Divyansh Singh 2f75769985
fix(build): use rimraf to handle temp folder deletion in windows (#2483)
2 years ago
Divyansh Singh 2bd55eca2e
fix(theme): properly show divider between navs (#2481)
2 years ago
btea 89b96ffa38
chore: remove invalid style (#2479)
2 years ago
zonemeen 199f392b58 refactor: simplify the import path
2 years ago
Azat S 62d1110848
fix(theme): use brand color in skip link in dark theme (#2431)
2 years ago
Alex 64b06db3ec
feat(cli): add shortcut for restarting server (#2403)
2 years ago
Divyansh Singh 93f8a05ad2
chore: use graceful-fs and bump deps (#2429)
2 years ago
烽宁 6d7d195adc
perf: parallelize mpa chunks copy (#2389)
2 years ago
Divyansh Singh 0e962178ac chore: minor tweaks
2 years ago
烽宁 e7be720ede
perf(theme/search): prevent repeated rendering of same page (#2398)
2 years ago
Divyansh Singh c869ea64ae
fix(theme): use document !== undefined check for browser (#2417)
2 years ago
Divyansh Singh 06c0fc5d5c
fix(theme): adjust z-index for active code group marker (#2413)
2 years ago
翠 / green f364a5d1d3
fix(theme): support custom target and rel in navbar links for mobile (#2400)
2 years ago
烽宁 489681117f
fix(theme): missing global properties in localSearch (#2396)
2 years ago
烽宁 8153f23c90
fix(config): set scrollOffset to 0 is not effect (#2395)
2 years ago
烽宁 26f21d95df
fix(theme): make features section layout consistent (#2382)
2 years ago
烽宁 9a5735dd0e
refactor(theme): simplify the import (#2374)
2 years ago
烽宁 484ff5dd4b
fix: hmr when `base` is set (#2375)
2 years ago
Joaquín Sánchez d6c0985002
fix(a11y): mobile and theme switcher (#2354)
2 years ago
三咲智子 Kevin Deng 97065cefc2
feat(cli): add shortcuts (#2353)
2 years ago
烽宁 af4bb52947
refactor: simplify `hasAside` computed property (#2356)
2 years ago
烽宁 b31933fbdd
fix(build): uniform handling of windows slash in localSearchPlugin (#2358)
2 years ago
Joaquín Sánchez 2f482afaab
feat(theme): add focus trap to local search dialog (#2324)
2 years ago
JD Solanki 35f8b89637
fix(theme): don't update opacity on hover (#2326)
2 years ago
Vinicius Teixeira Dias c20bd28331
feat(theme): open search box on pressing slash too (#2328)
2 years ago
烽宁 f4cd0aeb69
refactor: resolve duplicate function definitions (#2350)
2 years ago
Divyansh Singh 2afb1477be
style: don't wrap social links
2 years ago
Divyansh Singh f07587af8a fix(theme): hide local nav on home page
2 years ago
Christian Georgi b24acc6991
feat: add `filePath` to `PageData` (#2140)
2 years ago
Divyansh Singh d0f0012aea
feat(theme): support light shiki themes (#2319)
2 years ago
Divyansh Singh 64ecedc73f fix(cli/init): remove trailing slash from npm scripts
2 years ago
Joaquín Sánchez a3b38d1882
feat(build): allow using `@` prefix with `@include:` (#2292)
2 years ago
Divyansh Singh ae041448aa refactor: improve error message on encountering dead links
2 years ago
Divyansh Singh 188893c2c1 fix(build): reset regex lastIndex before testing
2 years ago
Joaquín Sánchez a647cd3843
feat: preserve user log level (#2310)
2 years ago
烽宁 494c634eb1
fix(theme): local search get 404 on build when use route rewrites in windows (#2301)
2 years ago
zRains 69c7646daf
fix(theme): vitepress data not properly injected in app when use localSearch (#2299)
2 years ago
Divyansh Singh 84cf45772e fix(build): allow data-loaders files in packages to be found (closes #2272)
2 years ago
Liberty f7443643a4
feat: allow using html in member description (#2269)
2 years ago
烽宁 2f0f2d5ac6
feat(search): support custom `disableQueryPersistence` in local search (#2273)
2 years ago
烽宁 25b9111222
feat(theme): mobile view show outline button after removing sidebar (#2274)
2 years ago
烽宁 6a195b68c0
chore: remove css file about nprogress (#2275)
2 years ago
btea 87d309c088
refactor: resolve circular dependency (#2283)
2 years ago
lchzh3473 f3d3332fff
fix(router): scroll back to the hash anchor even if it is already selected (#2265)
2 years ago
Divyansh Singh 1f4920c60d fix(search): fix highlighting in detailed view
2 years ago