Skip to content

Commit b694900

Browse files
F-loatbrc-dd
andauthored
docs: separate directory for en [lunaria-ignore] (#3996)
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 parent b54d7b0 commit b694900

37 files changed

+6
-2
lines changed

docs/.vitepress/config/shared.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import { search as esSearch } from './es'
77
export const shared = defineConfig({
88
title: 'VitePress',
99

10+
rewrites: {
11+
'en/:rest*': ':rest*'
12+
},
13+
1014
lastUpdated: true,
1115
cleanUrls: true,
1216
metaChunk: true,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/guide/using-vue.md renamed to docs/en/guide/using-vue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ VitePress currently has SSG support for teleports to body only. For other target
243243
```
244244

245245
<script setup>
246-
import ModalDemo from '../components/ModalDemo.vue'
247-
import ComponentInHeader from '../components/ComponentInHeader.vue'
246+
import ModalDemo from '../../components/ModalDemo.vue'
247+
import ComponentInHeader from '../../components/ComponentInHeader.vue'
248248
</script>
249249

250250
<style>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)