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>
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 )
...
and hide return to top when already at top
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 )
...
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