Divyansh Singh
7619521259
feat!: consistent glob options across content, data, and path loaders ( #4808 )
...
BREAKING CHANGES: Only `cwd`, `ignore`, `dot` and `debug` are supported in `globOptions` of `createContentLoader`. If you want to pass other options, you still can but you might need to suppress type errors.
5 months ago
Divyansh Singh
56ba65e130
fix: resolve pages after setting global vitepress config
...
x-ref: #4803
5 months ago
Artea
16a0ff895c
chore: use rolldown-vite ( #4769 )
...
---------
Signed-off-by: Artea <sepush@outlook.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
6 months ago
Divyansh Singh
e7f9d05c3e
fix: disable appearance scripts in zero-js mode
...
closes #4766
6 months ago
Divyansh Singh
26f178cfaa
fix: gather additional config files even if root .vitepress/config is not present
7 months ago
Yuxuan Zhang
c5e2e4db81
feat: support distributed config files ( #4660 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
8 months ago
Divyansh Singh
9f54714e7d
fix: rebuild dynamic routes cache on server restart
...
follow up on #4525
9 months ago
Divyansh Singh
a62ea6a832
feat: dynamic routes plugin overhaul ( #4525 )
...
BREAKING CHANGES: Internals are modified a bit to better support vite 6 and handle HMR more correctly. For most users this won't need any change on their side.
9 months ago
Anthony Fu
80622356f1
feat: use `markdown-it-async`, remove `synckit` ( #4507 )
...
BREAKING CHANGES: markdown-it-async is used instead of markdown-it
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
10 months ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
11 months ago
Divyansh Singh
7f19b5f424
chore: bump deps
1 year ago
Divyansh Singh
1e8bb48bc2
feat: support `force-auto` as an option for appearance
...
closes #3946
2 years 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>
2 years 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>
2 years 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>
2 years ago
Divyansh Singh
a12a00ca78
chore: path separator normalization in assetsDir
2 years ago
Divyansh Singh
134ca6c661
chore: remove capturing group
2 years ago
bonyuta0204
563dc89975
feat(client): allow disabling link auto-prefetching ( #3220 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
a33831bf2c
chore: throw error on assetsDir outside outDir
2 years ago
Divyansh Singh
02161d0f79
fix(build): support nested assetsDir
2 years 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.
2 years ago
Jacob Hummer
a850786a56
feat: export `mergeConfig()` ( #3143 )
2 years 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
2 years ago
huluobotx
3023b5c76b
fix(build): respect srcExclude in content loader ( #2963 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
1fb5d228a2
feat(theme): allow forcing dark mode ( #2974 )
2 years ago
Divyansh Singh
0088434895
fix(theme): prevent layout shift in search button key ( #2889 )
2 years ago
Divyansh Singh
9499953386
refactor: drop custom logic in favor of vueuse useDark ( #2818 )
2 years ago
Divyansh Singh
9df8adb53e
chore(build)!: drop cjs api ( #2737 )
2 years ago
Divyansh Singh
1179484432
feat(client): allow overriding props on Content
...
closes #2712
2 years ago
Divyansh Singh
5563695b15
feat: sitemap generation ( #2691 )
2 years 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>
2 years ago
烽宁
64d7c3ba54
feat(build): support custom `assetsDir` ( #2497 )
2 years 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>
2 years ago
Divyansh Singh
cd03db803d
revert!: sync defineConfig types with vite ( #2529 )
...
BREAKING CHANGE: reverts the breaking changes in beta-2
2 years ago
Divyansh Singh
b3ded34d8a
fix(types): sync defineConfig types with vite
3 years ago
烽宁
8153f23c90
fix(config): set scrollOffset to 0 is not effect ( #2395 )
3 years ago
btea
87d309c088
refactor: resolve circular dependency ( #2283 )
3 years ago
John Campion Jr
3714741b40
feat(build): provide `siteConfig` in `transformPageData` context ( #2163 )
3 years ago
Anthony Fu
3235c23313
feat: more flexible `ignoreDeadLinks` ( #2135 )
3 years ago
Evan You
86e2a6f972
feat: support multiple selectors for scrollOffset
3 years ago
Evan You
32dfaf5adc
fix(types): allow void return in transformHead hook
3 years ago
Evan You
468c049ccd
feat: expose page and assets on build hooks TransformContext
3 years ago
Evan You
470ce3d3f3
fix: gracefully handle config update with syntax error
...
close #2041
3 years ago
Evan You
d2838e3755
feat: createContentLoader
3 years ago
Evan You
8e8fcd9caa
fix: normalize all paths in config
3 years ago
Evan You
b075ee5be6
fix: dyamic routes w/ srcDir + relative imports
3 years ago
Evan You
24fa862c39
feat: dynamic routes
...
This commit completes the feature by adding HMR for dependencies of
path loader files.
Based on previous commits:
2582058, dea831f, 99693c6, c70ab70, bc99e5d
3 years ago
Evan You
bccce98c62
fix: update route configs on file add / delete
3 years ago
Evan You
34b149ba25
wip: rewrites for dynamic routes
3 years ago
Evan You
9c4c2117a6
wip: dynamic routes
3 years ago