Skip to content

Commit b694900

Browse files
F-loatbrc-dd
andauthored
docs: separate directory for en [lunaria-ignore] (#3996)
Co-authored-by: Divyansh Singh <[email protected]>
1 parent b54d7b0 commit b694900

37 files changed

+6
-2
lines changed

Diff for: docs/.vitepress/config/shared.ts

+4
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.

Diff for: docs/guide/cms.md renamed to docs/en/guide/cms.md

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.
File renamed without changes.
File renamed without changes.

Diff for: docs/guide/using-vue.md renamed to docs/en/guide/using-vue.md

+2-2
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.

Diff for: docs/index.md renamed to docs/en/index.md

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.

0 commit comments

Comments
 (0)