Divyansh Singh
563020ba61
fix: fill all empty code lines
...
closes #3305
11 months ago
Divyansh Singh
6c899437c1
feat(theme): allow specifying rel and target in logoLink
...
closes #3264
closes #3271
11 months ago
Yuxuan Zhang
ac5881eeac
perf(localSearch): add concurrency pooling, cleanup logic, improve performance ( #3374 )
11 months ago
Divyansh Singh
d1ff29431f
style: adjust small badge height
11 months ago
Divyansh Singh
50a774ea7c
feat(theme): allow using VPBadge classes in sidebar ( #3391 )
11 months ago
Kia King Ishii
d10bf42c26
feat(theme): new design for local nav and global header ( #3359 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Divyansh Singh
621254300d
chore: bump deps ( #3390 )
11 months ago
烽宁
55be3f14d7
feat: support custom image lazy loading ( #3346 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Jinjiang
203446d691
feat: support dir in frontmatter ( #3353 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Cesar Gomez
50c9758d3f
fix(theme/i18n): support customizing dark mode switch titles ( #3311 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
arianrhodsandlot
6d89a08cb7
fix: print errors when importing an invalid dynamic route ( #3201 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Дмитрий Бондарев
9c20e3b5f8
feat(theme/i18n): allow customizing sponsor link's text ( #3276 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Evan You
8687b86e1e
fix(default-theme): remove use of reactify for search i18n
11 months ago
Divyansh Singh
9f1f04e00a
fix: remove double title from home pages
...
closes #3375
11 months ago
Divyansh Singh
9568fea8fc
fix(build): clear cache after build
...
closes #3363
11 months ago
Yuxuan Zhang
6dac9a4dc5
refactor: add concurrent promise pooling for render task ( #3366 )
...
fixes #3362
closes #3285
---------
Co-authored-by: Yuxuan Zhang <yuxuan@yuxuanzhang.net>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: David Silva <srdavidsilva@gmail.com>
11 months ago
Divyansh Singh
f4d4280d7d
feat(build): enable VUE_PROD_HYDRATION_MISMATCH_DETAILS when DEBUG is truthy
...
closes #422
11 months ago
Evan You
bddf74e379
chore: bump to Vue 3.4 beta
11 months ago
Anthony Fu
93122eee20
feat: allow explicitly mark code element as `.vp-copy-ignore` ( #3360 )
11 months ago
Divyansh Singh
bdfc01c9ec
fix: fallback to textContent while copying code
11 months ago
Divyansh Singh
2958b8b839
chore: bump deps ( #3345 )
11 months ago
Anthony Fu
d12e23ddf6
feat: expose `shikijiSetup` hook ( #3344 )
11 months ago
Anthony Fu
00eec7a4ef
chore: use transformer to clean-up highlight result ( #3343 )
11 months ago
Anthony Fu
8800195457
feat: update shikiji, support twoslash ( #3339 )
11 months ago
Enzo Innocenzi
e4bf1e48e6
feat: allow ignoring node in header ( #3331 )
11 months ago
Ianis Bernard
0f02697353
chore: fix typo ( #3279 )
12 months ago
xiaofan
b86ac8f3c5
fix(client): run contentUpdatedCallbacks when Content is unmounted ( #3253 )
1 year ago
Divyansh Singh
c3d7f22bd3
fix(build): force assets to go through vite pipeline during dev too ( #3258 )
1 year ago
Max Nowack
479a320731
fix(theme): use VPLink for links in VPDocFooter ( #3248 )
1 year ago
Divyansh Singh
33ce7e4478
fix: merge bundledLanguages with user provided languages for less breakage
1 year ago
Anthony Fu
75f18e4733
feat: migrate to shikiji ( #3237 )
1 year ago
DY_XiaoDong
60fc8fd244
fix(client): no onAfterRouteChanged called after popstate ( #3227 )
...
closes #3226
1 year ago
Divyansh Singh
ef6d8d1e42
fix(theme): remove double padding from sidebar
...
closes #3228
1 year ago
Divyansh Singh
799659dff9
chore: tweak a bit
1 year ago
Divyansh Singh
d63cb867b1
fix(client): regression - router not working without .html present
...
closes #3225
1 year ago
Divyansh Singh
a12a00ca78
chore: path separator normalization in assetsDir
1 year ago
Divyansh Singh
134ca6c661
chore: remove capturing group
1 year ago
bonyuta0204
563dc89975
feat(client): allow disabling link auto-prefetching ( #3220 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
a33831bf2c
chore: throw error on assetsDir outside outDir
1 year ago
Divyansh Singh
02161d0f79
fix(build): support nested assetsDir
1 year ago
烽宁
c4abc950af
fix: wrong recognition of non-html extension leads to route error ( #3218 )
1 year ago
烽宁
672e4946ac
feat(build): html head meta generator ( #3219 )
1 year ago
zhoulixiang
67610363bc
fix(ally): clear up confusion with the title of theme switch ( #3215 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
翠 / green
da73b58c79
fix: CSS missing after build ( #3217 )
...
closes #3216
1 year ago
Divyansh Singh
d2238eedb7
feat: switch to vite 5 and bump deps ( #3200 )
...
BREAKING CHANGE: VitePress now runs on Vite 5. Please refer https://vitejs.dev/guide/migration for breaking changes and migration guide if you're relying on some Vite-specific things.
1 year ago
akirarika
237ad859a9
fix: "VPNavScreenMenuGroup" component HTML not supported ( #3148 )
1 year ago
Divyansh Singh
dbbffa2487
fix(build): remove frontmatter in md file inclusion
...
closes #3195
1 year ago
Akshay Raj Gollahalli
a482611d17
fix: style links in footer ( #3178 )
...
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
1 year ago
Divyansh Singh
ed2ae3a25b
chore: clear local search cache on hmr
1 year ago
烽宁
878f4378cd
perf: reduce duplicate rendering in localSearch ( #3170 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Jacob Hummer
a850786a56
feat: export `mergeConfig()` ( #3143 )
1 year ago
skirtle
beecec16a8
fix(theme): table row background-color in custom containers ( #3179 )
1 year ago
烽宁
7dbeac6df0
fix: double-slash format url should be external link ( #3165 )
1 year ago
YiZhi
2276c1d4da
fix(theme): theme switch is not hidden on force-dark ( #3155 )
1 year ago
Divyansh Singh
50d61faefa
fix(theme/search): prevent reactivity loss with i18n ( #3121 )
1 year ago
Divyansh Singh
6cf1de5e9e
fix(mpa): properly emit assets in mpa mode ( #3115 )
1 year ago
Divyansh Singh
da3d7812a1
fix: don't normalize non-html/non-http links ( #3114 )
1 year ago
烽宁
c08bd46aa7
fix(theme): search's configuration about buttonAriaLabel doesn't work ( #3070 )
1 year ago
翠 / green
d65afc2873
chore: make it work with rollup v4 ( #3065 )
1 year ago
Divyansh Singh
1ee1c04159
chore: remove dns workaround
1 year ago
Divyansh Singh
7991180080
fix(build): handle .mjs/.mts files as data / path loaders ( #3058 )
1 year ago
Jason Dai
bdb080093f
feat(md): allow customizing container titles globally ( #3044 )
1 year ago
Divyansh Singh
f2fc3dc51b
fix(client): only update head if needed ( #3017 )
1 year ago
Divyansh Singh
6f2a2af1ff
chore: fix types
1 year ago
Divyansh Singh
8b10848810
build: improve types ( #3009 )
1 year ago
Divyansh Singh
1a9c32df12
fix: selectively pass env for container titles
...
closes #3007
1 year ago
Jeff Tian
bc96b2bb5b
fix(types): add RegExp to markdown's allowed attributes ( #3008 )
1 year ago
Divyansh Singh
a2750492be
fix: snippet hmr not working with rewrites
1 year ago
Divyansh Singh
e84f31371e
fix(hmr): handle hmr in imported code snippets ( #3005 )
1 year ago
Divyansh Singh
7fbfe71b6c
fix: handle references in container titles
...
closes #3004
1 year ago
烽宁
0d56855b54
fix(build): consistent route.path across dev and ssr ( #2997 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
aa40cecd48
fix(build): don't show missing lang warnings with text specifiers in fences
1 year ago
Divyansh Singh
70fe47c1dd
fix(compat): reset setRawMode on process exit ( #2994 )
1 year ago
Divyansh Singh
4f9a60b0cf
feat: allow passing fast glob options to `createContentLoader`
...
closes #2985
1 year ago
Divyansh Singh
5bb6bb0a14
fix(build): indentation being lost in code blocks
...
closes #2988
1 year ago
Divyansh Singh
0df88438c7
chore: update ssr.format condition to unblock vite ci
1 year ago
Divyansh Singh
f186901a51
fix(build): allow using symlinks with code snippets
...
closes #1617
1 year ago
Divyansh Singh
e99aaad9cf
fix(build): handle importing code snippets not having an extension ( #2978 )
1 year ago
Divyansh Singh
7271a95948
feat: mathjax support ( #2977 )
1 year ago
bqy_fe
fd46dc9b8f
fix(theme): remove extra padding from top when navbar is hidden ( #2575 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
mehm8128
0cd87b1baf
fix: customizing the starting line number even if globally set ( #2941 )
1 year ago
Divyansh Singh
76e9fe86b2
Revert "fix(build): respect srcExclude in content loader" ( #2975 )
...
* Revert "fix(build): respect srcExclude in content loader (#2963 )"
This reverts commit 3023b5c76b
.
* keep changes in dynamicRoutesPlugin.ts
1 year ago
huluobotx
3023b5c76b
fix(build): respect srcExclude in content loader ( #2963 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
1fb5d228a2
feat(theme): allow forcing dark mode ( #2974 )
1 year ago
Divyansh Singh
a18e5e48a4
feat(theme): allow forcing site locale in last updated format ( #2973 )
1 year ago
Divyansh Singh
28ef0ea6f6
fix(client): router in invalid state after 404 ( #2972 )
1 year ago
Divyansh Singh
98679c9e82
fix(client): scripts loading out of order when added through head ( #2970 )
1 year ago
Frederic Schwarz
2a34c6b307
fix: make algolia search work with indices that don't return absolute urls ( #2956 )
...
closes #336 , closes #805
1 year ago
Joaquín Sánchez
00ef2f1db0
fix(theme): local search enter key with the search result ( #2937 )
1 year ago
Divyansh Singh
54891df614
Revert "feat(theme): use inert to avoid traverse menus and content with keyboard" ( #2953 )
...
Revert "feat(theme): use inert to avoid traverse menus and content with keyboard (#2932 )"
This reverts commit 070fc0a56d
.
1 year ago
Divyansh Singh
a1e1267549
fix(theme): allow wrapping feature icons
...
closes #2923
1 year ago
Divyansh Singh
dfc0fbfcb4
fix(theme): use brand color on search highlight
...
closes #2902
1 year ago
Evan Liu
b1fbece047
feat: highlight nav by default when one of the items is matched ( #2893 )
1 year ago
szchixy
cb4967313e
feat(theme): allow setting target in home features ( #2897 )
1 year ago
Joaquín Sánchez
e544b411d9
fix(theme): prevent closing local search box on key enter ( #2933 )
1 year ago
g-dx
c6ff5c7686
feat: process md includes before building local search index ( #2906 )
1 year ago
Joaquín Sánchez
070fc0a56d
feat(theme): use inert to avoid traverse menus and content with keyboard ( #2932 )
1 year ago
fan1312
c0ce7f723e
feat: support for customizing the starting line number in a code block ( #2917 )
1 year ago
烽宁
a60f079f99
fix(theme): dropdown menu partially hidden by the homepage footer when it is too long ( #2904 )
1 year ago
Divyansh Singh
8b76167ccf
fix: respect attrs on custom containers
1 year ago
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