huamurui
fc02257576
Merge eaab408954 into 6ee01bf305
2 weeks ago
Eric Fennis
6ee01bf305
feat: add support for `format` option in Carbon options ( #5188 )
...
---------
Co-authored-by: Copilot <copilot@github.com>
2 weeks ago
skirtle
cd4ed0537b
docs: update `transformHead` ( #5191 )
2 weeks ago
SaintaDream
4967e9bab4
docs(zh): fix typos, punctuation and broken references ( #5189 )
...
* docs(zh): fix typos, missing words and broken references [lunaria-ignore]
3 weeks ago
/bin/cat
01987c4c08
fix(build): apply `base` to links with download attribute ( #5186 )
4 weeks ago
Divyansh Singh
c608981324
chore: clarify preview release instruction
...
it needs actual comment, adding the command in the body won't work
1 month ago
Divyansh Singh
aa587f679c
chore: bump deps
1 month 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.
1 month ago
Divyansh Singh
9da1e3e70f
fix: use resolveDynamicComponent instead of resolveComponent
...
x-ref: https://github.com/vuejs/vitepress/pull/5176#issuecomment-4240841782
1 month ago
Shigma
c0b38d52c2
feat: allow VPContent to use custom components ( #5176 )
1 month ago
Divyansh Singh
19357f9d33
fix(theme): prevent `sub` and `sup` elements from affecting line height
...
based on normalize.css
closes #5173
1 month ago
dependabot[bot]
cb8f5531ce
chore(deps-dev): bump lodash.template from 4.5.0 to 4.18.1 ( #5169 )
...
Bumps [lodash.template](https://github.com/lodash/lodash ) from 4.5.0 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.5.0...4.18.1 )
---
updated-dependencies:
- dependency-name: lodash.template
dependency-version: 4.18.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Divyansh Singh
73f7b0b984
fix(theme): correct mixed LTR/RTL text rendering in code blocks
2 months ago
lilianakatrina684-a11y
202ee70260
fix: keep translation links in the current tab ( #5158 )
2 months ago
Divyansh Singh
9a2d16516b
chore: revert icons plugin bump
2 months ago
Divyansh Singh
856858d26a
fix: normalize `/index` to `/`
...
closes #5165
2 months ago
Divyansh Singh
1278c59f51
chore: bump deps
2 months ago
Divyansh Singh
62e1a4c49f
docs: add og tags
2 months ago
Divyansh Singh
8ad215400a
docs: add descriptions [lunaria-ignore]
2 months ago
Divyansh Singh
d96bf1dc61
fix: escape description in head
2 months ago
Divyansh Singh
09af6c73a8
docs: fix og tags
2 months ago
dependabot[bot]
abc88d1696
chore(deps-dev): bump picomatch from 4.0.3 to 4.0.4 ( #5164 )
...
Bumps [picomatch](https://github.com/micromatch/picomatch ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 4.0.4
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Divyansh Singh
6730fb8462
fix(theme): avatars misaligned in team member cards
...
closes #5160
2 months ago
Joaquín Sánchez
4fc1db83d7
docs: add `home-hero-actions-before-actions` slot to layout slots ( #5155 )
2 months ago
Divyansh Singh
fccc617102
feat(markdown): expose Shiki color replacements in markdown options ( #5153 )
2 months ago
Bugo
6dd3632960
docs(ru): update translations ( #5152 )
2 months ago
Divyansh Singh
e2430d1331
chore: adjust heading level
2 months ago
Divyansh Singh
6beafe9e04
release: v2.0.0-alpha.17
2 months ago
Joaquín Sánchez
74a73d869c
feat(client): add `home-hero-actions-before-actions` slot ( #5151 )
2 months ago
Divyansh Singh
17696c358b
fix(theme): close sidebar on resize ( closes #5145 )
2 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.
2 months ago
Divyansh Singh
5ad39ab934
docs: add special thanks section
2 months ago
Sergio
44e2675889
feat: support text-fragments ( #5140 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 months ago
Divyansh Singh
d019acd3ca
chore: fix typo
2 months ago
Divyansh Singh
f811d581a1
fix(theme): enable `line-break: strict` for `<li>` too
2 months ago
Divyansh Singh
21a5fb6a96
fix(theme): disable text autospace in `<pre>` ( closes #5115 )
2 months ago
Tatsunori Uchino
8096eaca4f
fix(theme): strip system-ui from font-family-base ( #4988 )
2 months ago
Divyansh Singh
cd71695da5
docs: sync Node.js version with Vite
2 months ago
Divyansh Singh
fc0f203f0a
fix(build): deterministic local search indexing and non-blocking initial scan ( closes #4081 )
2 months ago
dependabot[bot]
cf9994d3c2
chore(deps-dev): bump rollup from 4.57.1 to 4.59.0 ( #5132 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.57.1 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.57.1...v4.59.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-version: 4.59.0
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Divyansh Singh
896e49a777
fix(theme): add margin to images in vp-doc ( closes #5136 )
3 months ago
Rosano
f2d826caa8
docs: fix typo ( #5135 ) [lunaria-ignore]
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 months ago
Linbo-cyber
687ea42d4b
docs: add defineRoutes example to dynamic routes guide ( #5127 )
3 months ago
dependabot[bot]
642061db57
chore(deps-dev): bump markdown-it from 14.1.0 to 14.1.1 ( #5118 )
...
Bumps [markdown-it](https://github.com/markdown-it/markdown-it ) from 14.1.0 to 14.1.1.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md )
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.1.0...14.1.1 )
---
updated-dependencies:
- dependency-name: markdown-it
dependency-version: 14.1.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Qingpeng Li
b544df802d
fix(client): await `clipboard.writeText` so that fallback works in non-secure contexts ( #5119 )
3 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>
3 months ago
Divyansh Singh
2e36f5c312
docs: fix typo
3 months ago
Divyansh Singh
c0acfa104b
docs: sync deploy guides
3 months ago
agneliutkiene
d334e7a69c
docs: add Hostinger to deployment guide ( #5111 )
3 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.
3 months ago