Christian Georgi
b24acc6991
feat: add `filePath` to `PageData` ( #2140 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Evan You
86e2a6f972
feat: support multiple selectors for scrollOffset
1 year ago
Evan You
74caccda43
feat: expose isNotFound on PageData, deperecate Theme.NotFound
1 year ago
Evan You
9c4c2117a6
wip: dynamic routes
2 years ago
Divyansh Singh
5ae4fbde38
feat: stable `cleanUrls` ( #1852 )
2 years ago
Divyansh Singh
8de2f4499d
feat: add i18n feature ( #1339 )
...
fix #291
fix #628
fix #631
fix #902
fix #955
fix #1253
fix #1381
Co-authored-by: Hiroki Okada <hirokio@tutanota.com>
Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2 years ago
qiang
09c2c52d6c
feat: support for teleports to body ( #1642 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Enzo Innocenzi
d404753005
feat(theme): allow defining dark as the default theme ( #1498 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
ee37eaa271
fix(types): allow non async `transformHtml` and `buildEnd` ( #1270 )
2 years ago
Divyansh Singh
12591a9487
feat: bundle type definitions of dev-deps ( #1257 )
2 years ago
meteorlxy
71358ebce7
refactor: externalize markdown headers plugin ( #1230 )
2 years ago
Divyansh Singh
0048e2bf1e
feat(build): switch to vite 3, support clean urls and esm mode ( #856 )
2 years ago
CHOYSEN
8bf4182453
refactor: add `PageDataPayload` type ( #742 )
2 years ago
Kia King Ishii
67e77f7871
feat: add option to customize title template
...
close #303
2 years ago
Kia Ishii
9250460b3f
feat: make appearance configurable
2 years ago
Evan You
d32d8d4419
feat: use git-based lastUpdated data
...
- The main reason behind this change is because previously the FS-based
timestamp is inaccurate and will change on every remote deployment in
CI environments, resulting in cache invalidation on every build. Using
git timestamps makes them stable.
- This is now disabled by default for performance reasons, as getting
the git timestamp requires spawning a child process and is expensive.
To enable it, use the new `lastUpdated: true` config option.
3 years ago
Evan You
b66785d68a
feat: scrollOffset option
3 years ago
Evan You
8288168b4f
adjust type exports
3 years ago
ULIVZ
ba41bb9055
feat: improve typescript support for config file ( #465 )
3 years ago
Evan You
475dee5154
build: pre-bundle, reduce deps
3 years ago
Evan You
6085501acb
chore: remove customData option
3 years ago
Eduardo San Martin Morote
bc78adb468
fix(i18n): fix locales reading, add site.langs ( #353 )
...
It works with the same config as Vuepress 1: https://vuepress.vuejs.org/guide/i18n.html#site-level-i18n-config
We could probably adapt the `label` property like Vuepress 2 https://v2.vuepress.vuejs.org/guide/i18n.html#site-i18n-config in a next release
3 years ago
Evan You
4072dc5f7e
feat: support customData in config
4 years ago
Kia King Ishii
9062dd9a1f
style: small fix for code style
4 years ago
Matias Capeletto
c6bdcfbf4f
feat!: add more global and computed properties ( #152 )
...
BREAKING CHANGE: `$theme` global computed is renamed to `$themeConfig`
to align better with VuePress.
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
4 years ago
Kia King Ishii
fdd498be70
fix: fix next and prev links not working ( #130 )
4 years ago
Kia Ishii
750fd7e177
style: organize the order of localeConfig properties
4 years ago
Yugo Ogura
294836ce40
feat(i18n): add nav dropdown language selector feature ( #91 )
...
* feat: set language selector on navbar
* feat: hide language selector if no other langages contents
* feat: i18n selectText
* fix: move language selector before repo link
* fix: change reference of locales
* fix: fix not to fail when no locales
4 years ago
tanasinn
0ea34cbb1d
feat: add git repo link and edit links ( #55 )
...
Co-authored-by: Shintaro Tanaka <s-tanaka@holmescloud.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years ago
Yugo Ogura
f52b1d576b
feat: add prev/next links ( #56 )
...
* feat: set Prev/Next to page data
* feat: set links at the bottom of page
* feat: hide next/prev links when themeConfig expressly set false
4 years ago
Anthony Fu
7802cb55c2
feat: i18n support ( #50 )
4 years ago
Evan You
a5e3d5d2f5
wip: migrate client to typescript
4 years ago