1
0
mirror of https://github.com/hacks-guide/Guide_3DS.git synced 2025-09-01 20:42:41 +02:00

Initialize VitePress

- Add theme submodule
- Add initial configuration files
- Override theme-default VPHero/VPFooter with custom theme version
- Update README
This commit is contained in:
lifehackerhansol
2024-09-16 01:36:12 -07:00
parent afcba54398
commit 9446e2123a
7 changed files with 2424 additions and 28 deletions

View File

@@ -0,0 +1,30 @@
/*
Copyright (C) 2024 Nintendo Homebrew
SPDX-License-Identifier: MIT
*/
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vitepress'
export default defineConfig({
title: "3DS Hacks Guide",
description: "A complete guide to 3DS custom firmware",
vite: {
resolve: {
alias: [
{
find: /^.*\/VPHero\.vue$/,
replacement: fileURLToPath(
new URL('./theme/components/VPHero.vue', import.meta.url)
)
},
{
find: /^.*\/VPFooter\.vue$/,
replacement: fileURLToPath(
new URL('./theme/components/VPFooter.vue', import.meta.url)
)
}
]
}
},
})

1
docs/.vitepress/theme Submodule

Submodule docs/.vitepress/theme added at 798ac6841c