Commit Graph

1270 Commits (f7aef3ca23dae39e226c85d7bb2579dbf7c758f3)

Author SHA1 Message Date
Divyansh Singh 017395fea8 chore: minor tweaks
11 months ago
Divyansh Singh c2b4c66e79 fix(client): add computed dir and lang to html root
11 months ago
Divyansh Singh a6cd891d95
fix: fix theme chunking logic causing out-of-order styles (#3403)
11 months ago
Divyansh Singh 862b4be867 refactor: remove legacy stuff
11 months ago
vanchKong 3052002b47
docs: add Chinese translations (#2249)
11 months ago
Divyansh Singh 7735631597 chore: simplify conditions
11 months ago
Divyansh Singh fb0ed027af chore: rename variables
11 months ago
Divyansh Singh b29b3b38e1
refactor: drop dependency on mrmime (#3400)
11 months ago
Divyansh Singh 27f60e0b77
fix: invalidate module cache for subsequent builds (#3398)
11 months ago
Divyansh Singh 09e48db355 feat: allow passing options to emoji plugin
11 months ago
Divyansh Singh 176c4008c5 refactor: make conditions more robust
11 months ago
Divyansh Singh 1c9f2aa8e4 refactor: use hast transform instead of regex for filling lines
11 months ago
Divyansh Singh 563020ba61 fix: fill all empty code lines
11 months ago
Divyansh Singh 6c899437c1 feat(theme): allow specifying rel and target in logoLink
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)
11 months ago
Divyansh Singh 621254300d
chore: bump deps (#3390)
11 months ago
烽宁 55be3f14d7
feat: support custom image lazy loading (#3346)
11 months ago
Jinjiang 203446d691
feat: support dir in frontmatter (#3353)
11 months ago
Cesar Gomez 50c9758d3f
fix(theme/i18n): support customizing dark mode switch titles (#3311)
11 months ago
arianrhodsandlot 6d89a08cb7
fix: print errors when importing an invalid dynamic route (#3201)
11 months ago
Дмитрий Бондарев 9c20e3b5f8
feat(theme/i18n): allow customizing sponsor link's text (#3276)
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
11 months ago
Divyansh Singh 9568fea8fc fix(build): clear cache after build
11 months ago
Yuxuan Zhang 6dac9a4dc5
refactor: add concurrent promise pooling for render task (#3366)
11 months ago
Divyansh Singh f4d4280d7d feat(build): enable VUE_PROD_HYDRATION_MISMATCH_DETAILS when DEBUG is truthy
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)
1 year ago
Divyansh Singh ef6d8d1e42
fix(theme): remove double padding from sidebar
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
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)
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)
1 year ago
翠 / green da73b58c79
fix: CSS missing after build (#3217)
1 year ago
Divyansh Singh d2238eedb7
feat: switch to vite 5 and bump deps (#3200)
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
1 year ago
Akshay Raj Gollahalli a482611d17
fix: style links in footer (#3178)
1 year ago
Divyansh Singh ed2ae3a25b chore: clear local search cache on hmr
1 year ago
烽宁 878f4378cd
perf: reduce duplicate rendering in localSearch (#3170)
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
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
1 year ago
烽宁 0d56855b54
fix(build): consistent route.path across dev and ssr (#2997)
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`
1 year ago
Divyansh Singh 5bb6bb0a14 fix(build): indentation being lost in code blocks
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
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)
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)
1 year ago
huluobotx 3023b5c76b
fix(build): respect srcExclude in content loader (#2963)
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)
1 year ago