hangzou
53bb961a92
fix: skip external URLs in `withBase` ( #328 )
3 years ago
patak
8597f268cc
chore: issues forms for bug reports and feature requests ( #329 )
3 years ago
FangYing
d971dd9996
docs: spell error ( #326 )
3 years ago
Evan You
3cec536c1f
fix: automatically escape vite user defined variables in markdown
3 years ago
Evan You
95b0d5113b
release: v0.15.5
3 years ago
m4dz
e76e6ecd54
fix(nav): display nav if locales are present ( #321 )
3 years ago
Evan You
ce86b51ccf
chore: remove logs
3 years ago
Evan You
e6bb5a4806
perf: only update necessary head tags in prod
3 years ago
Eduardo San Martin Morote
c046905b03
fix(search): correctly detect multilang
...
Close #316
3 years ago
Evan You
5c076f4a48
release: v0.15.4
4 years ago
Evan You
9b35dfcde4
fix: avoid scroll behavior reliance on .nav-bar class
4 years ago
Evan You
3fed6f94e5
type: support specifying themeConfig type for useData() via generics
4 years ago
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