forked from yousinix/portfolYOU
-
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.
The new testing approach makes it easier to test the theme locally, without the need to build the theme gem through the Rakefile every time a change is made to the theme's files, which happens too often. So, a separate test directory was created with the following files: - _config.yml: a modified version of the original _config.yml - Gemfile: uses the gemspec method from root directory. - .gitignore The old approach's files were removed: - Rakefile - docs/_config.dev.yml The following files were updated; to work with the new approach: - _includes/navbar.html - docs/pages/docs.md - docs/search.json This approach has only one bug which is that the blog permalink is set to docs/blog/ instead of blog/; to avoid breaking the pagination.
- Loading branch information
Showing
8 changed files
with
56 additions
and
30 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
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,13 +1,4 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "portfolyou-jekyll-theme", path: "../" | ||
gem "wdm", ">= 0.1.0" if Gem.win_platform? | ||
|
||
group :jekyll_plugins do | ||
gem "jekyll-default-layout" | ||
gem "jekyll-gist" | ||
gem "jekyll-github-metadata" | ||
gem "jekyll-include-cache" | ||
gem "jekyll-paginate" | ||
gem "jemoji" | ||
end | ||
gem "github-pages", group: :jekyll_plugins | ||
gem 'wdm', '>= 0.1.0' if Gem.win_platform? |
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
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,5 +1,6 @@ | ||
--- | ||
layout: null | ||
permalink: /search.json | ||
--- | ||
[ | ||
{% for post in site.posts %} | ||
|
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,12 @@ | ||
# Local Site Directories | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
|
||
# Ruby Gems | ||
.bundle | ||
Gemfile.lock | ||
|
||
# Log Files | ||
*.log |
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,4 @@ | ||
source "https://rubygems.org" | ||
|
||
gemspec :path => "../" | ||
gem 'wdm', '>= 0.1.0' if Gem.win_platform? |
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