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:
30
docs/.vitepress/config.mjs
Normal file
30
docs/.vitepress/config.mjs
Normal 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
1
docs/.vitepress/theme
Submodule
Submodule docs/.vitepress/theme added at 798ac6841c
Reference in New Issue
Block a user