Skip to content

Commit

Permalink
VitePress migration (#50)
Browse files Browse the repository at this point in the history
* Update Tiramisu to Aroma

it says tiramisu on the website, but not on the guide, which shows the better option

* home: sync excerpts with current state of guides

- Except Switch, which doesn't have the best wording for this use case.

* donations: add WiiLink

- For wii.hacks.guide

* Remove now defunct Matrix homeserver configuration

This died with the transfer of ownership from Plailect.

* Remove Jekyll files

* images: clean out unused files

* Initialize VitePress

- Add theme submodule
- Add initial configuration files
- Override theme-default VPHero/VPFooter with custom theme version

* translations: delete all languages

These have not been updated in forever and still include pages such as
an explanation for ads that we no longer have at least on this site.

Crowdin also doesn't seem to be hooked up properly at the moment.

* Move pages to VitePress

* Move assets to VitePress

* docs: port to VitePress

- Add some hack for feature row
- Remove 404 page, it doesn't work in VitePress
- Adjust headings in privacy-policy for VitePress

* config: add navbar and initial translation support

* config: add footer

* workflow: switch to VitePress

* crowdin: move to VitePress

* LICENSE: update copyrights

All previous copyrights held in this repository were related to the
old theme which is no longer in use.

* config: add favicon

* config: add GitHub link to navbar

* dependabot: add npm

---------

Co-authored-by: Paxton <[email protected]>
  • Loading branch information
lifehackerhansol and PaxtonPenguin authored Sep 27, 2024
1 parent a6fbe15 commit 975e819
Show file tree
Hide file tree
Showing 426 changed files with 2,331 additions and 37,693 deletions.
13 changes: 0 additions & 13 deletions .editorconfig

This file was deleted.

15 changes: 0 additions & 15 deletions .gitattributes

This file was deleted.

7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
17 changes: 11 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,22 @@ jobs:
- name: Configure GitHub Pages
uses: actions/configure-pages@v3

- uses: ruby/setup-ruby@v1
- name: Setup Node
uses: actions/setup-node@v4
with:
ruby-version: '3.2'
bundler-cache: true
node-version: 20
cache: npm

- name: Run Jekyll
# Build the site using Jekyll
run: JEKYLL_ENV=production bundle exec jekyll build
- name: Install dependencies
run: npm ci

- name: Build site
run: npm run docs:build

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist

# Deployment job
deploy:
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:

jobs:
doc-test:
doc-test:
runs-on: ubuntu-latest

steps:
Expand All @@ -13,11 +13,14 @@ jobs:
persist-credentials: false
submodules: recursive

- uses: ruby/setup-ruby@v1
- name: Setup Node
uses: actions/setup-node@v4
with:
ruby-version: '3.2'
bundler-cache: true
node-version: 20
cache: npm

- name: Run Jekyll
# Build the site using Jekyll
run: JEKYLL_ENV=production bundle exec jekyll build
- name: Install dependencies
run: npm ci

- name: Build site
run: npm run docs:build
29 changes: 4 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,11 @@
# Vim
*~
*.sw[p_]

# Sublime Text
*.sublime-project
*.sublime-workspace

# Ruby Gem
*.gem
.bundle
Gemfile.lock
**/vendor/bundle

# Node.js and NPM
node_modules
npm-debug.log*
package-lock.json
codekit-config.json

# VitePress
docs/.vitepress/cache
docs/.vitepress/dist

# macOS
.DS_Store

# Jekyll generated files
.jekyll-cache
.jekyll-metadata
.sass-cache
_asset_bundler_cache
_site

# torrent stuff
torrents
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/.vitepress/theme"]
path = docs/.vitepress/theme
url = https://github.com/hacks-guide/vitepress-theme
8 changes: 0 additions & 8 deletions .well-known/matrix/client

This file was deleted.

3 changes: 0 additions & 3 deletions .well-known/matrix/server

This file was deleted.

1 change: 0 additions & 1 deletion CNAME

This file was deleted.

5 changes: 0 additions & 5 deletions Gemfile

This file was deleted.

9 changes: 1 addition & 8 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
The MIT License (MIT)

(Jekyll Theme)
Copyright (c) 2013-2020 Michael Rose and contributors

(Nord skin)
Copyright (c) 2016-2021 Arctic Ice Studio [email protected] (https://www.arcticicestudio.com)
Copyright (c) 2016-2021 Sven Greb [email protected] (https://www.svengreb.de)
Copyright (c) 2024 Nintendo Homebrew

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
76 changes: 0 additions & 76 deletions Rakefile

This file was deleted.

Loading

0 comments on commit 975e819

Please sign in to comment.