-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,046 additions
and
17 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 |
---|---|---|
@@ -1 +1,19 @@ | ||
node_modules | ||
node_modules | ||
.DS_Store | ||
.jekyll-cache | ||
_site | ||
*.gem | ||
*.tgz | ||
package/ | ||
yarn-error.log | ||
package-lock.json | ||
**/.yarn/* | ||
!**/.yarn/patches | ||
!**/.yarn/releases | ||
!**/.yarn/plugins | ||
!**/.yarn/sdks | ||
!**/.yarn/versions | ||
.pnp.* | ||
.nyc_output | ||
coverage | ||
target |
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 @@ | ||
require: rubocop-jekyll | ||
|
||
inherit_gem: | ||
rubocop-jekyll: .rubocop.yml |
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,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
gemspec |
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,3 @@ | ||
# frozen_string_literal: true | ||
|
||
require "bundler/gem_tasks" |
Binary file not shown.
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,22 @@ | ||
# frozen_string_literal: true | ||
|
||
$LOAD_PATH.unshift File.expand_path("lib", __dir__) | ||
require "jekyll-pagebreak/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "jekyll-pagebreak" | ||
spec.version = JekyllPagebreak::VERSION | ||
spec.authors = ["Liam Bigelow"] | ||
spec.email = ["liam@cloudcannon.com"] | ||
spec.homepage = "https://github.com/CloudCannon/pagebreak" | ||
spec.summary = "A Jekyll plugin to paginate the output of any static site generator" | ||
|
||
spec.files = `git ls-files lib exe`.split("\n") | ||
spec.platform = Gem::Platform::RUBY | ||
spec.require_paths = ["lib"] | ||
spec.license = "MIT" | ||
|
||
spec.add_dependency "jekyll", ">= 3.7", "< 5.0" | ||
spec.add_development_dependency "rake", ">= 12.3.3" | ||
spec.add_development_dependency "rubocop-jekyll", "~> 0.5.1" | ||
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# frozen_string_literal: true | ||
|
||
require "jekyll" | ||
|
||
Jekyll::Hooks.register :site, :post_write do |site| | ||
puts "Running pagebreak in-place" | ||
executable = File.expand_path("../../exe/pagebreak", __FILE__) | ||
system("#{executable} -s #{site.dest} -o #{site.dest}") | ||
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module JekyllPagebreak | ||
VERSION = "0.1.0" | ||
end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.