Evan You
ff4fa628de
release: v0.15.3
4 years ago
Evan You
a9d580069f
fix: avoid error when theme does not have .nav-bar class
4 years ago
Evan You
348f19a537
fix: watch config file when using srcDir
4 years ago
Evan You
f52f20e02f
fix: avoid resetting head tags on hmr/page switch
4 years ago
Evan You
834fa76e76
ci: update node versions
4 years ago
Evan You
bd0c870d93
release: v0.15.2
4 years ago
Evan You
eefba398b0
fix: force optimize vue to avoid duplication when linked
4 years ago
Evan You
fbcb07eaab
chore: remove unused arg
4 years ago
Evan You
dfff1d6966
release: v0.15.1
4 years ago
Evan You
f5d0e1881c
chore: deprecation warnings
4 years ago
Evan You
aaf4910d93
feat: support srcDir config option
4 years ago
Evan You
3737b1055d
feat: support passing vite config in vitepress config file via `vite` option
...
BREAKING CHANGE: Some config options have changed.
- `vueOptions` renamed to `vue`
- `alias` option has been removed. Use `vite.resovle.alias` instead.
4 years ago
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