Skip to content

Commit 4ccfeee

Browse files
committed
chore: update all url references of vitejs.dev to vite.dev
1 parent 3463749 commit 4ccfeee

18 files changed

+78
-78
lines changed

.vitepress/buildEnd.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Feed } from 'feed'
44
import type { SiteConfig } from 'vitepress'
55
import { createContentLoader } from 'vitepress'
66

7-
const siteUrl = 'https://vitejs.dev'
7+
const siteUrl = 'https://vite.dev'
88
const blogUrl = `${siteUrl}/blog`
99

1010
export const buildEnd = async (config: SiteConfig): Promise<void> => {
@@ -14,8 +14,8 @@ export const buildEnd = async (config: SiteConfig): Promise<void> => {
1414
id: blogUrl,
1515
link: blogUrl,
1616
language: 'en',
17-
image: 'https://vitejs.dev/og-image.png',
18-
favicon: 'https://vitejs.dev/logo.svg',
17+
image: 'https://vite.dev/og-image.png',
18+
favicon: 'https://vite.dev/logo.svg',
1919
copyright: 'Copyright © 2019-present VoidZero Inc. & Vite Contributors',
2020
})
2121

.vitepress/config.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { buildEnd } from './buildEnd.config'
1010
const ogDescription = '次世代フロントエンドツール'
1111
const ogImage = 'https://vite.dev/og-image.jpg'
1212
const ogTitle = 'Vite'
13-
const ogUrl = 'https://vitejs.dev'
13+
const ogUrl = 'https://vite.dev'
1414

1515
// netlify envs
1616
const deployURL = process.env.DEPLOY_PRIME_URL || ''
@@ -40,15 +40,15 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
4040
const oldVersions: DefaultTheme.NavItemWithLink[] = [
4141
{
4242
text: 'Vite 4 ドキュメント',
43-
link: 'https://v4.vitejs.dev',
43+
link: 'https://v4.vite.dev',
4444
},
4545
{
4646
text: 'Vite 3 ドキュメント',
47-
link: 'https://v3.vitejs.dev',
47+
link: 'https://v3.vite.dev',
4848
},
4949
{
5050
text: 'Vite 2 ドキュメント',
51-
link: 'https://v2.vitejs.dev',
51+
link: 'https://v2.vite.dev',
5252
},
5353
]
5454

