Skip to content

Commit ecfba89

Browse files
authored
Replace v3.ja.vuejs.org with ja.vuejs.org. (#2461)
1 parent ea6c666 commit ecfba89

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

themes/vue/layout/page.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="content <%- page.type ? page.type + ' with-sidebar' : '' %> <%- page.type === 'guide' ? page.path.replace(/.+\//, '').replace('.html', '') + '-guide' : '' %>">
1111
<p class="tip warning v3-warning">
1212
v2.x 以前のドキュメントです。
13-
v3.x のドキュメントを見たい場合は<a href="https://v3.ja.vuejs.org/">こちら</a>
13+
v3.x のドキュメントを見たい場合は<a href="https://ja.vuejs.org/">こちら</a>
1414
</p>
1515

1616
<% if (page.type) { %>

themes/vue/layout/partials/header.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div>
22
<div id="v3-banner">
33
<span class="hidden-sm">v2.x 以前のドキュメントです。</span>
4-
v3.x のドキュメントを見たい場合は<a href="https://v3.ja.vuejs.org/">こちら</a>
4+
v3.x のドキュメントを見たい場合は<a href="https://ja.vuejs.org/">こちら</a>
55
</div>
66

77
<header id="header">

themes/vue/source/js/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
var version = e.target.value
330330
var section = window.location.pathname.match(/\/v\d\/(\w+?)\//)[1]
331331
if (version === 'v3') {
332-
window.location.assign('https://v3.ja.vuejs.org/' + section + '/')
332+
window.location.assign('https://ja.vuejs.org/' + section + '/')
333333
return
334334
}
335335
if (version === 'SELF') { return }

0 commit comments

Comments
 (0)