Divyansh Singh
a18d5447f2
fix: temp workaround for broken navigation from 404 to home
...
x-ref: #2891
1 year ago
Divyansh Singh
d40eb1903b
feat: skip rendering if env.BUNDLE_ONLY is truthy ( #2890 )
1 year ago
Divyansh Singh
0088434895
fix(theme): prevent layout shift in search button key ( #2889 )
1 year ago
Divyansh Singh
18adc07117
fix(theme): search button key misplaced on safari
1 year ago
Divyansh Singh
195ebe9464
fix(init): missing mts extension on windows
...
closes #2886
1 year ago
skirtle
20f9770268
fix(theme): improve contrast of search highlight text ( #2887 )
1 year ago
Colin McDonnell
83270fe657
feat: detect bun package manager ( #2874 )
1 year ago
Divyansh Singh
40da45d038
chore: move init terminal output to separate file
1 year ago
skirtle
39784ca55f
fix(theme): link hover color inside a custom block ( #2876 )
1 year ago
Divyansh Singh
1705c179df
chore: vite no longer emits assets on ssr by default
1 year ago
Divyansh Singh
8aa032f60c
fix: resolve snippets from original file path - align with include behavior
1 year ago
Divyansh Singh
4f01f1a09c
feat: allow overriding mdit-vue/component options
1 year ago
Divyansh Singh
21b4f8caad
fix: pseudo styles being removed with postcssIsolateStyles
...
closes #2868
closes #2867
1 year ago
Divyansh Singh
6be5a7e830
revert: "fix: createContentLoader generates invalid url when sets `base`" ( #2865 )
...
This reverts commit 0f38eb4404
.
1 year ago
Divyansh Singh
47068ff0c5
revert: "perf: extract social icons as plugin to avoid unused icons" ( #2861 )
1 year ago
skirtle
74fcb60fb4
fix(theme): revert 79 to 179 in yellow-soft ( #2858 )
1 year ago
Divyansh Singh
db17df336e
chore!: bump deps ( #2852 )
1 year ago
Divyansh Singh
a5f2eacf22
feat(theme): allow providing custom `toggle-appearance` function ( #2844 )
...
Co-authored-by: Hooray Hu <304327508@qq.com>
1 year ago
Divyansh Singh
e477cdfd2f
feat(theme): allow setting rel and target on sidebar links
...
closes #2851
1 year ago
Divyansh Singh
3992202404
docs: add themeConfig.outline, drop themeConfig.outlineTitle
...
Co-authored-by: =?UTF-8?q?=E7=A7=83=E5=A4=B4=E7=81=AF=E7=AC=BC=E9=B1=BC?=
<ttdlyu@163.com>
1 year ago
Divyansh Singh
9a062a6dd6
feat(theme): allow overriding last updated time in doc footer from frontmatter ( #2848 )
1 year ago
Divyansh Singh
e8ef1aaabe
feat(theme): allow overriding code copied text from css ( #2833 )
1 year ago
丶远方
ff86c73175
refactor: defining default values for Props using withDefaults. ( #2498 )
1 year ago
Divyansh Singh
5836facc61
chore!: drop pathname protocol ( #2823 )
1 year ago
Divyansh Singh
5ced0cca83
fix(theme): show only one carbon ad at a time
1 year ago
Damien Guard
00dc1e6742
feat: allow customizing markdown renderer used for local search indexing ( #2770 )
...
BREAKING CHANGES: `search.options.exclude` for local search is removed in favor of more flexible `search.options._render`
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
e8edd0a05f
fix(theme): ssr issues on deno
1 year ago
Kia King Ishii
e4f5c51bbe
feat(theme): improve color system ( #2797 )
...
close #2100
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
9499953386
refactor: drop custom logic in favor of vueuse useDark ( #2818 )
1 year ago
Divyansh Singh
3c736c1c95
feat: export postcssIsolateStyles for vp-raw
1 year ago
Divyansh Singh
13343c91d9
chore!: change shiki defaults
1 year ago
Kleis Auke Wolthuizen
f242140c47
feat(theme): export VPImage ( #2814 )
1 year ago
Divyansh Singh
41ab96a269
refactor: drop body-scroll-lock in favor of vueuse useScrollLock ( #2809 )
1 year ago
烽宁
51715336ac
refactor: delete the redundant `provide` code ( #2804 )
1 year ago
Divyansh Singh
33962e04eb
fix(theme): prevent sidebar re-render unless there is actual change
...
closes #2796
1 year ago
awkweb
6960ec1cf6
feat(theme): export VPButton and VPSponsors ( #2767 )
1 year ago
btea
b388b0a8c1
fix(cli/init): print the correct packageManager ( #2787 )
1 year ago
btea
4d9d977519
fix(cli/init): terminal message has not enough contrast ( #2786 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
e0be677554
fix: restart server on theme creation/deletion ( #2785 )
1 year ago
Divyansh Singh
1bda710702
fix(build): respect preserveSymlinks ( #2780 )
1 year ago
Divyansh Singh
0c8cf0df89
perf: extract social icons as plugin to avoid unused icons ( #2768 )
1 year ago
Divyansh Singh
fc5092fb65
fix(a11y/theme): disable transitions if user prefers reduced motion
1 year ago
Divyansh Singh
436e99a594
fix(theme): docsearch variables not applying properly on ios beta
1 year ago
Divyansh Singh
23d751165f
fix(cli): generate mjs file on init if type: module is not present
1 year ago
Lehoczky Zoltán
819eb515d0
docs: add root path to gitignore suggestion ( #2488 )
1 year ago
沈青川
c9d465587a
fix(theme): language menu undefined text ( #2755 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
1 year ago
Divyansh Singh
9a4ee07260
fix(theme): fix sidebar collapsing and restore base property ( #2753 )
1 year ago
Divyansh Singh
2fe8f60681
revert(theme): revert 'allow setting base path in sidebar items'
...
closes #2752
1 year ago
Kia King Ishii
c0d838bda0
feat(theme)!: final re-brand ( #2727 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: Lehoczky Zoltán <ifjlehoczkyzoltan@gmail.com>
1 year ago
Divyansh Singh
1d6254b615
fix(theme): dont show transparent navbar other than home ( #2742 )
1 year ago
Divyansh Singh
b2f671ab3b
chore(build)!: drop node 16 support ( #2744 )
1 year ago
Divyansh Singh
9df8adb53e
chore(build)!: drop cjs api ( #2737 )
1 year ago
Divyansh Singh
1bed154612
feat(build): allow overriding vite config loading ( #2750 )
1 year ago
Divyansh Singh
0f421d7222
fix(build): nested rewrites not working properly
1 year ago
Divyansh Singh
481a5e3cb5
fix: fix sitemap path resolution
...
closes #2749
1 year ago
Divyansh Singh
20b509c6e1
feat(client): allow customizing scrollOffset padding
...
closes #2739
1 year ago
Divyansh Singh
e8ebf1b048
fix(theme): outline marker flicks when navigating towards above
...
closes #2665
closes #2676
1 year ago
Divyansh Singh
81e7405e19
fix(theme): hide outline marker on scroll to top
1 year ago
Divyansh Singh
f4a5c43cb0
feat(theme): allow adding custom layouts
...
closes #2547
1 year ago
Divyansh Singh
a8cf88b54a
chore: use defineOptions
1 year ago
Divyansh Singh
93823a8566
fix(theme): respect feature icon dimensions set from frontmatter
...
closes #1886
1 year ago
Divyansh Singh
d31051a051
fix(theme): align max-width media queries
1 year ago
Divyansh Singh
c6c983ed73
fix(client): handle empty hash in links ( #2738 )
1 year ago
zuixinwang
e54eea3da0
fix(theme): close dropdown menus after an item is clicked ( #2380 )
1 year ago
Divyansh Singh
063b0e520a
fix(theme): override docsearch button bg
...
fixes #2735
1 year ago
Divyansh Singh
3840eaae16
fix(theme): update sidebar active link status on hash change ( #2736 )
1 year ago
Divyansh Singh
1a6efbae8e
fix(theme): scroll code group tab into view on selection
...
closes #2355
Co-authored-by: izayl <izayl@163.com>
1 year ago
Divyansh Singh
039798a8c1
fix(theme): don't reset scroll position on changing tab in code groups
...
closes #2732 , closes #2362
1 year ago
Divyansh Singh
2a7422bbbf
feat(theme): allow overriding logo link
...
closes #1683
1 year ago
Divyansh Singh
09a4fdc9b8
feat(theme): allow customizing prev/next text from config file
...
closes #1373
1 year ago
Divyansh Singh
69251b7484
feat(theme): allow passing html in nav links
...
closes #1652
1 year ago
Divyansh Singh
52884d9d4b
feat(theme): allow setting base path in sidebar items ( #2734 )
1 year ago
Divyansh Singh
b55b529f23
refactor: use stringified `deserializeFunctions` util ( #2733 )
1 year ago
Divyansh Singh
e3f8fc7972
fix(theme): allow using h1 headings in outline
...
closes #1529
1 year ago
Divyansh Singh
ce85726c12
feat(build): add `markdown.preConfig` option
...
closes #1382
1 year ago
Divyansh Singh
f0d308288c
chore: bump deps ( #2724 )
1 year ago
Bjorn Lu
3f79f4bb6e
refactor: use rollup type from vite ( #2723 )
1 year ago
Divyansh Singh
4af597582c
feat(search): allow enabling detailed view by default
...
closes #2690
1 year ago
Divyansh Singh
1179484432
feat(client): allow overriding props on Content
...
closes #2712
1 year ago
Divyansh Singh
d7e225473b
feat(theme): allow customizing default theme's 404 page
...
closes #2715
1 year ago
Divyansh Singh
17378c064f
fix(build): make outDir from cli work properly
...
closes #2716
1 year ago
Divyansh Singh
a56d608bec
revert: #2689 ( #2722 )
...
Revert "fix(build): use vue dev build when DEBUG is truthy (#2689 )"
This reverts commit b61f36d853
.
1 year ago
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
烽宁
2ae90a2343
feat(theme): support custom page class ( #2696 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
烽宁
13f94a6663
feat(build): custom excerpt for `createContentLoader` ( #2698 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
BREAKING CHANGE: `createContentLoader` will now resolve globs relative to `srcDir` instead of `root`
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
...
closes #2668
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 )
...
closes #2344
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
烽宁
94e2966bab
feat(build): support overriding meta viewport tag ( #2642 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Bojan Rajh <b.rajh@shopware.com>
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 )
...
x-ref: https://github.com/vuejs/vitepress/issues/1131#issuecomment-1574092184 , #2607
Co-authored-by: CaptainTeemo <alittlebarney@gmail.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
e8074e60ec
fix(build): resolve nested md inclusions properly
...
closes #2584
closes #2586
Co-authored-by: Jeff Tian <jeff.tian@outlook.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
e95015f598
fix(client): bypass client router for links explicitly specifying target ( #2563 )
...
BREAKING CHANGE: specifying `target="_self"` for internal links will now perform full reload.
1 year ago
烽宁
52cfbc3236
feat(theme): option to show icon for external links ( #2501 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Jeff Tian
0c4210bb5e
feat(build): support nested markdown includes ( #2545 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
cd03db803d
revert!: sync defineConfig types with vite ( #2529 )
...
BREAKING CHANGE: reverts the breaking changes in beta-2
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
...
closes #2489
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
...
x-ref: https://github.com/vitejs/vite/pull/13482
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
CHOYSEN
90478b36cd
feat(build): support relative path for code snippet ( #1894 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
80e734d677
fix(search): detailed view not working when page contains script setup
...
closes #2485
1 year ago
Divyansh Singh
d62e6f6dd6
perf(search): use dom apis instead of regex-based section parsing ( #2486 )
1 year ago
Agustin Banchio
c995b9f61d
feat(theme): add custom label for social links ( #2466 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
2f75769985
fix(build): use rimraf to handle temp folder deletion in windows ( #2483 )
1 year ago
Divyansh Singh
2bd55eca2e
fix(theme): properly show divider between navs ( #2481 )
...
and hide return to top when already at top
1 year ago
btea
89b96ffa38
chore: remove invalid style ( #2479 )
1 year ago
zonemeen
199f392b58
refactor: simplify the import path
1 year 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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
localStorage is defined on server in Deno
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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
...
fixes #2312
Co-authored-by: zonemeen <994718917@qq.com>
2 years ago
Christian Georgi
b24acc6991
feat: add `filePath` to `PageData` ( #2140 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
d0f0012aea
feat(theme): support light shiki themes ( #2319 )
...
BREAKING CHANGE: Styling for code blocks might break, especially if you were earlier overriding it for light theme. Those workarounds are no longer required. VitePress will now show code blocks and groups in light mode too if a light shiki theme is specified.
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
...
fixes #2281
closes #2307
closes #2314
Co-authored-by: jd-solanki <jdsolanki0001@gmail.com>
Co-authored-by: Christian Georgi <christian.georgi@sap.com>
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 )
...
Co-authored-by: John Campion Jr <john@brightshore.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
1f4920c60d
fix(search): fix highlighting in detailed view
...
mark.js ships dist as IIFE which causes lot of issues, but is also has its source available in the package which is _almost_ ESM, so directly using it and locking the version to avoid any issues due to internal changes
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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
...
fixes #2238
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
185213c6ba
fix(search): remove double base on importing excepts
...
fixes #2230
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
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 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Leedom
8ee6b905f5
fix(theme): navbar style ( #2202 )
2 years ago
Divyansh Singh
713a35cbd0
feat!: organized search config ( #2218 )
2 years ago
Divyansh Singh
8059ec390a
chore: rename offline search to local search
2 years ago
Divyansh Singh
609d447ab5
fix(search): properly resolve page link
2 years ago
Divyansh Singh
e2951604fd
fix(theme): fix meta key not showing on search button
2 years ago
Guillaume Chau
6c92675e33
feat: offline search ( #2110 )
...
Co-authored-by: Christian Georgi <chgeo@users.noreply.github.com>
2 years ago
Divyansh Singh
a681fd11e3
fix(build): remove extra line at end of code blocks ( #2191 )
2 years ago
Divyansh Singh
3a65db2453
chore: remove unused styles
2 years ago
btea
3f38715b5e
chore(theme): remove unused styles ( #2167 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
John Campion Jr
3714741b40
feat(build): provide `siteConfig` in `transformPageData` context ( #2163 )
2 years ago
Christian Georgi
4c23003189
fix(build): make `lastUpdated` work with git submodules ( #2149 )
2 years ago
烽宁
51ecd580a2
fix(theme): fix color of table head row in custom containers ( #2160 )
2 years ago
John Campion Jr
9e3cf0fa7d
feat(theme): allow moving aside to left ( #2138 )
2 years ago
Divyansh Singh
0e45804bc9
chore: remove extra line
2 years ago
John Campion Jr
53d0099ffa
feat(theme): add `page-top/bottom` and `doc-top/bottom` slots ( #2139 )
2 years ago
CHOYSEN
ff26ff1e66
fix(theme): hide outline dropdown scrollbar when it does not overflow ( #2151 )
2 years ago
Divyansh Singh
e5bc1e1086
fix(theme): allow adding html as feature icons
2 years ago
Anthony Fu
3235c23313
feat: more flexible `ignoreDeadLinks` ( #2135 )
2 years ago
Anthony Fu
eac03f26e2
fix(theme): remove label background of code-group tabs ( #2136 )
2 years ago
Christian Georgi
3553f015a9
fix: make md includes work with rewrites ( #1898 )
...
BREAKING CHANGES: Markdown includes are now resolved relative to original file path instead of rewritten one.
2 years ago