Skip to content

Commit

Permalink
mm upgrade and feature updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Plailect committed Sep 28, 2017
1 parent 8de4872 commit 8e3142b
Show file tree
Hide file tree
Showing 232 changed files with 10,739 additions and 9,006 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

[*.md]
trim_trailing_whitespace = false
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_assets/css/vendor/* linguist-vendored
_assets/js/plugins/* linguist-vendored
_assets/js/vendor/* linguist-vendored
assets/fonts/* linguist-vendored
assets/js/vendor/* linguist-vendored
42 changes: 21 additions & 21 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016 Michael Rose
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)

Copyright (c) 2017 Michael Rose

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
76 changes: 76 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
require "bundler/gem_tasks"
require "jekyll"
require "listen"

def listen_ignore_paths(base, options)
[
/_config\.ya?ml/,
/_site/,
/\.jekyll-metadata/
]
end

def listen_handler(base, options)
site = Jekyll::Site.new(options)
Jekyll::Command.process_site(site)
proc do |modified, added, removed|
t = Time.now
c = modified + added + removed
n = c.length
relative_paths = c.map{ |p| Pathname.new(p).relative_path_from(base).to_s }
print Jekyll.logger.message("Regenerating:", "#{relative_paths.join(", ")} changed... ")
begin
Jekyll::Command.process_site(site)
puts "regenerated in #{Time.now - t} seconds."
rescue => e
puts "error:"
Jekyll.logger.warn "Error:", e.message
Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
end
end
end

task :preview do
base = Pathname.new('.').expand_path
options = {
"source" => base.join('test').to_s,
"destination" => base.join('test/_site').to_s,
"force_polling" => false,
"serving" => true,
"theme" => "minimal-mistakes-jekyll"
}

options = Jekyll.configuration(options)

ENV["LISTEN_GEM_DEBUGGING"] = "1"
listener = Listen.to(
base.join("_data"),
base.join("_includes"),
base.join("_layouts"),
base.join("_sass"),
base.join("assets"),
options["source"],
:ignore => listen_ignore_paths(base, options),
:force_polling => options['force_polling'],
&(listen_handler(base, options))
)

begin
listener.start
Jekyll.logger.info "Auto-regeneration:", "enabled for '#{options["source"]}'"

unless options['serving']
trap("INT") do
listener.stop
puts " Halting auto-regeneration."
exit 0
end

loop { sleep 1000 }
end
rescue ThreadError
# You pressed Ctrl-C, oh my!
end

Jekyll::Commands::Serve.process(options)
end
27 changes: 15 additions & 12 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process.

minimal_mistakes_skin : "nord"

# Site Settings
locale : "en-US"
title : "3DS Guide"
Expand Down Expand Up @@ -142,36 +144,36 @@ exclude: [
_pages/ca_ES,
_pages/cs_CZ,
_pages/da_DK,
# _pages/de_DE,
_pages/de_DE,
_pages/el_GR,
_pages/en_PT,
# _pages/en_US,
_pages/es_EM,
# _pages/es_ES,
# _pages/fi_FI,
# _pages/fr_FR,
# _pages/he_IL,
_pages/es_ES,
_pages/fi_FI,
_pages/fr_FR,
_pages/he_IL,
_pages/hu_HU,
_pages/id_ID,
# _pages/it_IT,
_pages/it_IT,
_pages/ja_JP,
_pages/ko_KR,
_pages/ms_MY,
_pages/no_NO,
_pages/nl_NL,
_pages/pl_PL,
# _pages/pt_BR,
_pages/pt_BR,
_pages/pt_PT,
# _pages/ro_RO,
# _pages/ru_RU,
_pages/ro_RO,
_pages/ru_RU,
_pages/sr_SP,
_pages/sv_SE,
_pages/th_TH,
_pages/tr_TR,
_pages/uk_UA,
_pages/vi_VN,
_pages/zh_CN,
# _pages/zh_TW,
_pages/zh_TW,
]

keep_files:
Expand Down Expand Up @@ -207,7 +209,7 @@ sass:
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style

# Plugins
gems:
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
Expand Down Expand Up @@ -269,6 +271,7 @@ defaults:
values:
layout: single
author_profile: false
sidebar: true
- scope:
path: "_pages/af_ZA"
type: pages
Expand Down Expand Up @@ -642,4 +645,4 @@ defaults:
path: "_pages/zh_TW/home.txt"
type: pages
values:
permalink: /zh_TW/index:output_ext
permalink: /zh_TW/index:output_ext
12 changes: 12 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# main links
main:
- title: "Quick-Start Guide"
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
# - title: "About"
# url: https://mmistakes.github.io/minimal-mistakes/about/
# - title: "Sample Posts"
# url: /year-archive/
# - title: "Sample Collections"
# url: /collection-archive/
# - title: "Sitemap"
# url: /sitemap/
97 changes: 92 additions & 5 deletions _data/navigation/en_US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,37 @@
main:
-
title: Guide
url: /
-
title: FAQ
-
title: Troubleshooting
url: faq
-
title: Donations
url: donations
-
title: Credits
url: credits
-
title: Updating B9S
url: updating-b9s
-
title: A9LH to B9S
url: a9lh-to-b9s
-
title: Troubleshooting
url: troubleshooting
-
title: Region Changing
url: region-changing
-
title: GodMode9 Usage
url: godmode9-usage
-
title: Site Navigation
-
title: Updating B9S
url: uninstall-cfw
-
title: Uninstall CFW
url: site-navigation
bottom:
-
title: For support in English, ask for help at <a href="https://discord.gg/MWxPgEp">Nintendo Homebrew on Discord</a>.
Expand All @@ -33,4 +44,80 @@ footer:
-
title: Site Navigation
-
title: Why Ads?
title: Why Ads?
sidebar_title:
-
title: Overall Progress
sidebar_pages:
-
title: Home
url: /
-
title: Get Started (New 3DS)
url: get-started-(new-3ds)
-
title: Get Started (Old 3DS)
url: get-started-(old-3ds)
-
title: Cart Update
url: cart-update
-
title: ntrboot
url: ntrboot
-
title: Flashing ntrboot (3DS Single System)
url: flashing-ntrboot-(3ds-single-system)
-
title: Flashing ntrboot (3DS Multi System)
url: flashing-ntrboot-(3ds-multi-system)
-
title: Flashing ntrboot (DSi)
url: flashing-ntrboot-(dsi)
-
title: Flashing ntrboot (NDS)
url: flashing-ntrboot-(nds)
-
title: Flashing ntrboot (Powersaves)
url: flashing-ntrboot-(powersaves)
-
title: Homebrew Launcher (Soundhax)
url: homebrew-launcher-(soundhax)
-
title: Homebrew Launcher (Alternatives)
url: homebrew-launcher-(alternatives)
-
title: NTR and Cubic Ninja
url: ntr-and-cubic-ninja
-
title: Installing boot9strap (2xrsa)
url: installing-boot9strap-(2xrsa)
-
title: Installing boot9strap (Browser)
url: installing-boot9strap-(browser)
-
title: Installing boot9strap (DSiWare)
url: installing-boot9strap-(dsiware)
-
title: Installing boot9strap (DSiWare Game Injection)
url: installing-boot9strap-(dsiware-game-injection)
-
title: Installing boot9strap (DSiWare Save Injection)
url: installing-boot9strap-(dsiware-save-injection)
-
title: Installing boot9strap (Hardmod)
url: installing-boot9strap-(hardmod)
-
title: Installing boot9strap (Homebrew Launcher)
url: installing-boot9strap-(homebrew-launcher)
-
title: Installing boot9strap (MSET)
url: installing-boot9strap-(mset)
-
title: Installing boot9strap (ntrboot)
url: installing-boot9strap-(ntrboot)
-
title: NAND Restore
url: godmode9-usage#restoring-a-nand-backup
-
title: Finalizing Setup
url: finalizing-setup
Loading

0 comments on commit 8e3142b

Please sign in to comment.