-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebuilding the whole website
- Loading branch information
Showing
277 changed files
with
34,496 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
assets/fonts/* linguist-vendored | ||
assets/js/main.min.js linguist-vendored | ||
assets/js/lunr/* linguist-vendored | ||
assets/js/plugins/* linguist-vendored | ||
assets/js/vendor/* linguist-vendored | ||
_sass/minimal-mistakes/vendor/* linguist-vendored | ||
CHANGELOG.md text merge=union | ||
docs/_docs/18-history.md text merge=union | ||
|
||
*.md text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# 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 | ||
|
||
# macOS | ||
.DS_Store | ||
|
||
# Jekyll generated files | ||
.jekyll-cache | ||
.jekyll-metadata | ||
.sass-cache | ||
_asset_bundler_cache | ||
_site | ||
|
||
# VS Code Workspace | ||
.vscode | ||
*.code-workspace | ||
|
||
# Serving scripts | ||
serve.sh | ||
globalserve.sh | ||
|
||
# Draft files and pages | ||
_drafts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: ruby | ||
cache: bundler | ||
gemfile: docs/Gemfile | ||
script: | ||
- bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml | ||
branches: | ||
only: | ||
# Change this to gh-pages if you're deploying using the gh-pages branch | ||
- main | ||
rvm: | ||
- 2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "github-pages", group: :jekyll_plugins | ||
|
||
gem "tzinfo-data" | ||
gem "wdm", "~> 0.1.0" if Gem.win_platform? | ||
|
||
# If you have any plugins, put them here! | ||
group :jekyll_plugins do | ||
gem "jekyll-redirect-from" | ||
gem "jekyll-paginate" | ||
gem "jekyll-sitemap" | ||
gem "jekyll-gist" | ||
gem "jekyll-feed" | ||
gem "jemoji" | ||
gem "jekyll-include-cache" | ||
gem "jekyll-algolia" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# trwbox.com | ||
# Trent Walraven Resume | ||
|
||
This is a basic readme page for the github for my website, for the github page. I need to fill out the rest of the information for this page, however until then. Please visit [trwbox.com](http://www.trwbox.com) | ||
This is the statically hosted website for Trent Walraven at [trwbox.com](https://www.trwbox.com). There may be pages that can be viewed in the Github markdown viewer, but I suggest going to the website for the best viewing experience. | ||
|
||
## Theme Used | ||
|
||
### [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.