File tree 7 files changed +2424
-28
lines changed
7 files changed +2424
-28
lines changed Original file line number Diff line number Diff line change 1
- # Vim
2
- * ~
3
- * .sw [p_ ]
4
-
5
- # Sublime Text
6
- * .sublime-project
7
- * .sublime-workspace
8
-
9
- # Ruby Gem
10
- * .gem
11
- .bundle
12
- Gemfile.lock
13
- ** /vendor /bundle
14
-
15
1
# Node.js and NPM
16
2
node_modules
17
3
npm-debug.log *
18
- package-lock.json
19
4
codekit-config.json
20
5
6
+ # VitePress
7
+ docs /.vitepress /cache
8
+ docs /.vitepress /dist
9
+
21
10
# macOS
22
11
.DS_Store
23
12
24
- # Jekyll generated files
25
- .jekyll-cache
26
- .jekyll-metadata
27
- .sass-cache
28
- _asset_bundler_cache
29
- _site
30
-
31
13
# torrent stuff
32
14
torrents
Original file line number Diff line number Diff line change
1
+ [submodule "docs/.vitepress/theme "]
2
+ path = docs/.vitepress/theme
3
+ url = https://github.com/hacks-guide/vitepress-theme
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ https://3ds.hacks.guide/
7
7
## Running the site locally
8
8
9
9
This requires the following installed on your system:
10
- - ruby(-dev)
11
- - bundler
10
+ - node.js
12
11
13
12
To test the website locally, clone the source code:
13
+
14
14
``` sh
15
15
git clone https://github.com/hacks-guide/Guide_3DS --recurse-submodules
16
16
cd Guide_3DS
@@ -19,9 +19,8 @@ cd Guide_3DS
19
19
Then simply run the following commands:
20
20
21
21
``` sh
22
- bundle config set --local path vendor/bundle
23
- bundle install
24
- bundle exec jekyll serve
22
+ npm ci
23
+ npm run docs:dev
25
24
```
26
25
27
- The website should now be running on http://127.0.0.1:4000/ .
26
+ The website should now be running on http://127.0.0.1:5173/ (or a port shown on the terminal) .
Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright (C) 2024 Nintendo Homebrew
3
+ SPDX-License-Identifier: MIT
4
+ */
5
+
6
+ import { fileURLToPath , URL } from 'node:url'
7
+ import { defineConfig } from 'vitepress'
8
+
9
+ export default defineConfig ( {
10
+ title : "3DS Hacks Guide" ,
11
+ description : "A complete guide to 3DS custom firmware" ,
12
+ vite : {
13
+ resolve : {
14
+ alias : [
15
+ {
16
+ find : / ^ .* \/ V P H e r o \. v u e $ / ,
17
+ replacement : fileURLToPath (
18
+ new URL ( './theme/components/VPHero.vue' , import . meta. url )
19
+ )
20
+ } ,
21
+ {
22
+ find : / ^ .* \/ V P F o o t e r \. v u e $ / ,
23
+ replacement : fileURLToPath (
24
+ new URL ( './theme/components/VPFooter.vue' , import . meta. url )
25
+ )
26
+ }
27
+ ]
28
+ }
29
+ } ,
30
+ } )
You can’t perform that action at this time.
0 commit comments