Divyansh Singh
228eef187a
feat!: migrate to vite 8
1 month ago
T
7e2273a3e4
feat: show local search loading state ( #5252 )
1 month ago
Divyansh Singh
cc30b10b60
fix: delete undefined values while merging sidepanel props
1 month ago
T
f29ffdbb33
fix: preserve Agent Studio DocSearch options ( #5254 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 month ago
T
e68fade75d
fix: strip frontmatter before heading includes ( #5246 )
1 month ago
T
5c50b99724
fix(build): normalize rewrite drive letters ( #5245 )
1 month ago
T
ddf178a170
fix: preserve external sidebar links with base ( #5243 )
1 month ago
T
d0159c8a85
feat: support social link target option ( #5242 )
1 month ago
T
80cf2650aa
fix: index rewritten local search pages by locale ( #5241 )
1 month ago
T
a357e5ef67
fix: prevent DocSearch SVG clipping in WebKit ( #5240 )
1 month ago
T
eef57427f4
feat: allow custom i18n routing ( #5239 )
1 month ago
T
e635e9e5ea
feat: add macOS local search navigation shortcuts ( #5237 )
1 month ago
Divyansh Singh
ea93b5fec8
chore: bump deps
1 month ago
T
04f4fbadbd
fix: compose markdown config when extending configs ( #5236 )
...
fix: compose extended markdown config hooks
1 month ago
T
c37bde6308
fix(build): show dead link line numbers ( #5230 )
1 month ago
T
756a88cfa2
fix(theme): keep external link icon inline ( #5232 )
1 month ago
Eric Fennis
6ee01bf305
feat: add support for `format` option in Carbon options ( #5188 )
...
---------
Co-authored-by: Copilot <copilot@github.com>
3 months ago
/bin/cat
01987c4c08
fix(build): apply `base` to links with download attribute ( #5186 )
4 months ago
Divyansh Singh
aa587f679c
chore: bump deps
4 months ago
Divyansh Singh
6cce76685d
feat!: support scroll-margin / scroll-padding
...
Replaces the JS-based scroll offset logic with native CSS `scroll-margin-top`. The default theme sets it on headings using `--vp-nav-height` and `--vp-layout-top-height`, and `scrollTo` now uses `scrollIntoView` which respects it natively.
BREAKING CHANGE: `scrollOffset` from config is removed. Users wanting to customize scroll offset should customize `scroll-margin-top` via CSS instead. `smoothScroll` support from `router.go` is also removed as it didn't work as expected for most users. Users wanting smooth scrolling should set `scroll-behavior: smooth` in CSS, ideally inside a `@media (prefers-reduced-motion: no-preference)` block.
4 months ago
Divyansh Singh
9da1e3e70f
fix: use resolveDynamicComponent instead of resolveComponent
...
x-ref: https://github.com/vuejs/vitepress/pull/5176#issuecomment-4240841782
4 months ago
Shigma
c0b38d52c2
feat: allow VPContent to use custom components ( #5176 )
4 months ago
Divyansh Singh
19357f9d33
fix(theme): prevent `sub` and `sup` elements from affecting line height
...
based on normalize.css
closes #5173
4 months ago
Divyansh Singh
73f7b0b984
fix(theme): correct mixed LTR/RTL text rendering in code blocks
4 months ago
lilianakatrina684-a11y
202ee70260
fix: keep translation links in the current tab ( #5158 )
4 months ago
Divyansh Singh
856858d26a
fix: normalize `/index` to `/`
...
closes #5165
5 months ago
Divyansh Singh
d96bf1dc61
fix: escape description in head
5 months ago
Divyansh Singh
6730fb8462
fix(theme): avatars misaligned in team member cards
...
closes #5160
5 months ago
Divyansh Singh
fccc617102
feat(markdown): expose Shiki color replacements in markdown options ( #5153 )
5 months ago
Joaquín Sánchez
74a73d869c
feat(client): add `home-hero-actions-before-actions` slot ( #5151 )
5 months ago
Divyansh Singh
17696c358b
fix(theme): close sidebar on resize ( closes #5145 )
5 months ago
Divyansh Singh
ca1e875129
fix: disable brotli compression in preview server
...
x-ref: https://github.com/faker-js/faker/pull/3755
Local tests suggest that `zlib.createBrotliCompress` is around 50x slower than `zlib.createGzip`. Although brotli produces 25% smaller for the test subject, such low speed is not desirable for `vitepress preview` as the command is meant for local servers.
This aligns the preview compression with vite.
5 months ago
Sergio
44e2675889
feat: support text-fragments ( #5140 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
5 months ago
Divyansh Singh
d019acd3ca
chore: fix typo
5 months ago
Divyansh Singh
f811d581a1
fix(theme): enable `line-break: strict` for `<li>` too
5 months ago
Divyansh Singh
21a5fb6a96
fix(theme): disable text autospace in `<pre>` ( closes #5115 )
5 months ago
Tatsunori Uchino
8096eaca4f
fix(theme): strip system-ui from font-family-base ( #4988 )
5 months ago
Divyansh Singh
fc0f203f0a
fix(build): deterministic local search indexing and non-blocking initial scan ( closes #4081 )
5 months ago
Divyansh Singh
896e49a777
fix(theme): add margin to images in vp-doc ( closes #5136 )
5 months ago
Qingpeng Li
b544df802d
fix(client): await `clipboard.writeText` so that fallback works in non-secure contexts ( #5119 )
6 months ago
WizardsBowl
b28667b6b0
fix(theme): navbar menu group is incorrectly highlighted ( #5113 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
6 months ago
Divyansh Singh
fb21fdf675
fix: `processIncludes` no longer swallows errors
...
**BREAKING CHANGE:**
The previous `<!-- @include: ./path/to/file -->` syntax silently ignored errors when files did not exist. This behavior was originally intended as an escape hatch while documenting includes, but better solutions now exist using Shiki transformers.
For most users, no code changes are required. If you now see errors, it means your includes are broken and were previously not being reported.
Users who intentionally reference non-existent files or want to document includes without resolving them can configure `markdown.codeTransformers` with a `postprocess` hook. See `docs/.vitepress/config.ts` in this repo for an example.
6 months ago
Divyansh Singh
5b7ccbccdd
chore: bump deps, remove rimraf
6 months ago
Divyansh Singh
f1bef95eee
fix(theme): keep pnum,tnum features in Inter
...
closes #5096
6 months ago
Tatsunori Uchino
f09593b073
fix(theme): add `rel="alternate"` and `hreflang` to links in language menu ( #5108 )
6 months ago
Tatsunori Uchino
a01bba0cad
feat(theme): add Japanese translation for "copied" label ( #5106 )
6 months ago
Divyansh Singh
d7effffdbb
feat(theme): enable text-autospace and text-spacing-trim ( closes #4996 )
6 months ago
Divyansh Singh
3146ce48ed
feat(theme): support specifying list of details in home page features ( closes #5101 )
6 months ago
Dylan Tientcheu
0d646a66cd
feat(theme): upgrade DocSearch to 4.5 with sidepanel ( #5092 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
6 months ago
Divyansh Singh
a28e171604
fix(theme): remove margin between code groups and blocks in markdown containers
...
closes #5099
7 months ago