Commit Graph

1126 Commits (3023b5c76be50da1cb8837ac93671d5288b863f2)

Author SHA1 Message Date
Divyansh Singh 7f0c18e013
feat: allow html blocks inside code groups (#2719)
1 year ago
烽宁 0f38eb4404
fix: `createContentLoader` generates invalid url when `base` is set (#2714)
1 year ago
Divyansh Singh 7778187f2d
feat: i18n with sitemap (#2708)
1 year ago
烽宁 6fc88a5cce
fix: remove index.html when using createContentLoader (#2693)
1 year ago
Mike Bostock 5d18fd8978
feat: rel for feature links (#2704)
1 year ago
Mike Bostock 60dd0a474b
fix: respect empty rel and target (#2705)
1 year ago
烽宁 77c1b4d3cd
fix(style): incorrect header anchor icon position with multline headers (#2694)
1 year ago
烽宁 2ae90a2343
feat(theme): support custom page class (#2696)
1 year ago
烽宁 13f94a6663
feat(build): custom excerpt for `createContentLoader` (#2698)
1 year ago
Divyansh Singh 68f25f5a9c
fix(build): duplicate description tags with transformHead (#2702)
1 year ago
Divyansh Singh b39b4912af
fix(theme): code group tab divider not showing full-width (#2701)
1 year ago
Divyansh Singh 5563695b15
feat: sitemap generation (#2691)
1 year ago
Divyansh Singh b61f36d853
fix(build): use vue dev build when DEBUG is truthy (#2689)
1 year ago
Divyansh Singh 51f28bfac9 fix(theme): fix feature component always generating anchor tags
1 year ago
烽宁 74d9ba27b5
fix(build): `createContentLoader` generates invalid url when `srcDir` is set (#2578)
1 year ago
Divyansh Singh fb048a6f72
fix(search): add useFocusTrap and mark.js to optimizeDeps (#2682)
1 year ago
烽宁 d015cddb30
chore(vite): support define replacement without removing double quotes (#2677)
1 year ago
Divyansh Singh 0cf6b0208c
chore: tweak subpixel max-width
1 year ago
Divyansh Singh ceedb68d3b
fix(theme): two outlines at 1280px
1 year ago
bqy_fe e79a13eb42
feat(theme): support footer frontmatter config (#2574)
1 year ago
Jérémy Riverain 37d5b273fb
feat(search): allow excluding content from search results (#2602)
1 year ago
烽宁 94e2966bab
feat(build): support overriding meta viewport tag (#2642)
1 year ago
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
1 year 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
btea 1f5798e437
feat: outline link add title attribute (#2261)
2 years ago
Divyansh Singh 1769d329cc refactor: directly use first child instead of querying
2 years ago
烽宁 09be057ffb
fix(search): local search showDetailedList not working in windows (#2253)
2 years ago
烽宁 8354f8fb86
fix(theme): local search showDetailedList not working in windows (#2248)
2 years ago
Divyansh Singh e37e5cb45a fix(search): ready event is not fired on mac
2 years ago
Divyansh Singh 3e0e9d2b27 fix(search): don't directly access userConfig
2 years ago
Divyansh Singh 7c34f6a3d9 style: align search icon in box a bit
2 years ago
Divyansh Singh b1c956ce99 fix(search): properly group nested headings
2 years ago
Divyansh Singh 1b0a249ad6 fix(search): esm interop mark.js import
2 years ago
Divyansh Singh 19ce8e5dd6 chore: bump deps
2 years ago
ChuHoMan 144a7d8e4e
fix(search): avoid body scroll when using local search (#2236)
2 years ago
Divyansh Singh ca8db8adca fix(search): fix keyword highlighting and scrolling in excerpts
2 years ago
Anthony Fu b2077c7025
feat(search): make styling more configurable, align more with the theme (#2233)
2 years ago
Divyansh Singh 185213c6ba fix(search): remove double base on importing excepts
2 years ago
Divyansh Singh be8352441f
fix(search): better highlighting in detailed view (#2234)
2 years ago
Divyansh Singh 40f1d1b6f6 feat(search): allow force disabling detailed view
2 years ago
Divyansh Singh 6d5b4cd784 fix(search): show escape to close on footer
2 years ago
Divyansh Singh 4fd40d5f62 styles: tweak search icons a bit
2 years ago
Divyansh Singh 9e04b43567 fix(search): remove extra /index from routes
2 years ago
ChuHoMan 7dfe9d2d43
refactor: directly use site.base instead of userConfig.base (#2223)
2 years ago
Divyansh Singh 44498675ac fix(a11y): increase touch target size of search icons
2 years ago
烽宁 712a57fde7
fix(theme): fix color of blockquote in custom containers (#2173)
2 years ago
Divyansh Singh 6d363ec9ff fix(search): fix errors on empty titles
2 years ago
Divyansh Singh 7178a22c9d
fix(theme): fix top of scrollbar being unusable (#2224)
2 years ago
Divyansh Singh 25a1fe90bd fix(search): avoid double base
2 years ago
Liberty 4c24960433
feat: allow passing props and children/slots to defineClientComponent (#2198)
2 years ago
Leedom 8ee6b905f5
fix(theme): navbar style (#2202)
2 years ago
Divyansh Singh 713a35cbd0
feat!: organized search config (#2218)
2 years ago