Evan You
8af8b40a80
bump vite
3 years ago
Evan You
e74c5f06d1
feat: support function config
3 years ago
Evan You
71b6845bc5
release: v0.16.1
3 years ago
Evan You
4925fb5c29
feat: info custom container
3 years ago
Eduardo San Martin Morote
de2628983d
release: v0.16.0
3 years ago
Eduardo San Martin Morote
4a34b93090
refactor: reuse regexp
3 years ago
Eduardo San Martin Morote
6c2c0f093a
ci: run build as a test
3 years ago
Evan You
ef1e205cb6
chore: bump vue deps
3 years ago
Eduardo San Martin Morote
3038829807
refactor: use compiler macros
3 years ago
Eduardo San Martin Morote
7b501293da
chore: up deps
3 years ago
Sacha STAFYNIAK
9d98dbbe60
fix: override target and rel links attribute in config ( #332 )
3 years ago
Dirk de Visser
cfbba80a0a
fix(edit-link): let frontmatter overwrite global editLink ( #340 )
...
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years ago
FangYing
aa9f9094b5
chore: remove log ( #331 )
...
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years ago
Eduardo San Martin Morote
b0e2c7275f
release: v0.15.6
3 years ago
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
4 years ago
m4dz
e76e6ecd54
fix(nav): display nav if locales are present ( #321 )
4 years ago
Evan You
ce86b51ccf
chore: remove logs
4 years ago
Evan You
e6bb5a4806
perf: only update necessary head tags in prod
4 years ago
Eduardo San Martin Morote
c046905b03
fix(search): correctly detect multilang
...
Close #316
4 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