Divyansh Singh
0944777893
feat: make postcssIsolateStyles idempotent
...
BREAKING CHANGE: `includeFiles` option in `postcssIsolateStyles` now defaults to `[/vp-doc\.css/, /base\.css/]` You can remove explicit `includeFiles` if you were using it just to run it on `vp-doc.css`. To revert back to older behavior pass `includeFiles: [/base\.css/]`. The underlying implementation is changed and `transform` and `exclude` options are no longer supported. Use `postcss-prefix-selector` directly if you've advanced use cases.
1 year ago
Divyansh Singh
991c780a07
docs: recommend v2 for new users
1 year ago
Divyansh Singh
fc267ae6b7
fix: module graph causing unnecessary route regeneration on every update
...
fix: preserve externally added dynamic routes and pages
chore: bump deps, lock vitest as its latest beta is broken
1 year ago
sarganar
300dea4aad
docs(es): enhance what-is-vitepress section in Spanish ( #4872 )
...
---------
Co-authored-by: metris-soporte <metris.soporte@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 year ago
Horu
8280000998
docs: remove vue telescope link ( #4742 )
1 year ago
Mike Pearson
7c0c604585
docs: fix typo in default-theme-search.md ( #4835 ) [lunaria-ignore]
1 year ago
Divyansh Singh
4765682c64
docs: update docs for #4870
1 year ago
sarganar
45e0d0f62a
docs(es): enhance SSR Compatibility section in Spanish ( #4868 )
1 year ago
Divyansh Singh
51f7fda0bd
docs: fix typo [lunaria-ignore]
...
closes #4862
1 year ago
Bugo
bda7f32865
docs(ru): update some translations ( #4861 )
...
* Update ru/config.ts
* Update ru/reference/default-theme-search.md
1 year ago
Dylan Tientcheu
ac61abe7d7
feat(search): upgrade search to DocSearch v4-beta ( #4843 )
...
BREAKING CHANGE: Uses DocSearch v4 beta. No change is required if you're not customizing the styles of navbar search button or modal. DocSearch AI features are in private beta, you can apply for them at https://forms.gle/iyfb5pC2CiiwszUKA
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Darrin DeYoung
cc8d28df39
docs(zh): add missing translation in extending-default-theme.md ( #4852 )
1 year ago
Divyansh Singh
e2a8ba04c5
docs: add `fill: 'forwards'` to view transition example
...
fixes #4834
1 year ago
Divyansh Singh
536968c174
chore: bump deps
1 year ago
Bugo
f8260a4007
docs(ru): update `ru/guide/markdown.md` ( #4817 )
1 year ago
Rägnar O'ock
f1b1ffbdfc
docs: incorrect path for Overriding Internal Components example ( #4815 )
1 year ago
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.
1 year ago
Mike Pearson
a28b3489ac
docs: adjust wording ( #4805 )
1 year ago
Bugo
875aa8b798
docs(ru): update `ru/reference/default-theme-last-updated.md` ( #4785 )
1 year ago
Divyansh Singh
adfa5c7e99
chore: bump deps
1 year ago
lll
90f585ab3a
docs: add more detailed note in Last Updated reference ( #4780 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year 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>
1 year ago
Divyansh Singh
ab0e0cb598
chore: bump deps
1 year ago
Divyansh Singh
a7d9b56477
docs: avoid loading fa web fonts when not needed
1 year ago
Bugo
3fb3f3633c
docs(ru): update translations ( #4708 )
...
* Update ru/reference/default-theme-config.md
* Update ru/reference/frontmatter-config.md
* Update ru/reference/site-config.md
1 year ago
Divyansh Singh
33e397ea73
chore: bump deps
1 year ago
Pierre-Emmanuel Lévesque
f8feee0294
docs: fix example for loading custom font ( #4696 )
...
fix: correct custom font preloading doc example
1 year ago
Mingu Kang
61ca096772
docs(ko): fix typo [lunaria-ignore]
1 year ago
Yuxuan Zhang
c5e2e4db81
feat: support distributed config files ( #4660 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
1ec84c1504
chore: bump deps
1 year ago
Okinea Dev
ca0a2511ac
docs: add a plugin to generate llms.txt ( #4635 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
e5ab0676a9
perf: hoist expensive operations in useLayout
1 year ago
Divyansh Singh
2803b7e330
chore: re-introduce 27c4151 ( #4680 )
1 year ago
Divyansh Singh
910d6b4633
Revert "chore: bump deps, drop node 18 from ci"
...
This reverts commit 27c4151c72 .
1 year ago
Divyansh Singh
27c4151c72
chore: bump deps, drop node 18 from ci
...
vitepress will most likely keep supporting node 18 at least till rest of the month, but it'll be better if you upgrade sooner than later
1 year ago
Yuxuan Zhang
544cd81259
feat(theme)!: add `isHome` frontmatter option ( #4673 )
...
BREAKING CHANGE: `useLocalNav` and `useSidebar` are removed in favor of `useLayout`. To migrate, just do find and replace. Sidebar controls are no longer exported, but I didn't find any usage on GitHub. If there is demand, we can export respective composables later. `DefaultTheme.DocSidebar` and `DefaultTheme.DocLocalNav` types are also removed.
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: userquin <userquin@gmail.com>
1 year ago
GabrielxD
9d0145d32d
chore(docs): use SVG logo on zh index page ( #4638 )
1 year ago
btea
d07298120b
docs: markdown file inclusion example config line-numbers ( #4633 )
1 year ago
Okinea Dev
a97ae461d4
chore: use SVG logo on main website page ( #4623 )
...
---------
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Bugo
e06b83ec09
docs(ru): update translations ( #4610 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
b99d5123c9
feat: support using header anchors in markdown file inclusion ( #4608 )
...
closes #4375
closes #4382
Co-authored-by: btea <2356281422@qq.com>
1 year ago
Divyansh Singh
d4b01f6e2d
chore: bump deps
1 year ago
Divyansh Singh
4f3f5eac15
chore: resolve srcDir relative to cwd when initializing
2 years ago
Anthony Fu
1969cf4f3b
fix: upgrade shiki, remove embedded languages workaround ( #4566 )
2 years ago
Divyansh Singh
809bb523b6
docs: adjust preloaded shiki languages [lunaria-ignore]
2 years ago
Anthony Fu
68b1bcc680
fix: workaround for markdown embedded code highlighting ( #4564 )
2 years ago
Divyansh Singh
6031dbcdb7
chore: bump deps
2 years ago
Divyansh Singh
163c1f2477
docs: mark vp-raw element as code to avoid error when copy-pasting
...
closes #4539
2 years ago
Bugo
64b33e656d
docs(ru): update translations ( #4536 )
2 years ago
Divyansh Singh
8b3e10cb99
docs: fix leaking styles
...
closes #4520
2 years 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>
2 years ago
Divyansh Singh
373f9b933e
chore!: bump shiki to v2
...
BREAKING CHANGE: shiki transformers now use v3 [matching algorithm](https://shiki.style/packages/transformers#matching-algorithm )
2 years ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
2 years ago
Divyansh Singh
3cd3aee817
docs: fix typos in custom container names [lunaria-ignore]
...
closes #4481
closes #4485
2 years ago
Jabriel
856ecdec4f
docs: fix mislocated script tag ( #4478 ) [lunaria-ignore]
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Danilo Castro
f6b822e5eb
docs(pt): fix typo ( #4470 ) [lunaria-ignore]
2 years ago
Ciro Bermudez
21bd34a2aa
docs(es): add missing new line ( #4469 ) [lunaria-ignore]
2 years ago
Leo
63c1ed06a2
docs: add vitepress-plugin-group-icons ( #4437 ) [lunaria-ignore]
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Evorp
74aa6fabaf
docs: fix typo ( #4454 ) [lunaria-ignore]
2 years ago
Danilo Castro
e73d4e3928
docs: fix typo ( #4464 ) [lunaria-ignore]
2 years ago
Divyansh Singh
8ea776addc
fix: respect vite.clearScreen in build
...
- rename router.onAfterRouteChanged to router.onAfterRouteChange to align with naming conventions
- always pass normalized href to router.onAfterRouteChanged
closes #4468
2 years ago
Divyansh Singh
241d17d983
fix: out of order css in prod builds
...
closes #4098
2 years ago
Divyansh Singh
3eb4374af2
docs(i18n): add copy code button title workaround
2 years ago
Amirhossein Alibakhshi
a3f994b71e
docs: add Persian language ( #4089 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Bugo
08ce34d9a2
docs(ru): update translations ( #4422 )
2 years ago
Divyansh Singh
ff254dcbe6
feat(theme): allow customizing skip to content label
...
closes #4288
2 years ago
Nicolas Bastien
452d6c77a6
docs: add missing imports in translations ( #4391 )
2 years ago
Nicolas Bastien
31b3e85889
docs: add missing import ( #4389 )
2 years ago
MC_XiaoHei
2397e08d6c
docs(zh): update comment ( #4379 )
2 years ago
chiri
0380a60657
docs(ru): update translations ( #4377 )
2 years ago
Divyansh Singh
d200f4e125
docs: update search plugin list
2 years ago
Divyansh Singh
05f2f0d261
feat: on demand social icons ( #4339 )
2 years ago
yanrudykh
08a88440ba
Translation fix ( #4328 )
2 years ago
Bugo
c61775a54f
docs(ru): update translations ( #4323 )
...
* Update ru/reference/site-config.md
* Update ru/guide/using-vue.md
2 years ago
dmnq
d870ba48ea
docs(zh): fix postcss configuration file path ( #4301 )
2 years ago
匆匆孑然
cfcc37d9aa
docs: fix use pnpm action-setup ( #4294 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Jose Salazar
c593b7f789
docs: add VS Code IntelliSense Support section ( #4295 )
2 years ago
John Simons
fb772acacf
docs: fix typo ( #4279 )
2 years ago
Bugo
6a59da5162
docs(ru): update `ru/guide/markdown.md` ( #4278 )
2 years ago
Divyansh Singh
39236c5899
docs: redirect /guide to /guide/getting-started ( #4276 )
2 years ago
Christian Georgi
0db71aec83
docs: add info about the `{open}` attr for `details` container ( #4067 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
8436472c78
feat(experimental): support passing function for rewrites ( #4274 )
2 years ago
Bugo
6ea60f5d0c
docs(ru): update translations ( #4257 )
2 years ago
Clément Vannicatte
7ec3be3c6f
chore: update DocSearch version ( #4237 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Evan You
2d0c4993ac
docs: use search-only key
2 years ago
Divyansh Singh
c616a43a9c
chore: adjust formatting
2 years ago
ice
e99db8087a
docs(zh): fix typo ( #4195 )
2 years ago
XIYO
32c51e39ae
docs(ko): fix typo ( #4186 ) [lunaria-ignore]
2 years ago
Justin3go
6b4439a9e6
docs(zh): Chinese translation for the custom components in the navigation bar ( #4181 )
2 years ago
PhantomPower82
ff1d030af1
docs: correct filenames in `guide/extending-default-theme.md` ( #4177 )
2 years ago
LJY
315c220049
feat(client): add `onAfterPageLoad` hook in router ( #4126 )
2 years ago
oponamarchuk
77beb4476e
docs: add example for outline frontmatter config ( #4138 )
2 years ago
Niceplugin
3c40e9d9a8
docs(ko): re-translation of korean documents (reference/*) ( #4120 )
2 years ago
Divyansh Singh
df27e44db6
docs: fix wrong link
2 years ago
Niceplugin
049fd8d0e5
docs(ko): re-translation of korean documents ( #4111 )
2 years ago
Bugo
1b679d4528
docs(ru): update translations ( #4104 )
2 years ago
betteroneday
b6a36bc1e2
docs(zh): fix typo ( #4101 ) [lunaria-ignore]
2 years ago
Divyansh Singh
cccc231f21
docs: mention that base is not needed for certain gitlab pages types
...
closes #4055
2 years ago
Niceplugin
f7479ecb16
docs(ko): add Korean docs to the official site ( #4052 )
2 years ago
Bugo
9b1bb4ffc6
docs(ru): update translations ( #4024 )
2 years ago
Joaquín Sánchez
fa87d8150d
feat: allow using components in navigation bar ( #4000 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Hazel
f3ee906437
docs(zh): fix punctuation in markdown file ( #4022 )
2 years ago
SuperLi
143b1e91f3
feat(markdown): support including specific regions from markdown files ( #3978 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
徒言
b694900e69
docs: separate directory for en [lunaria-ignore] ( #3996 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
7bde800ee0
docs: update local search i18n
2 years ago
Divyansh Singh
13f54463ac
docs: capitalize vitepress ( #3989 )
...
Co-authored-by: Ryan Feigenbaum <48868107+royalfig@users.noreply.github.com>
2 years ago
Divyansh Singh
6598231fa8
docs: remove invisible characters and whitespaces [lunaria-ignore]
2 years ago
Divyansh Singh
8538e22f2c
chore: remove npm-run-all2 and sort-package-json
...
ref - https://github.com/vuejs/vitepress/pull/3981#discussion_r1650834240
Regarding sort-package-json, it was added in 972c100 , but it is sorting scripts too which I don't like. If someone prefers to sort other keys, they can just run it via npx and revert scripts section back
2 years ago
Divyansh Singh
a362d0cf68
chore: bump deps
2 years ago
John Freddy Tutistar
918036b186
docs(es): fix spanish translations ( #3952 )
...
Co-authored-by: Camilo Parra <caparra92@gmail.com>
2 years ago
Divyansh Singh
1e8bb48bc2
feat: support `force-auto` as an option for appearance
...
closes #3946
2 years ago
Camilo Parra
57cd793a2d
docs(es): add Spanish translations ( #3859 )
...
Co-authored-by: JohnFreddyTutistar <johnfre.157@gmail.com>
2 years ago
meteorlxy
b2fa9326c7
chore: bump deps
2 years ago
Divyansh Singh
1188951785
docs: update installation command for yarn pnp
...
closes #3919
2 years ago
Bugo
a335bc705c
docs(ru): update translations ( #3903 )
2 years ago
槿泽
9447ceeb0e
docs(zh): sync and tweak translations ( #3883 )
...
Co-authored-by: Xavi Lee <xavilee2002@outlook.com>
2 years ago
Divyansh Singh
99c0cece62
docs: add notes for sitemap + base
...
closes #3863
2 years ago
hank
0048787206
docs: update ZH translation ( #3817 )
2 years ago
Bugo
f30b848e3c
docs(ru): update translation guide/deploy.md ( #3807 )
2 years ago
Florian Sattler
f65053c1c6
docs: added nginx deployment documentation ( #3770 )
...
closes #3235
2 years ago
meteorlxy
972c100463
build: set up sort-package-json
2 years ago
meteorlxy
27f8644b5f
docs: improve zh translation for mpa mode
2 years ago
Divyansh Singh
9de259371e
chore: bump deps, lock mdit to v2.0
2 years ago
Divyansh Singh
2a9fc2a26b
fix: hashchange should only be triggered for same page navigations ( #3768 )
...
Co-authored-by: zonemeen <994718917@qq.com>
2 years ago
Bugo
b45217c136
docs(ru): update translations ( #3765 )
2 years ago
Ian Schmitz
229c168a36
docs: make vue as peer dependency section clearer ( #3687 )
2 years ago
李小控
c4ae9d3cde
docs: update default-theme sidebar type ( #3715 )
2 years ago
Divyansh Singh
54c46e7ceb
docs: adjust install and init commands
2 years ago
Bugo
58324020c7
docs(ru): add Russian translation ( #3709 )
...
Co-authored-by: Ruslan Makarov <ruslan.makarov@gmail.com>
2 years ago
Can Eldem
3113dad002
docs: add Stormkit as deployment platform ( #3751 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
reiOGxYNiOn
c8cffc5323
docs: fix a typo in Chinese version ( #3757 )
2 years ago
纾浚
de66bc1dc0
docs(zh): Fixed a translation that didn't match the English document ( #3749 )
2 years ago
Niceplugin
25399258b8
docs: link to community-maintained Korean translation site ( #3730 )
2 years ago
Jason Sims
a6a7645e94
docs: typo ( #3692 )
...
lunaria-ignore
2 years ago
Xavi Lee
1e8b3679c8
docs(zh): sync and tweak translations ( #3684 )
...
closes #3682
Co-authored-by: ZHANG PENG <onnttf@gmail.com>
2 years ago
Evan You
88a4284f3a
docs: tweak intro perf section
2 years ago
Evan You
0b68382121
docs: document metaChunk
2 years ago
Evan You
df8753bd92
docs: tweak hero action buttons
2 years ago
Divyansh Singh
86c0967297
chore: bump deps and switch to polka/compression
2 years ago
Divyansh Singh
86da996ddb
chore: update pnpm action to node 20
2 years ago
Rick Dubiel
5f6297cb3d
feat(theme): allow selectively disabling external link icon on navbar items ( #3607 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
viniciusdeliz
2b40266dac
docs(pt): Create Portuguese VitePress translation ( #3531 )
...
Co-authored-by: Savio Nascimento <savionascimentodev@gmail.com>
Co-authored-by: Xavi Lee <xavilee2002@outlook.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Pavel Horal
90eab25b70
docs: remove unnecessary nojekyll for GitHub Actions deployment ( #3630 )
2 years ago
Xavi Lee
489391cdbe
docs(zh): update a link and sync translations ( #3624 )
...
sync with 532389270b
2 years ago
Bairui Su
75bed4f836
docs: fix config path in guide/custom-theme.md ( #3618 )
2 years ago
etuardu
532389270b
docs: linked files not treated as assets ( #3615 )
...
close #3535
2 years ago
Xavi Lee
60d5984f9a
docs(zh): tweak and sync translations ( #3581 )
...
sync with 09030272b4
3 years ago
Jacob Hummer
09030272b4
feat(theme): auto style markdown content in home page ( #3561 )
...
BREAKING CHANGES: styles are now applied by default to markdown content when `layout: home` is set in frontmatter. If they conflict with the styles of your custom component, please set `markdownStyles: false` in frontmatter.
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 years ago
Divyansh Singh
79e213e26a
docs(experimental): enable metaChunk
3 years ago
Xavi Lee
c37bedea39
docs(zh): tweak and sync translations ( #3556 )
...
sync with ab39fd8592
3 years ago