Evan You
5733fc625e
perf: avoid double resolve user config on startup
4 years ago
Evan You
55de7ab43c
refactor: adjust shared utility/types build setup
...
fix non-existent imports in generated dts files
4 years ago
Evan You
2ef033c5c2
release: v0.15.0
4 years ago
Evan You
424a4ca379
fix: fix frontmatter sidebarDepth for headers
4 years ago
Evan You
3f86b7d32f
chore: fix docs dead link
4 years ago
Evan You
e50ba18fbe
docs: update docs for data API change
4 years ago
Evan You
a81b9e0ff1
refactor: re-expose $frontmatter global property, make localePath account for base by default
4 years ago
Evan You
76fa1733ff
fix: fix vue code block type indication
4 years ago
Evan You
0661063d29
feat: more efficient `useData()` method that exposes all data
...
BREAKING CHANGE:
- Individual `useX()` data methods are removed.
```js
// before
import { useSiteDataByRoute, usePageData } from 'vitepress'
const site = useSiteDataByRoute()
const page = usePageData()
const theme = computed(() => site.value.themeConfig)
// after
import { useData } from 'vitepress'
const { site, page, theme } = useData()
```
All destructured values are computed refs injected from app root
so they are created only once globally.
- Global mixin properties (e.g. `$site`) are removed. Always use
`useData()` to retrieve VitePress data.
4 years ago
cabbage
e10fdbcf34
docs: # default theme change ## ( #308 )
4 years ago
Anthony Fu
3f57877803
release: v0.14.1
4 years ago
Anthony Fu
c8e21a1ae0
chore: bump deps
4 years ago
Cédric Exbrayat
8988aadbcb
fix: functional templates with vue v3.1 ( #312 )
4 years ago
dependabot[bot]
8052b6ca18
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 ( #296 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Anthony Fu
b1162a7d50
release: v0.14.0
4 years ago
qdbest
53945dbb19
docs: keyword vuepress change vitepress ( #267 )
...
* keyword vuepress change vitepress
* docs: modify README.md to index.md
* Optimize code
* Restore highlight.ts
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
4 years ago
heny
b940397cd0
fix: chinese filenames can't build ( #217 ) ( #262 )
4 years ago
Han(ハン)
71a5e1c2a2
feat: exclude option ( #281 )
4 years ago
dnischeta
9589a5d0e6
fix(theme): set search box min-width for >=751px ( #286 )
4 years ago
Anthony Fu
6b4a4aa7a6
fix: remove unnecessary 'vite/dynamic-import-polyfill'
4 years ago
Anthony Fu
9f1b2b1ae2
chore: update deps
4 years ago
Máximo Mussini
e651f977d6
feat: Render titles for social sharing and improve home page sharing ( #263 )
4 years ago
cabbage
b2924dce01
docs: change prefix to suffix ( #306 )
4 years ago
云游君
3aa185fa9f
fix: detect public folder for dead link ( #290 )
...
* fix: detect public folder for dead link
* perf: use config.publicDir replace 'public'
4 years ago
meteorlxy
3d16420940
docs: refine the comparison with vuepress ( #294 )
4 years ago
Eduardo San Martin Morote
551f5038b5
release: v0.13.2
4 years ago
Eduardo San Martin Morote
0716ffade7
fix(search): silence warning for prop
4 years ago
Eduardo San Martin Morote
250e3baf2c
release: v0.13.1
4 years ago
Eduardo San Martin Morote
de89c1e5eb
fix(locales): use correct lang ( #283 )
4 years ago
Kia King Ishii
77f144a0c7
release: v0.13.0
4 years ago
Domantas
fa469fd275
fix: build fails without css chunks ( #209 ) ( #239 )
...
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
4 years ago
Babu Annamalai
d1a62e1c66
feat: import code snippet with region ( #237 ) ( #238 )
...
close #237
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
4 years ago
Takumi Katayama
a43933c8ab
fix(docs): global-component link ( #271 )
4 years ago
Eduardo San Martin Morote
f505db945a
fix(locales): use correct lang ( #276 )
4 years ago
Matias Capeletto
fa1616ac4e
docs: using vue in markdown guide ( #236 )
4 years ago
Nico Bachner
16a5f58484
chore: bump vite dependency to v2.0.5 ( #254 )
4 years ago
Jeff Yang
f385bc4673
fix(navbar): use css var for background-color ( #264 )
4 years ago
meteorlxy
cee0b400d9
refactor: remove extra condition ( #261 )
4 years ago
Eduardo San Martin Morote
8d915245c6
fix(css): reuse css vars ( #256 )
4 years ago
Eduardo San Martin Morote
9bc5c5c631
style: format code with prettier
4 years ago
Igor Randjelovic
f8b4aa5baa
fix: badge for language-javascript ( #245 )
4 years ago
Chad Sanda
dc2464b2ce
docs(deploy): fix typo ( #240 ) [skip ci]
...
packaje.json to package.json
4 years ago
Evan You
74f5adafcd
feat: detect dead links
4 years ago
Evan You
f484f9a9e5
release: v0.12.2
4 years ago
Evan You
4a40e1faf4
fix(theme-default): avoid ad image distortion on mobile
4 years ago
Evan You
6ddcb99bff
release: v0.12.1
4 years ago
Evan You
c0aa5a8fae
deps: bump vite + update alias usage
4 years ago
Evan You
c76cda615c
chore: ignore vscode
4 years ago
Kia King Ishii
a613df46e8
fix: `base` option not generating correct multi sidebar ( #231 ) ( #234 )
4 years ago
Kia King Ishii
6538c8e70a
fix: nav home title not having locale based link ( #195 ) ( #233 )
...
fix #195
4 years ago