Commit Graph

1151 Commits (v1.0.0-rc.21)

Author SHA1 Message Date
Divyansh Singh 81e7405e19 fix(theme): hide outline marker on scroll to top
2 years ago
Divyansh Singh f4a5c43cb0 feat(theme): allow adding custom layouts
2 years ago
Divyansh Singh a8cf88b54a chore: use defineOptions
2 years ago
Divyansh Singh 93823a8566 fix(theme): respect feature icon dimensions set from frontmatter
2 years ago
Divyansh Singh d31051a051 fix(theme): align max-width media queries
2 years ago
Divyansh Singh c6c983ed73
fix(client): handle empty hash in links (#2738)
2 years ago
zuixinwang e54eea3da0
fix(theme): close dropdown menus after an item is clicked (#2380)
2 years ago
Divyansh Singh 063b0e520a fix(theme): override docsearch button bg
2 years ago
Divyansh Singh 3840eaae16
fix(theme): update sidebar active link status on hash change (#2736)
2 years ago
Divyansh Singh 1a6efbae8e fix(theme): scroll code group tab into view on selection
2 years ago
Divyansh Singh 039798a8c1 fix(theme): don't reset scroll position on changing tab in code groups
2 years ago
Divyansh Singh 2a7422bbbf feat(theme): allow overriding logo link
2 years ago
Divyansh Singh 09a4fdc9b8 feat(theme): allow customizing prev/next text from config file
2 years ago
Divyansh Singh 69251b7484 feat(theme): allow passing html in nav links
2 years ago
Divyansh Singh 52884d9d4b
feat(theme): allow setting base path in sidebar items (#2734)
2 years ago
Divyansh Singh b55b529f23
refactor: use stringified `deserializeFunctions` util (#2733)
2 years ago
Divyansh Singh e3f8fc7972 fix(theme): allow using h1 headings in outline
2 years ago
Divyansh Singh ce85726c12 feat(build): add `markdown.preConfig` option
2 years ago
Divyansh Singh f0d308288c
chore: bump deps (#2724)
2 years ago
Bjorn Lu 3f79f4bb6e
refactor: use rollup type from vite (#2723)
2 years ago
Divyansh Singh 4af597582c feat(search): allow enabling detailed view by default
2 years ago
Divyansh Singh 1179484432 feat(client): allow overriding props on Content
2 years ago
Divyansh Singh d7e225473b feat(theme): allow customizing default theme's 404 page
2 years ago
Divyansh Singh 17378c064f fix(build): make outDir from cli work properly
2 years ago
Divyansh Singh a56d608bec
revert: #2689 (#2722)
2 years ago
Divyansh Singh 7f0c18e013
feat: allow html blocks inside code groups (#2719)
2 years ago
烽宁 0f38eb4404
fix: `createContentLoader` generates invalid url when `base` is set (#2714)
2 years ago
Divyansh Singh 7778187f2d
feat: i18n with sitemap (#2708)
2 years ago
烽宁 6fc88a5cce
fix: remove index.html when using createContentLoader (#2693)
2 years ago
Mike Bostock 5d18fd8978
feat: rel for feature links (#2704)
2 years ago
Mike Bostock 60dd0a474b
fix: respect empty rel and target (#2705)
2 years ago
烽宁 77c1b4d3cd
fix(style): incorrect header anchor icon position with multline headers (#2694)
2 years ago
烽宁 2ae90a2343
feat(theme): support custom page class (#2696)
2 years ago
烽宁 13f94a6663
feat(build): custom excerpt for `createContentLoader` (#2698)
2 years ago
Divyansh Singh 68f25f5a9c
fix(build): duplicate description tags with transformHead (#2702)
2 years ago
Divyansh Singh b39b4912af
fix(theme): code group tab divider not showing full-width (#2701)
2 years ago
Divyansh Singh 5563695b15
feat: sitemap generation (#2691)
2 years ago
Divyansh Singh b61f36d853
fix(build): use vue dev build when DEBUG is truthy (#2689)
2 years ago
Divyansh Singh 51f28bfac9 fix(theme): fix feature component always generating anchor tags
2 years ago
烽宁 74d9ba27b5
fix(build): `createContentLoader` generates invalid url when `srcDir` is set (#2578)
2 years ago
Divyansh Singh fb048a6f72
fix(search): add useFocusTrap and mark.js to optimizeDeps (#2682)
2 years ago
烽宁 d015cddb30
chore(vite): support define replacement without removing double quotes (#2677)
2 years ago
Divyansh Singh 0cf6b0208c
chore: tweak subpixel max-width
2 years ago
Divyansh Singh ceedb68d3b
fix(theme): two outlines at 1280px
2 years ago
bqy_fe e79a13eb42
feat(theme): support footer frontmatter config (#2574)
2 years ago
Jérémy Riverain 37d5b273fb
feat(search): allow excluding content from search results (#2602)
2 years ago
烽宁 94e2966bab
feat(build): support overriding meta viewport tag (#2642)
2 years ago
Aelita 8ff431a6bc
fix(theme): code block style is broken inside custom block (#2664)
2 years ago
烽宁 3912951bad
fix(theme): respect `--vp-nav-height` in local nav calculations (#2663)
2 years ago
烽宁 730226c029
style(theme): restore the external link icon color from previous version (#2571)
2 years ago
Mathieu POUSSE cfa870f060
fix(theme): support missing meta description tag (#2639)
2 years ago
Aelita c2e79aa583
feat(theme): make navbar logo's height customizable by css variable (#2644)
2 years ago
Divyansh Singh f3a459708d fix(theme): don't show external link icon on social links
2 years ago
Divyansh Singh b199885b9b fix: invalid css
2 years ago
Divyansh Singh ec6bfbd5a3 revert(#2622): to fix hmr
2 years ago
Divyansh Singh 08c4bacac5
fix(compat): disable stdin-discarder (#2640)
2 years ago
烽宁 ec7643dc13
feat(theme): allow using html text in VPHero (#2635)
2 years ago
Aelita f52a2629a7
fix(theme): fix doc footer's prev and next's size difference (#2600)
2 years ago
Divyansh Singh d0e7374441 fix(theme): invalid html -- article inside span
2 years ago
Divyansh Singh 700fad192e
feat(build): add `metaChunk` option to extract metadata to separate chunk (#2626)
2 years ago
烽宁 64d7c3ba54
feat(build): support custom `assetsDir` (#2497)
2 years ago
Divyansh Singh 2c25855986
fix(build): use vue dev build when DEBUG is truthy (#2622)
2 years ago
Divyansh Singh e02adfe3ea
fix(build): remove `=""` from boolean attributes in head (#2620)
2 years ago
烽宁 9949f00461
fix(build): cannot handle file name containing single quote (#2615)
2 years ago
Divyansh Singh 47bf5bf991
fix(lastUpdated): use author date instead of commit date (#2618)
2 years ago
Aelita 01120a51d6
fix(theme): fix sidebar's caret alignment issue with long text (#2599)
2 years ago
Divyansh Singh 71eb11f72e
fix(theme): fix theme without fonts emitting inter (#2588)
2 years ago
烽宁 9fee5542cb
feat(search): support `minisearch` customization (#2576)
2 years ago
Divyansh Singh e8074e60ec fix(build): resolve nested md inclusions properly
2 years ago
Divyansh Singh f60b32f02f
fix(hmr): allow disabling md cache during dev (#2581)
2 years ago
烽宁 d5ccc52048
refactor: optimize snippet markdown plugin code (#2580)
2 years ago
Divyansh Singh 32d65d40c5
perf: fix race conditions with cache (#2579)
2 years ago
keer-tea 1e1500141b
feat(theme): allow hiding navbar on specific pages via frontmatter (#2565)
2 years ago
Divyansh Singh a3df6171ab refactor: move onBeforePageLoad inside loadPage
2 years ago
bqy_fe 665f3b02f8
feat(client): add onBeforePageLoad hook for router (#2564)
2 years ago
Ciki Momogi fa3780f8ef
fix(theme): unresponsive back button with empty input in search box (#2566)
2 years ago
Mateu Llull 24abc7c6bd
feat(theme): allow customizing last updated date time format options (#2332)
2 years ago
Divyansh Singh e95015f598
fix(client): bypass client router for links explicitly specifying target (#2563)
2 years ago
烽宁 52cfbc3236
feat(theme): option to show icon for external links (#2501)
2 years ago
Divyansh Singh 00d94e9ee5
chore: simplify code
2 years ago
Divyansh Singh 6b98113a42
fix(client): don't throw on using special chars in element ids (#2560)
2 years ago
烽宁 1ef33fe1c4
feat: support selecting line range when importing md file (#2502)
2 years ago
Jeff Tian 0c4210bb5e
feat(build): support nested markdown includes (#2545)
2 years ago
烽宁 c30e758585
fix(client): scroll not working on clicking an anchor in search box (#2527)
2 years ago
Divyansh Singh b2a129f49b
fix(build): add `@vue/devtools-api` to `optimizeDeps.include` (#2543)
2 years ago
烽宁 c4909e4298
feat(theme): expose `useSidebar` (#2496)
2 years ago
Divyansh Singh cd03db803d
revert!: sync defineConfig types with vite (#2529)
2 years ago
Divyansh Singh 51661def8f
fix(theme): prevent glitch when algolia chunk is loaded (#2519)
2 years ago
丶远方 656df5c761
chore: replace Map by WeakMap (#2499)
2 years ago
Divyansh Singh a5475304fa feat(client): expose dataSymbol
2 years ago
Divyansh Singh 69b2625623
fix(build): disable validation for rewrite compiling
2 years ago
Divyansh Singh f831767764 feat(build): allow using regex in rewrites
2 years ago
烽宁 b9eafac1d6
refactor: rename variable name and simplify some code (#2504)
2 years ago
Divyansh Singh bfc85805de chore(types): sync `ServerOptions` with vite
2 years ago
Divyansh Singh b3ded34d8a fix(types): sync defineConfig types with vite
2 years ago
Joaquín Sánchez 4ddb96fe50
feat(theme): add semantic markup to local search dialog (#2325)
2 years ago
JiZhi c9a98ac6bb
fix(build): create markdown env for localSearchPlugin (#2322)
2 years ago
donggua 29a9647ee9
feat(theme): allow prev/next links to be disabled globally (#2317)
2 years ago
CHOYSEN 90478b36cd
feat(build): support relative path for code snippet (#1894)
2 years 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
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