@@ -58,7 +58,7 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
5858
return [
5959
{
6060
text: 'Vite 5 ドキュメント(リリース)',
61-
link: 'https://vitejs.dev',
61+
link: 'https://vite.dev',
6262
},
6363
...oldVersions,
6464
]
@@ -124,12 +124,12 @@ export default defineConfig({
124124

125125
locales: {
126126
root: { label: '日本語' },
127-
en: { label: 'English', link: 'https://vitejs.dev' },
128-
zh: { label: '简体中文', link: 'https://cn.vitejs.dev' },
129-
es: { label: 'Español', link: 'https://es.vitejs.dev' },
130-
pt: { label: 'Português', link: 'https://pt.vitejs.dev' },
131-
ko: { label: '한국어', link: 'https://ko.vitejs.dev' },
132-
de: { label: 'Deutsch', link: 'https://de.vitejs.dev' },
127+
en: { label: 'English', link: 'https://vite.dev' },
128+
zh: { label: '简体中文', link: 'https://cn.vite.dev' },
129+
es: { label: 'Español', link: 'https://es.vite.dev' },
130+
pt: { label: 'Português', link: 'https://pt.vite.dev' },
131+
ko: { label: '한국어', link: 'https://ko.vite.dev' },
132+
de: { label: 'Deutsch', link: 'https://de.vite.dev' },
133133
},
134134

135135
themeConfig: {
@@ -143,7 +143,7 @@ export default defineConfig({
143143
socialLinks: [
144144
{ icon: 'mastodon', link: 'https://elk.zone/m.webtoo.ls/@vite' },
145145
{ icon: 'twitter', link: 'https://twitter.com/vite_js' },
146-
{ icon: 'discord', link: 'https://chat.vitejs.dev' },
146+
{ icon: 'discord', link: 'https://chat.vite.dev' },
147147
{ icon: 'github', link: 'https://github.com/vitejs/vite' },
148148
],
149149

@@ -195,7 +195,7 @@ export default defineConfig({
195195
},
196196
{
197197
text: 'Discord Chat',
198-
link: 'https://chat.vitejs.dev',
198+
link: 'https://chat.vite.dev',
199199
},
200200
{
201201
text: 'Awesome Vite',

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vite Docs JA
22

3-
[Vite ドキュメント](https://vitejs.dev)の日本語翻訳リポジトリーです。現状、本リポジトリーは翻訳作業用のものとして一時的に用意されています。将来的に、本リポジトリーは別場所に移動される可能性があります。
3+
[Vite ドキュメント](https://vite.dev)の日本語翻訳リポジトリーです。現状、本リポジトリーは翻訳作業用のものとして一時的に用意されています。将来的に、本リポジトリーは別場所に移動される可能性があります。
44

55
## 貢献ガイド
66
[Vite 日本語翻訳ガイド](https://github.com/vitejs/docs-ja/blob/main/CONTRIBUTING.md) を一読お願いします!

blog/announcing-vite2.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ head:
1313
content: Announcing Vite 2.0
1414
- - meta
1515
- property: og:url
16-
content: https://vitejs.dev/blog/announcing-vite2
16+
content: https://vite.dev/blog/announcing-vite2
1717
- - meta
1818
- property: og:description
1919
content: Vite 2 Release Announcement
@@ -33,7 +33,7 @@ Vite (French word for "fast", pronounced `/vit/`) is a new kind of build tool fo
3333

3434
To get a sense of how fast Vite is, check out [this video comparison](https://twitter.com/amasad/status/1355379680275128321) of booting up a React application on Repl.it using Vite vs. `create-react-app` (CRA).
3535

36-
If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vitejs.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://vitejs.dev/guide/comparisons.html).
36+
If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vite.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://vite.dev/guide/comparisons.html).
3737

3838
## What's New in 2.0
3939

@@ -49,7 +49,7 @@ Vite 2.0 takes what we learned along the way and is redesigned from scratch with
4949

5050
Inspired by [WMR](https://github.com/preactjs/wmr), the new plugin system extends Rollup's plugin interface and is [compatible with many Rollup plugins](https://vite-rollup-plugins.patak.dev/) out of the box. Plugins can use Rollup-compatible hooks, with additional Vite-specific hooks and properties to adjust Vite-only behavior (e.g. differentiating dev vs. build or custom handling of HMR).
5151

52-
The [programmatic API](https://vitejs.dev/guide/api-javascript.html) has also been greatly improved to facilitate higher level tools / frameworks built on top of Vite.
52+
The [programmatic API](https://vite.dev/guide/api-javascript.html) has also been greatly improved to facilitate higher level tools / frameworks built on top of Vite.
5353

5454
### esbuild Powered Dep Pre-Bundling
5555

@@ -65,7 +65,7 @@ Vite treats CSS as a first-class citizen of the module graph and supports the fo
6565

6666
### Server-Side Rendering (SSR) Support
6767

68-
Vite 2.0 ships with [experimental SSR support](https://vitejs.dev/guide/ssr.html). Vite provides APIs to efficiently load and update ESM-based source code in Node.js during development (almost like server-side HMR), and automatically externalizes CommonJS-compatible dependencies to improve development and SSR build speed. The production server can be completely decoupled from Vite, and the same setup can be easily adapted to perform pre-rendering / SSG.
68+
Vite 2.0 ships with [experimental SSR support](https://vite.dev/guide/ssr.html). Vite provides APIs to efficiently load and update ESM-based source code in Node.js during development (almost like server-side HMR), and automatically externalizes CommonJS-compatible dependencies to improve development and SSR build speed. The production server can be completely decoupled from Vite, and the same setup can be easily adapted to perform pre-rendering / SSG.
6969

7070
Vite SSR is provided as a low-level feature and we are expecting to see higher level frameworks leveraging it under the hood.
7171

@@ -81,4 +81,4 @@ That was a lot of features, but getting started with Vite is simple! You can spi
8181
npm init @vitejs/app
8282
```
8383

84-
Then, check out [the guide](https://vitejs.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vitejs.dev/).
84+
Then, check out [the guide](https://vite.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vite.dev/).

0 commit comments

Comments
 (0)