Devon Rueckner
2d96200a21
docs: minor phrasing updates ( #3204 )
1 year ago
Maciek Palmowski
b781450ddf
docs: add kinsta to deploy guide ( #3188 )
1 year ago
Divyansh Singh
37e4ab9ec2
docs: fix typo
...
closes #3184
1 year ago
skirtle
2cc0acceef
docs: always use 'extends' to extend themes ( #3181 )
1 year ago
Orca
b08a313cfb
docs(search): update the link to MiniSearch's docs ( #3176 )
1 year ago
Abiria
f188da0d53
docs: update reference documentation to reflect type definition correctly ( #3167 )
1 year ago
Divyansh Singh
a31e143afa
fix(styles): large blur radius is causing color issues with safari
1 year ago
Divyansh Singh
432c5480b3
chore: update data loader example to avoid confusion
...
closes #3113
1 year ago
Joaquín Sánchez
5542f29569
docs: update types for theme config ( #3118 )
...
* docs: update types for theme config
1 year ago
Joaquín Sánchez
71bed58936
docs: add types for theme config ( #3117 )
...
* docs: add types for theme config
* chore: missing {}
1 year ago
Jason Dai
a13f5cb3a7
docs(md): global custom container titles ( #3112 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Ryan Luo
62f0e4f109
docs: modify the example usage of postcssIsolateStyles ( #3111 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
2bf0d0b954
docs: fix safari favicon
1 year ago
Neo
c2c040d7e6
docs: change the documate URL ( #2993 )
1 year ago
Divyansh Singh
b16fb46e39
docs: remove example markdown config
1 year ago
Divyansh Singh
7271a95948
feat: mathjax support ( #2977 )
1 year ago
Divyansh Singh
1fb5d228a2
feat(theme): allow forcing dark mode ( #2974 )
1 year ago
Divyansh Singh
a18e5e48a4
feat(theme): allow forcing site locale in last updated format ( #2973 )
1 year ago
Neo
0d96620409
fix: Fixed code style
1 year ago
Neo
e4b5026060
fix: Fix the in-document advertising styles.
1 year ago
Neo
ca478f19b1
feat: Support in-document advertising.
1 year ago
fan1312
c0ce7f723e
feat: support for customizing the starting line number in a code block ( #2917 )
1 year ago
Divyansh Singh
0088434895
fix(theme): prevent layout shift in search button key ( #2889 )
1 year ago
Colin McDonnell
83270fe657
feat: detect bun package manager ( #2874 )
1 year ago
Divyansh Singh
40da45d038
chore: move init terminal output to separate file
1 year ago
0x009922
b0b3f5d46b
docs: use ANSI snippet instead of an `vitepress-init.png` ( #2875 )
1 year ago
Divyansh Singh
6be5a7e830
revert: "fix: createContentLoader generates invalid url when sets `base`" ( #2865 )
...
This reverts commit 0f38eb4404
.
1 year ago
Nicolas Hedger
dfb3cbef75
docs: fix typo ( #2859 )
1 year ago
Divyansh Singh
a5f2eacf22
feat(theme): allow providing custom `toggle-appearance` function ( #2844 )
...
Co-authored-by: Hooray Hu <304327508@qq.com>
1 year ago
Divyansh Singh
3992202404
docs: add themeConfig.outline, drop themeConfig.outlineTitle
...
Co-authored-by: =?UTF-8?q?=E7=A7=83=E5=A4=B4=E7=81=AF=E7=AC=BC=E9=B1=BC?=
<ttdlyu@163.com>
1 year ago
Divyansh Singh
fb93460cad
docs: update docs on transform page data
1 year ago
Divyansh Singh
9a062a6dd6
feat(theme): allow overriding last updated time in doc footer from frontmatter ( #2848 )
1 year ago
烽宁
d98e2c547f
docs: fix node version typo ( #2825 )
1 year ago
Divyansh Singh
5836facc61
chore!: drop pathname protocol ( #2823 )
1 year ago
Divyansh Singh
908084fbe9
docs: emit .nojekyll in gh pages workflow
1 year ago
Damien Guard
00dc1e6742
feat: allow customizing markdown renderer used for local search indexing ( #2770 )
...
BREAKING CHANGES: `search.options.exclude` for local search is removed in favor of more flexible `search.options._render`
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Kia King Ishii
ba825c3032
chore: update logo svg and og image to adopt to new theme
1 year ago
Kia King Ishii
e4f5c51bbe
feat(theme): improve color system ( #2797 )
...
close #2100
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Kia King Ishii
1f8c58aed0
fix(theme): improve logo svg and add `art` dir
1 year ago
Divyansh Singh
9499953386
refactor: drop custom logic in favor of vueuse useDark ( #2818 )
1 year ago
Divyansh Singh
3c736c1c95
feat: export postcssIsolateStyles for vp-raw
1 year ago
Divyansh Singh
1f4ae02138
docs: update mdit config to use import
1 year ago
Divyansh Singh
9a4ee07260
fix(theme): fix sidebar collapsing and restore base property ( #2753 )
1 year ago
Divyansh Singh
2fe8f60681
revert(theme): revert 'allow setting base path in sidebar items'
...
closes #2752
1 year ago
Kia King Ishii
c0d838bda0
feat(theme)!: final re-brand ( #2727 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: Lehoczky Zoltán <ifjlehoczkyzoltan@gmail.com>
1 year ago
Divyansh Singh
b2f671ab3b
chore(build)!: drop node 16 support ( #2744 )
1 year ago
Divyansh Singh
9df8adb53e
chore(build)!: drop cjs api ( #2737 )
1 year ago
Divyansh Singh
f4a5c43cb0
feat(theme): allow adding custom layouts
...
closes #2547
1 year ago
Divyansh Singh
f8126fe39f
chore: simplify config
1 year ago
Divyansh Singh
52884d9d4b
feat(theme): allow setting base path in sidebar items ( #2734 )
1 year ago
Divyansh Singh
7141b82ccc
docs: add head examples
...
closes #1500 , closes #1131
1 year ago
Divyansh Singh
900906583b
docs: fix link
1 year ago
Divyansh Singh
17378c064f
fix(build): make outDir from cli work properly
...
closes #2716
1 year ago
Divyansh Singh
7778187f2d
feat: i18n with sitemap ( #2708 )
1 year ago
Mike Bostock
5d18fd8978
feat: rel for feature links ( #2704 )
1 year ago
烽宁
2ae90a2343
feat(theme): support custom page class ( #2696 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
烽宁
13f94a6663
feat(build): custom excerpt for `createContentLoader` ( #2698 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
5563695b15
feat: sitemap generation ( #2691 )
1 year ago
烽宁
74d9ba27b5
fix(build): `createContentLoader` generates invalid url when `srcDir` is set ( #2578 )
...
BREAKING CHANGE: `createContentLoader` will now resolve globs relative to `srcDir` instead of `root`
1 year ago
camera-2018
40c60ecae5
docs: sidebar and navbar frontmatter config ( #2667 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
b180a9e809
docs: update pnpm install command to match new behavior
...
x-ref: #2670 , https://github.com/pnpm/pnpm/issues/6463
1 year ago
bqy_fe
e79a13eb42
feat(theme): support footer frontmatter config ( #2574 )
1 year ago
Jérémy Riverain
37d5b273fb
feat(search): allow excluding content from search results ( #2602 )
...
closes #2344
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
30b323d6e7
docs: rewrite github/gitlab deploying guide ( closes #2205 )
1 year ago
Divyansh Singh
29b8f76b23
chore: format
1 year ago
Divyansh Singh
cfe7e9f525
docs: add info about need to commit for lastUpdated to work ( closes #2090 )
1 year ago
Divyansh Singh
5a340bf1e5
docs: add algolia crawler config ( closes #2592 )
1 year ago
Divyansh Singh
5cdb9c8fa3
docs: cleanup use cases section
1 year ago
Divyansh Singh
d0e7374441
fix(theme): invalid html -- article inside span
1 year ago
烽宁
64d7c3ba54
feat(build): support custom `assetsDir` ( #2497 )
1 year ago
Divyansh Singh
e02adfe3ea
fix(build): remove `=""` from boolean attributes in head ( #2620 )
...
x-ref: https://github.com/vuejs/vitepress/issues/1131#issuecomment-1574092184 , #2607
Co-authored-by: CaptainTeemo <alittlebarney@gmail.com>
1 year ago
Joaquín Sánchez
789dc16bb1
docs: add Vitest, UnoCSS, VitePWA and Iconify to use cases ( #2601 )
...
* chore: add link to vue telescope in many more entry
* chore: change get started home action link
1 year ago
烽宁
66189c3f43
docs: add `d3` to the use cases ( #2589 )
1 year ago
烽宁
9fee5542cb
feat(search): support `minisearch` customization ( #2576 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
烽宁
a99dcf9443
fix(types): export duplicate type `Sidebar` ( #2573 )
2 years ago
bqy_fe
665f3b02f8
feat(client): add onBeforePageLoad hook for router ( #2564 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
cayter
a6de3ef548
docs: fix github actions permissions ( #2568 )
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
e95015f598
fix(client): bypass client router for links explicitly specifying target ( #2563 )
...
BREAKING CHANGE: specifying `target="_self"` for internal links will now perform full reload.
2 years ago
bqy_fe
03855dd0cf
docs: add ComponentInHeader import ( #2562 )
2 years ago
烽宁
52cfbc3236
feat(theme): option to show icon for external links ( #2501 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
烽宁
1ef33fe1c4
feat: support selecting line range when importing md file ( #2502 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Vamshi krishna
47c06bda38
docs: update setup command to use pnpm dlx ( #2558 )
2 years ago
Jeff Tian
0c4210bb5e
feat(build): support nested markdown includes ( #2545 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
b2a129f49b
fix(build): add `@vue/devtools-api` to `optimizeDeps.include` ( #2543 )
2 years ago
烽宁
c4909e4298
feat(theme): expose `useSidebar` ( #2496 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Pavel Horal
5013835f51
docs: fix typo in dynamic routing example ( #2515 )
2 years ago
Divyansh Singh
aac149c69b
docs: ignore `search-insights` warning
2 years 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>
2 years ago
CHOYSEN
90478b36cd
feat(build): support relative path for code snippet ( #1894 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years 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
William Sedlacek
a336fb3130
docs: fix typo ( #2359 )
2 years ago
Jellyfish
e14d35c382
docs: fix typo ( #2360 )
2 years ago
engvuchen
58795d2f93
docs: add warning about using block elements in footer config ( #2341 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.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
李鹏坤-执手对影成双
3b3bfea94c
docs: add head `<script>` example ( #2264 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Joaquín Sánchez
a3b38d1882
feat(build): allow using `@` prefix with `@include:` ( #2292 )
2 years ago
Divyansh Singh
e37e5cb45a
fix(search): ready event is not fired on mac
2 years ago
Divyansh Singh
732c67b68d
docs: update note on using search in dev mode
2 years ago
Divyansh Singh
17558db76b
docs: add message about search in dev mode ( #2239 )
2 years ago
ChuHoMan
fe1f58b700
docs: fix wording in text regarding enabling local search ( #2229 )
2 years ago
vanchKong
3cc93182bb
docs: fix typo ( #2226 )
2 years ago
Divyansh Singh
77db39be2e
docs: add note on syntax highlighting with moustaches in fences
...
closes #2211
2 years ago
Liberty
4c24960433
feat: allow passing props and children/slots to defineClientComponent ( #2198 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
50697ebfba
docs: fix layout shift in search page
2 years ago
Divyansh Singh
713a35cbd0
feat!: organized search config ( #2218 )
2 years ago
Divyansh Singh
8059ec390a
chore: rename offline search to local search
2 years ago
Divyansh Singh
536174912b
docs: update heading anchor
2 years ago
Divyansh Singh
0a387dda82
chore: enable algolia on main site
2 years ago
Guillaume Chau
6c92675e33
feat: offline search ( #2110 )
...
Co-authored-by: Christian Georgi <chgeo@users.noreply.github.com>
2 years ago
Adam Gąsowski
6acda7a6b3
docs: fix typo ( #2204 )
2 years ago
烽宁
399aeea7d0
docs: fix typo ( #2184 )
2 years ago
John Campion Jr
3714741b40
feat(build): provide `siteConfig` in `transformPageData` context ( #2163 )
2 years ago
Divyansh Singh
2791bf0887
docs: directly use svg in features section ( #2161 )
2 years ago
John Campion Jr
9e3cf0fa7d
feat(theme): allow moving aside to left ( #2138 )
2 years ago
John Campion Jr
53d0099ffa
feat(theme): add `page-top/bottom` and `doc-top/bottom` slots ( #2139 )
2 years ago
John Campion Jr
f4355c7cd3
docs: add info about getting config in loaders ( #2147 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Lyric Wai
dae4168e18
docs: fix typo ( #2141 )
2 years ago
Anthony Fu
3235c23313
feat: more flexible `ignoreDeadLinks` ( #2135 )
2 years ago
Danny Lin
399117088b
docs: add custom anchor example ( #2130 )
2 years ago
阿良仔
ae3041142e
docs: add `Rollup` to showcase ( #2128 )
2 years ago
Divyansh Singh
8370abc258
docs: fix install command in gh workflow
2 years ago
Evan You
9b85e435fe
docs: add dedicated section on SSR compatibility
2 years ago
Evan You
07a296f6c8
docs: highlight vite, vue & markdown config
2 years ago
Evan You
736f6c643f
docs: fix font preload example
2 years ago
Evan You
323fe30c9d
docs: add note about importing optional components when using no fonts default theme
2 years ago
Evan You
da1691d77e
feat(theme): support extending default theme without importing fonts
2 years ago
Evan You
5dd2a233b1
docs: preload home page images
2 years ago
Evan You
7182c4231f
feat(theme): page outline for mobile
2 years ago
Evan You
03423f13aa
docs: add example for vite / vue options
2 years ago
Evan You
31b548c718
docs: fix location description of the public dir
...
Should be relative to srcDir instead of project root
2 years ago
Evan You
2d22d02917
docs: clarify clean urls
2 years ago
Evan You
d2838e3755
feat: createContentLoader
2 years ago
Evan You
aa5b0b4cd7
docs: frontmatter updates
2 years ago
Evan You
e5cfe96ece
docs: tweak mpa mode
2 years ago
Guillaume Chau
192708de67
feat(theme): editLink can accept function ( #2058 )
2 years ago
Evan You
e4abb76454
docs: more details on where to place header config
2 years ago
Evan You
8ab36d05fa
fix: properly serialize header in outline
...
BREAKING CHANGE: default theme config option `outlineBadge` has been
removed. Badges in headers are now always excluded when generating
outline text.
2 years ago
Evan You
8e55c819dc
docs: add notes about headers
2 years ago
Divyansh Singh
2d28bd6da0
docs: use relative links
2 years ago
Divyansh Singh
56f5031514
docs: overriding internal components
...
closes #235
2 years ago
Evan You
aa8b03ceac
docs: add analytics
2 years ago
Evan You
868a9ff81e
feat: allow disabling markdown.headers
2 years ago
Billy Schonenberg
1ed5322d8b
docs: fix style module example ( #2065 )
2 years ago
Evan You
185e756b2d
docs: avoid carbonads id collision
...
close #2057
2 years ago
Evan You
657a7d38df
fix(theme): re-support dynamic headers
2 years ago
Divyansh Singh
41987b6a88
feat(theme): add not-found layout slot ( #2054 )
2 years ago
Evan You
8fa87df1a8
fix redirect
2 years ago
Evan You
3690714a32
update domain + redirect
2 years ago
Alija
322c633fd0
perf(a11y): add aria-label to language button ( #2025 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago