From 2d81552f56962d43c1485443d3de25dc402771fc Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Sat, 8 Aug 2020 13:44:41 -0400 Subject: [PATCH 01/27] Update .github/config.yml --- .github/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/config.yml b/.github/config.yml index 683f93f160..4b1bcab82f 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -14,7 +14,7 @@ requestInfoLabelToAdd: more-information-needed # Welcome! # Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome -newPRWelcomeComment: Welcome! Congrats on your first pull request to The Cayman Theme. If you haven't already, please be sure to check out [the contributing guidelines](https://github.com/pages-themes/cayman/blob/master/docs/CONTRIBUTING.md). +newPRWelcomeComment: Welcome! Congrats on your first pull request to the Cayman theme. If you haven't already, please be sure to check out [the contributing guidelines](https://github.com/pages-themes/cayman/blob/master/docs/CONTRIBUTING.md). # Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge -firstPRMergeComment: "Congrats on getting your first pull request to The Cayman Theme merged! Without amazing humans like you submitting pull requests, we couldn’t run this project. You rock! :tada:

If you're interested in tackling another bug or feature, take a look at [the open issues](https://github.com/pages-themes/cayman/issues), especially those [labeled `help wanted`](https://github.com/pages-themes/cayman/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)." +firstPRMergeComment: "Congrats on getting your first pull request to the Cayman theme merged! Without amazing humans like you submitting pull requests, we couldn’t run this project. You rock! :tada:

If you're interested in tackling another bug or feature, take a look at [the open issues](https://github.com/pages-themes/cayman/issues), especially those [labeled `help wanted`](https://github.com/pages-themes/cayman/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)." From 22af2e700949b1339ef3a5e9e28f2f91f5f9b4ef Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Sat, 8 Aug 2020 13:44:42 -0400 Subject: [PATCH 02/27] Update docs/SUPPORT.md --- docs/SUPPORT.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/SUPPORT.md b/docs/SUPPORT.md index 68a11debd1..bc5a1ad750 100644 --- a/docs/SUPPORT.md +++ b/docs/SUPPORT.md @@ -1,9 +1,9 @@ ## Where to get help -If you think you've found a bug in The Cayman Theme, please [check the existing issues](https://github.com/pages-themes/cayman/issues), and if no one has reported the problem, [open a new issue](https://github.com/pages-themes/cayman/issues/new). +If you think you've found a bug in the Cayman theme, please [check the existing issues](https://github.com/pages-themes/cayman/issues), and if no one has reported the problem, [open a new issue](https://github.com/pages-themes/cayman/issues/new). -If you have a general question about the theme, how to implement it, or how to customize it for your site you have two options: - -1. [Contact GitHub Support](https://github.com/contact?form%5Bsubject%5D=GitHub%20Pages%20theme%20pages-themes/cayman), or +If you have a general question about the theme, how to implement it, or how to customize it for your site you have two options: +1. Search for your query on [`support.github.com`](https://support.github.com/?q=pages+Cayman+theme), which will also look for similar topics on [`github.community`](https://github.community/search?q=pages+Cayman+theme) 2. Ask your question of the Jekyll community on [talk.jekyllrb.com](https://talk.jekyllrb.com/) +3. [Contact GitHub Support](https://github.com/contact?form%5Bsubject%5D=GitHub%20Pages%20theme%20pages-themes/cayman) From 56b874bd04632bf9b93c9b613204af0ddc01f46e Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Sat, 8 Aug 2020 13:44:43 -0400 Subject: [PATCH 03/27] Update docs/CONTRIBUTING.md --- docs/CONTRIBUTING.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index dc8bc5f1db..7ab87e413e 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -1,8 +1,8 @@ -# Contributing to The Cayman Theme +# Contributing to the Cayman theme -Hi there! We're thrilled that you'd like to contribute to The Cayman Theme. Your help is essential for keeping it great. +Hi there! We're thrilled that you'd like to contribute to the Cayman theme. Your help is essential for keeping it great. -The Cayman Theme is an open source project supported by the efforts of an entire community and built one contribution at a time by users like you. We'd love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated. There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests, helping other users by commenting on issues, or writing code which can be incorporated into The Cayman Theme itself. +the Cayman theme is an open source project supported by the efforts of an entire community and built one contribution at a time by users like you. We'd love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated. There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests, helping other users by commenting on issues, or writing code which can be incorporated into the Cayman theme itself. Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests. @@ -28,7 +28,7 @@ Here are a few tips for writing *great* bug reports: ## How to suggest a feature or enhancement -If you find yourself wishing for a feature that doesn't exist in The Cayman Theme, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that The Cayman Theme has today have been added because our users saw the need. +If you find yourself wishing for a feature that doesn't exist in the Cayman theme, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that the Cayman theme has today have been added because our users saw the need. Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and goals of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible, including describing the problem you're trying to solve. @@ -38,7 +38,7 @@ Feature requests are welcome. But take a moment to find out whether your idea fi ## Your first contribution -We'd love for you to contribute to the project. Unsure where to begin contributing to The Cayman Theme? You can start by looking through these "good first issue" and "help wanted" issues: +We'd love for you to contribute to the project. Unsure where to begin contributing to the Cayman theme? You can start by looking through these "good first issue" and "help wanted" issues: * [Good first issues](https://github.com/pages-themes/cayman/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) - issues which should only require a few lines of code and a test or two * [Help wanted issues](https://github.com/pages-themes/cayman/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) - issues which may be a bit more involved, but are specifically seeking community contributions From 1bcabf8e4c139d46ebe0678998059db53f670caf Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Sat, 8 Aug 2020 14:45:34 -0400 Subject: [PATCH 04/27] Create .github/workflows/ci.yaml --- .github/workflows/ci.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000000..a905595a5b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,14 @@ +on: push +jobs: + build: + runs-on: ubuntu-latest + name: script/cibuild + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-ruby@v1 + with: + ruby-version: 2.7 + - name: build + run: script/bootstrap + - name: test + run: script/cibuild \ No newline at end of file From 9c3e7071552b4b8207bdd6740a93723da24617fc Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 1 Jul 2020 09:48:44 +0300 Subject: [PATCH 05/27] Use `font-display: swap` --- _sass/jekyll-theme-cayman.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sass/jekyll-theme-cayman.scss b/_sass/jekyll-theme-cayman.scss index ac8f297fbe..d3196e4af3 100644 --- a/_sass/jekyll-theme-cayman.scss +++ b/_sass/jekyll-theme-cayman.scss @@ -1,7 +1,7 @@ @import "normalize"; @import "rouge-github"; @import "variables"; -@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700'); +@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap'); @mixin large { @media screen and (min-width: #{$large-breakpoint}) { From 0ce015a071d3e2e752049f98b3de84c4ad10995e Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 1 Jul 2020 10:00:30 +0300 Subject: [PATCH 06/27] Add Google fonts CSS preloading --- _layouts/default.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_layouts/default.html b/_layouts/default.html index 600d3ddb2d..f6aa349448 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -14,6 +14,8 @@ {% seo %} + + From 685322032745060fb4765d9f31220e24069ecdc2 Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 1 Jul 2020 10:16:16 +0300 Subject: [PATCH 07/27] Add Google Fonts url to ignore --- script/cibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cibuild b/script/cibuild index da8f22f35a..5b7fcd752a 100755 --- a/script/cibuild +++ b/script/cibuild @@ -3,7 +3,7 @@ set -e bundle exec jekyll build -bundle exec htmlproofer ./_site --check-html --check-sri +bundle exec htmlproofer ./_site --check-html --check-sri --uri-ignore "https://fonts.gstatic.com" bundle exec rubocop -D bundle exec script/validate-html gem build jekyll-theme-cayman.gemspec From c60bc38cacb7169ddf391ad972a91e09678b826b Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 1 Jul 2020 10:22:29 +0300 Subject: [PATCH 08/27] Fix param --- script/cibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cibuild b/script/cibuild index 5b7fcd752a..abddde454f 100755 --- a/script/cibuild +++ b/script/cibuild @@ -3,7 +3,7 @@ set -e bundle exec jekyll build -bundle exec htmlproofer ./_site --check-html --check-sri --uri-ignore "https://fonts.gstatic.com" +bundle exec htmlproofer ./_site --check-html --check-sri --url-ignore "https://fonts.gstatic.com" bundle exec rubocop -D bundle exec script/validate-html gem build jekyll-theme-cayman.gemspec From 9c5c963705211d60901ccd4c6d4643f54691a6b8 Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Wed, 14 Jul 2021 13:34:01 -0400 Subject: [PATCH 09/27] Update .github/workflows/ci.yaml --- .github/workflows/ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a905595a5b..751e545588 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,7 @@ -on: push +on: + push: + pull_request: + types: [opened, synchronize] jobs: build: runs-on: ubuntu-latest @@ -11,4 +14,4 @@ jobs: - name: build run: script/bootstrap - name: test - run: script/cibuild \ No newline at end of file + run: script/cibuild From ede1917043ec665f4002b7beb0a6ec82bd51e41c Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Thu, 15 Jul 2021 11:31:56 -0400 Subject: [PATCH 10/27] Update .github/settings.yml --- .github/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/settings.yml b/.github/settings.yml index 420815923f..7c1b11592e 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -26,6 +26,6 @@ branch_protection: required_status_checks: strict: true contexts: - - "continuous-integration/travis-ci" + - "script/cibuild" # GitHub Actions CI workflow required_pull_request_reviews: require_code_owner_reviews: true From d6b071a0f4c4905732c7bbaffbcb6b687dae56e8 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 12:41:56 -0400 Subject: [PATCH 11/27] Rely on rubocop-github for Ruby formatting --- .rubocop.yml | 6 +++++- Gemfile | 2 +- jekyll-theme-cayman.gemspec | 26 ++++++++++++++------------ script/validate-html | 12 ++++++------ 4 files changed, 26 insertions(+), 20 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 648dfb112f..67adb70416 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,10 @@ +inherit_gem: + rubocop-github: + - config/default.yml + AllCops: Exclude: - _site/**/* -Metrics/LineLength: +Layout/LineLength: Enabled: false diff --git a/Gemfile b/Gemfile index 7f4f5e950d..be173b205f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ # frozen_string_literal: true -source 'https://rubygems.org' +source "https://rubygems.org" gemspec diff --git a/jekyll-theme-cayman.gemspec b/jekyll-theme-cayman.gemspec index 4a1c2d28f0..8510d8d52b 100644 --- a/jekyll-theme-cayman.gemspec +++ b/jekyll-theme-cayman.gemspec @@ -1,22 +1,24 @@ # frozen_string_literal: true Gem::Specification.new do |s| - s.name = 'jekyll-theme-cayman' - s.version = '0.1.1' - s.license = 'CC0-1.0' - s.authors = ['Jason Long', 'GitHub, Inc.'] - s.email = ['opensource+jekyll-theme-cayman@github.com'] - s.homepage = 'https://github.com/pages-themes/cayman' - s.summary = 'Cayman is a Jekyll theme for GitHub Pages' + s.name = "jekyll-theme-cayman" + s.version = "0.1.1" + s.license = "CC0-1.0" + s.authors = ["Jason Long", "GitHub, Inc."] + s.email = ["opensource+jekyll-theme-cayman@github.com"] + s.homepage = "https://github.com/pages-themes/cayman" + s.summary = "Cayman is a Jekyll theme for GitHub Pages" s.files = `git ls-files -z`.split("\x0").select do |f| f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i) end + s.required_ruby_version = ">= 2.4.0" + s.platform = Gem::Platform::RUBY - s.add_runtime_dependency 'jekyll', '> 3.5', '< 5.0' - s.add_runtime_dependency 'jekyll-seo-tag', '~> 2.0' - s.add_development_dependency 'html-proofer', '~> 3.0' - s.add_development_dependency 'rubocop', '~> 0.50' - s.add_development_dependency 'w3c_validators', '~> 1.3' + s.add_runtime_dependency "jekyll", "> 3.5", "< 5.0" + s.add_runtime_dependency "jekyll-seo-tag", "~> 2.0" + s.add_development_dependency "html-proofer", "~> 3.0" + s.add_development_dependency "rubocop-github", "~> 0.16" + s.add_development_dependency "w3c_validators", "~> 1.3" end diff --git a/script/validate-html b/script/validate-html index df4ec22e75..43d8fca894 100755 --- a/script/validate-html +++ b/script/validate-html @@ -1,13 +1,13 @@ #!/usr/bin/env ruby # frozen_string_literal: true -require 'w3c_validators' +require "w3c_validators" def validator(file) extension = File.extname(file) - if extension == '.html' + if extension == ".html" W3CValidators::NuValidator.new - elsif extension == '.css' + elsif extension == ".css" W3CValidators::CSSValidator.new end end @@ -18,11 +18,11 @@ def validate(file) path = File.expand_path "../_site/#{file}", __dir__ results = validator(file).validate_file(path) - return puts 'Valid!' if results.errors.empty? + return puts "Valid!" if results.errors.empty? results.errors.each { |err| puts err.to_s } exit 1 end -validate 'index.html' -validate File.join 'assets', 'css', 'style.css' +validate "index.html" +validate File.join "assets", "css", "style.css" From 02f4eb0e06f0a12a5bc978749a37274f3c74cbec Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Thu, 15 Jul 2021 12:44:19 -0400 Subject: [PATCH 12/27] Update .github/workflows/ci.yaml --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 751e545588..d9249a5254 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -on: +on: push: pull_request: types: [opened, synchronize] @@ -8,9 +8,10 @@ jobs: name: script/cibuild steps: - uses: actions/checkout@v2 - - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 + bundler-cache: true - name: build run: script/bootstrap - name: test From 45e745d27aa38a2f4546092a15986ee98eea671f Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:23:44 -0400 Subject: [PATCH 13/27] Fix rubocop to work with vendor/ gems --- ...40b622142f1c98125abcfe89a76a661b0e8e343910 | 1 + ...02383fe5c1c117a04f59bc88e1870337e28319a5c7 | 2 + ...b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 | 164 ++++++++++++++++++ ...85d6623883d15f8283453ac4aecac0d6d855a897f8 | 2 + ...1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 | 6 + ...735dcceb8685d6799f8743a0a304dd87212fef8489 | 2 + ...c8996fb92427ae41e4649b934ca495991b7852b855 | 2 + ...f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d | 2 + .rubocop.yml | 1 + script/cibuild | 6 +- 10 files changed, 185 insertions(+), 3 deletions(-) create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 b/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 new file mode 100644 index 0000000000..a02514eeed --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 @@ -0,0 +1 @@ +I"¿{"title"=>"Cayman theme", "description"=>"Cayman is a clean, responsive theme for GitHub Pages.", "show_downloads"=>true, "google_analytics"=>nil, "theme"=>"jekyll-theme-cayman", "source"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/cayman", "destination"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/cayman/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>[], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "serving"=>false}:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 new file mode 100644 index 0000000000..4bce60f766 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 @@ -0,0 +1,2 @@ +I"

Cayman theme

+:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 new file mode 100644 index 0000000000..702cc72ba4 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 @@ -0,0 +1,164 @@ +I"

Text can be bold, italic, or strikethrough.

+ +

Link to another page.

+ +

There should be whitespace between paragraphs.

+ +

There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.

+ +

Header 1

+ +

This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

+ +

Header 2

+ +
+

This is a blockquote following a header.

+ +

When something is important enough, you do it even if the odds are not in your favor.

+
+ +

Header 3

+ +
// Javascript code with syntax highlighting.
+var fun = function lang(l) {
+  dateformat.i18n = require('./lang/' + l)
+  return true;
+}
+
+ +
# Ruby code with syntax highlighting
+GitHubPages::Dependencies.gems.each do |gem, version|
+  s.add_dependency(gem, "= #{version}")
+end
+
+ +

Header 4

+ +
    +
  • This is an unordered list following a header.
  • +
  • This is an unordered list following a header.
  • +
  • This is an unordered list following a header.
  • +
+ +
Header 5
+ +
    +
  1. This is an ordered list following a header.
  2. +
  3. This is an ordered list following a header.
  4. +
  5. This is an ordered list following a header.
  6. +
+ +
Header 6
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
head1head twothree
okgood swedish fishnice
out of stockgood and plentynice
okgood oreoshmm
okgood zoute dropyumm
+ +

There’s a horizontal rule below this.

+ +
+ +

Here is an unordered list:

+ +
    +
  • Item foo
  • +
  • Item bar
  • +
  • Item baz
  • +
  • Item zip
  • +
+ +

And an ordered list:

+ +
    +
  1. Item one
  2. +
  3. Item two
  4. +
  5. Item three
  6. +
  7. Item four
  8. +
+ +

And a nested list:

+ +
    +
  • level 1 item +
      +
    • level 2 item
    • +
    • level 2 item +
        +
      • level 3 item
      • +
      • level 3 item
      • +
      +
    • +
    +
  • +
  • level 1 item +
      +
    • level 2 item
    • +
    • level 2 item
    • +
    • level 2 item
    • +
    +
  • +
  • level 1 item +
      +
    • level 2 item
    • +
    • level 2 item
    • +
    +
  • +
  • level 1 item
  • +
+ +

Small image

+ +

Octocat

+ +

Large image

+ +

Branching

+ +

Definition lists can be used with HTML syntax.

+ +
+
Name
+
Godzilla
+
Born
+
1952
+
Birthplace
+
Japan
+
Color
+
Green
+
+ +
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
+
+ +
The final element.
+
+:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 new file mode 100644 index 0000000000..17e3a0c445 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 @@ -0,0 +1,2 @@ +I"&

This is just another page

+:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 new file mode 100644 index 0000000000..87fb7107f3 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 @@ -0,0 +1,6 @@ +I"v

Welcome to another page

+ +

yay

+ +

back

+:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 new file mode 100644 index 0000000000..cdb6bf4d13 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 @@ -0,0 +1,2 @@ +I"

Another page

+:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 new file mode 100644 index 0000000000..e135808ffe --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 @@ -0,0 +1,2 @@ +I" +:EF \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d new file mode 100644 index 0000000000..7ca77bb4a1 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d @@ -0,0 +1,2 @@ +I"B

Cayman is a clean, responsive theme for GitHub Pages.

+:ET \ No newline at end of file diff --git a/.rubocop.yml b/.rubocop.yml index 67adb70416..15c823df62 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,6 +5,7 @@ inherit_gem: AllCops: Exclude: - _site/**/* + - vendor/**/* Layout/LineLength: Enabled: false diff --git a/script/cibuild b/script/cibuild index abddde454f..cfd21445db 100755 --- a/script/cibuild +++ b/script/cibuild @@ -3,7 +3,7 @@ set -e bundle exec jekyll build -bundle exec htmlproofer ./_site --check-html --check-sri --url-ignore "https://fonts.gstatic.com" -bundle exec rubocop -D +bundle exec htmlproofer ./_site --check-html --check-sri +bundle exec rubocop -D --config .rubocop.yml bundle exec script/validate-html -gem build jekyll-theme-cayman.gemspec +gem build jekyll-theme-time-machine.gemspec From f0ea27b92dfb1eeacfcfe9a507af1a3d0468854d Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:35:12 -0400 Subject: [PATCH 14/27] Remove .jekyll-cache and fix script/cibuild --- .gitignore | 2 + ...40b622142f1c98125abcfe89a76a661b0e8e343910 | 1 - ...02383fe5c1c117a04f59bc88e1870337e28319a5c7 | 2 - ...b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 | 164 ------------------ ...85d6623883d15f8283453ac4aecac0d6d855a897f8 | 2 - ...1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 | 6 - ...735dcceb8685d6799f8743a0a304dd87212fef8489 | 2 - ...c8996fb92427ae41e4649b934ca495991b7852b855 | 2 - ...f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d | 2 - script/cibuild | 2 +- 10 files changed, 3 insertions(+), 182 deletions(-) delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d mode change 100755 => 100644 script/cibuild diff --git a/.gitignore b/.gitignore index 4c972ab54b..cced6c130c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ _site .sass-cache Gemfile.lock *.gem +.jekyll-cache +.jekyll-cache diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 b/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 deleted file mode 100644 index a02514eeed..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 +++ /dev/null @@ -1 +0,0 @@ -I"¿{"title"=>"Cayman theme", "description"=>"Cayman is a clean, responsive theme for GitHub Pages.", "show_downloads"=>true, "google_analytics"=>nil, "theme"=>"jekyll-theme-cayman", "source"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/cayman", "destination"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/cayman/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>[], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "serving"=>false}:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 deleted file mode 100644 index 4bce60f766..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/07/e63b54aa2479fa4f7d9d02383fe5c1c117a04f59bc88e1870337e28319a5c7 +++ /dev/null @@ -1,2 +0,0 @@ -I"

Cayman theme

-:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 deleted file mode 100644 index 702cc72ba4..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/2f/06680ba0e28d4504e307b7cf31ff4eeab58fed49b2543321ed690a0b3619f4 +++ /dev/null @@ -1,164 +0,0 @@ -I"

Text can be bold, italic, or strikethrough.

- -

Link to another page.

- -

There should be whitespace between paragraphs.

- -

There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.

- -

Header 1

- -

This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

- -

Header 2

- -
-

This is a blockquote following a header.

- -

When something is important enough, you do it even if the odds are not in your favor.

-
- -

Header 3

- -
// Javascript code with syntax highlighting.
-var fun = function lang(l) {
-  dateformat.i18n = require('./lang/' + l)
-  return true;
-}
-
- -
# Ruby code with syntax highlighting
-GitHubPages::Dependencies.gems.each do |gem, version|
-  s.add_dependency(gem, "= #{version}")
-end
-
- -

Header 4

- -
    -
  • This is an unordered list following a header.
  • -
  • This is an unordered list following a header.
  • -
  • This is an unordered list following a header.
  • -
- -
Header 5
- -
    -
  1. This is an ordered list following a header.
  2. -
  3. This is an ordered list following a header.
  4. -
  5. This is an ordered list following a header.
  6. -
- -
Header 6
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
head1head twothree
okgood swedish fishnice
out of stockgood and plentynice
okgood oreoshmm
okgood zoute dropyumm
- -

There’s a horizontal rule below this.

- -
- -

Here is an unordered list:

- -
    -
  • Item foo
  • -
  • Item bar
  • -
  • Item baz
  • -
  • Item zip
  • -
- -

And an ordered list:

- -
    -
  1. Item one
  2. -
  3. Item two
  4. -
  5. Item three
  6. -
  7. Item four
  8. -
- -

And a nested list:

- -
    -
  • level 1 item -
      -
    • level 2 item
    • -
    • level 2 item -
        -
      • level 3 item
      • -
      • level 3 item
      • -
      -
    • -
    -
  • -
  • level 1 item -
      -
    • level 2 item
    • -
    • level 2 item
    • -
    • level 2 item
    • -
    -
  • -
  • level 1 item -
      -
    • level 2 item
    • -
    • level 2 item
    • -
    -
  • -
  • level 1 item
  • -
- -

Small image

- -

Octocat

- -

Large image

- -

Branching

- -

Definition lists can be used with HTML syntax.

- -
-
Name
-
Godzilla
-
Born
-
1952
-
Birthplace
-
Japan
-
Color
-
Green
-
- -
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
-
- -
The final element.
-
-:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 deleted file mode 100644 index 17e3a0c445..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/64/1f8e275f7b63ba3688e385d6623883d15f8283453ac4aecac0d6d855a897f8 +++ /dev/null @@ -1,2 +0,0 @@ -I"&

This is just another page

-:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 deleted file mode 100644 index 87fb7107f3..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 +++ /dev/null @@ -1,6 +0,0 @@ -I"v

Welcome to another page

- -

yay

- -

back

-:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 deleted file mode 100644 index cdb6bf4d13..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/b5/04f2674393d66371ff98735dcceb8685d6799f8743a0a304dd87212fef8489 +++ /dev/null @@ -1,2 +0,0 @@ -I"

Another page

-:ET \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 deleted file mode 100644 index e135808ffe..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +++ /dev/null @@ -1,2 +0,0 @@ -I" -:EF \ No newline at end of file diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d deleted file mode 100644 index 7ca77bb4a1..0000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/f4/83c746099a2834442ee1f2c8c56e8ebd2fee68489a86c36ba6bb3850cde53d +++ /dev/null @@ -1,2 +0,0 @@ -I"B

Cayman is a clean, responsive theme for GitHub Pages.

-:ET \ No newline at end of file diff --git a/script/cibuild b/script/cibuild old mode 100755 new mode 100644 index cfd21445db..35ece61d56 --- a/script/cibuild +++ b/script/cibuild @@ -6,4 +6,4 @@ bundle exec jekyll build bundle exec htmlproofer ./_site --check-html --check-sri bundle exec rubocop -D --config .rubocop.yml bundle exec script/validate-html -gem build jekyll-theme-time-machine.gemspec +gem build jekyll-theme-cayman.gemspec From ee7049f62c30ed1401c6f72756f2a084a80606a1 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:40:23 -0400 Subject: [PATCH 15/27] Allow script/cibuild to be executed --- script/cibuild | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 script/cibuild diff --git a/script/cibuild b/script/cibuild old mode 100644 new mode 100755 From cd47cc1f2ab43bd75321d06e56414e5a806ebe4a Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:50:07 -0400 Subject: [PATCH 16/27] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 704e22bc25..ffb58a4e64 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # The Cayman theme -[![Build Status](https://travis-ci.org/pages-themes/cayman.svg?branch=master)](https://travis-ci.org/pages-themes/cayman) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-cayman.svg)](https://badge.fury.io/rb/jekyll-theme-cayman) +[Build Status](https://github.com/pages-themes/cayman/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-cayman.svg)](https://badge.fury.io/rb/jekyll-theme-cayman) *Cayman is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/cayman), or even [use it today](#usage).* @@ -106,4 +106,4 @@ If you'd like to preview the theme locally (for example, in the process of propo ### Running tests -The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` once before the test script will work. +The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` one before the test script will work. From cc44da57a83e790c6470fd54dd752c21c5e18e97 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 13:37:01 -0400 Subject: [PATCH 17/27] Add _sass/cayman.scss to allow importing with theme name while using jekyll-remote-theme --- _sass/cayman.scss | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 _sass/cayman.scss diff --git a/_sass/cayman.scss b/_sass/cayman.scss new file mode 100644 index 0000000000..ff073aa593 --- /dev/null +++ b/_sass/cayman.scss @@ -0,0 +1,4 @@ +// Placeholder file. If your site uses +// @import "{{ site.theme }}"; +// Then using this theme with jekyll-remote-theme will work fine. +@import "jekyll-theme-cayman"; From 50957f2b47ba1bc667c1bca1437164e3d567efa5 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 13:57:43 -0400 Subject: [PATCH 18/27] Fix CI error --- script/cibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cibuild b/script/cibuild index 35ece61d56..ac94edf6ab 100755 --- a/script/cibuild +++ b/script/cibuild @@ -3,7 +3,7 @@ set -e bundle exec jekyll build -bundle exec htmlproofer ./_site --check-html --check-sri +bundle exec htmlproofer ./_site --check-html --check-sri --url-ignore '/fonts.gstatic.com/' bundle exec rubocop -D --config .rubocop.yml bundle exec script/validate-html gem build jekyll-theme-cayman.gemspec From 854f51dae851c3bb4620a61ec9ea0d1db3df8915 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:42:23 -0400 Subject: [PATCH 19/27] Add head-custom.html to allow easier customization of the --- _includes/head-custom-google-analytics.html | 10 ++++++++++ _includes/head-custom.html | 9 +++++++++ _layouts/default.html | 11 +---------- 3 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 _includes/head-custom-google-analytics.html create mode 100644 _includes/head-custom.html diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html new file mode 100644 index 0000000000..8a3ae5c9ca --- /dev/null +++ b/_includes/head-custom-google-analytics.html @@ -0,0 +1,10 @@ +{% if site.google_analytics %} + +{% endif %} diff --git a/_includes/head-custom.html b/_includes/head-custom.html new file mode 100644 index 0000000000..4fd5868017 --- /dev/null +++ b/_includes/head-custom.html @@ -0,0 +1,9 @@ + + + +{% include head-custom-google-analytics.html %} + + + + + diff --git a/_layouts/default.html b/_layouts/default.html index f6aa349448..ba7224fee0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,16 +1,6 @@ - - {% if site.google_analytics %} - - - {% endif %} {% seo %} @@ -20,6 +10,7 @@ + {% include head-custom.html %} Skip to the content. From 40f8f3d16ccd184e13966f9a383e2e691040271b Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Mon, 26 Jul 2021 15:48:51 -0400 Subject: [PATCH 20/27] Update head-custom.html --- _includes/head-custom.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/head-custom.html b/_includes/head-custom.html index 4fd5868017..f7187e79e5 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,9 +1,9 @@ - + {% include head-custom-google-analytics.html %} - + From dab4be0f945545ff0c0ddc20144138b10159c442 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 16:56:16 -0400 Subject: [PATCH 21/27] Update README.md --- README.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ffb58a4e64..06a3b19320 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # The Cayman theme -[Build Status](https://github.com/pages-themes/cayman/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-cayman.svg)](https://badge.fury.io/rb/jekyll-theme-cayman) +[![.github/workflows/ci.yaml](https://github.com/pages-themes/cayman/actions/workflows/ci.yaml/badge.svg)](https://github.com/pages-themes/cayman/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-cayman.svg)](https://badge.fury.io/rb/jekyll-theme-cayman) *Cayman is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/cayman), or even [use it today](#usage).* @@ -13,7 +13,9 @@ To use the Cayman theme: 1. Add the following to your site's `_config.yml`: ```yml - theme: jekyll-theme-cayman + remote_theme: pages-themes/cayman@v0.2.0 + plugins: + - jekyll-remote-theme # add this line to the plugins list if you already have one ``` 2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`: @@ -36,7 +38,7 @@ description: [A short description of your site's purpose] Additionally, you may choose to set the following optional variables: ```yml -show_downloads: ["true" or "false" to indicate whether to provide a download URL] +show_downloads: ["true" or "false" (unquoted) to indicate whether to provide a download URL] google_analytics: [Your Google Analytics tracking ID] ``` @@ -60,10 +62,15 @@ If you'd like to add your own custom styles: If you'd like to change the theme's HTML layout: -1. [Copy the original template](https://github.com/pages-themes/cayman/blob/master/_layouts/default.html) from the theme's repository
(*Pro-tip: click "raw" to make copying easier*) -2. Create a file called `/_layouts/default.html` in your site -3. Paste the default layout content copied in the first step -4. Customize the layout as you'd like +1. For some changes such as a custom `favicon`, you can add custom files in your local `_includes` folder. The files [provided with the theme](https://github.com/pages-themes/cayman/tree/master/_includes) provide a starting point and are included by the [original layout template](https://github.com/pages-themes/cayman/blob/master/_layouts/default.html). +2. For more extensive changes, [copy the original template](https://github.com/pages-themes/cayman/blob/master/_layouts/default.html) from the theme's repository
(*Pro-tip: click "raw" to make copying easier*) +3. Create a file called `/_layouts/default.html` in your site +4. Paste the default layout content copied in the first step +5. Customize the layout as you'd like + +### Customizing Google Analytics code + +Google has released several iterations to their Google Analytics code over the years since this theme was first created. If you would like to take advantage of the latest code, paste it into `_includes/head-custom-google-analytics.html` in your Jekyll site. ### Overriding GitHub-generated URLs @@ -106,4 +113,4 @@ If you'd like to preview the theme locally (for example, in the process of propo ### Running tests -The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` one before the test script will work. +The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` once before the test script will work. From 29f8a343aad3bd9eea1173c01ab45a8a20acd7ff Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 29 Jul 2021 13:39:31 -0400 Subject: [PATCH 22/27] jekyll-theme-cayman gem v0.2.0 --- jekyll-theme-cayman.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll-theme-cayman.gemspec b/jekyll-theme-cayman.gemspec index 8510d8d52b..19aed92357 100644 --- a/jekyll-theme-cayman.gemspec +++ b/jekyll-theme-cayman.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = "jekyll-theme-cayman" - s.version = "0.1.1" + s.version = "0.2.0" s.license = "CC0-1.0" s.authors = ["Jason Long", "GitHub, Inc."] s.email = ["opensource+jekyll-theme-cayman@github.com"] From 3cbd43c70720749071fdf74d3835b847f1e54afb Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Tue, 2 Jan 2024 16:14:27 -0600 Subject: [PATCH 23/27] Create publish-gem.yml --- .github/workflows/publish-gem.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/publish-gem.yml diff --git a/.github/workflows/publish-gem.yml b/.github/workflows/publish-gem.yml new file mode 100644 index 0000000000..e48c355dad --- /dev/null +++ b/.github/workflows/publish-gem.yml @@ -0,0 +1,22 @@ +name: Publish Gem + +on: + release: + types: [released] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '2.7.8' + - name: Build gem + run: | + gem build github-pages.gemspec + - name: Publish + run: | + gem push github-pages.gem --key ${{ secrets.PAGES_GEM_PUBLISH }} From 150ba21a0c4ed92ace5b9d948474f67020f42018 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Wed, 3 Jan 2024 17:44:01 -0600 Subject: [PATCH 24/27] Update publish-gem.yml --- .github/workflows/publish-gem.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-gem.yml b/.github/workflows/publish-gem.yml index e48c355dad..2e939a0181 100644 --- a/.github/workflows/publish-gem.yml +++ b/.github/workflows/publish-gem.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '2.7.8' + ruby-version: '3.2' - name: Build gem run: | gem build github-pages.gemspec From c038c41aeffe05db12014cabcfd0d1d54bdb33eb Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Wed, 3 Jan 2024 17:44:44 -0600 Subject: [PATCH 25/27] Update ci.yaml --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d9249a5254..0323d522ef 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.2 bundler-cache: true - name: build run: script/bootstrap From d46c5dac28802a9233c9af14eb0d6983bf8bb7d7 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Wed, 3 Jan 2024 17:45:06 -0600 Subject: [PATCH 26/27] Update validate-html --- script/validate-html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/validate-html b/script/validate-html index 43d8fca894..8f51642ea5 100755 --- a/script/validate-html +++ b/script/validate-html @@ -20,7 +20,7 @@ def validate(file) return puts "Valid!" if results.errors.empty? - results.errors.each { |err| puts err.to_s } + results.errors.each { |err| puts err } exit 1 end From 74e11c1a57cf38edba26b72801ed65f9eff48bbb Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Fri, 5 Jan 2024 12:59:11 -0600 Subject: [PATCH 27/27] Update CONTRIBUTING.md --- docs/CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 7ab87e413e..de0a5b5e4b 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -77,6 +77,9 @@ At a high level, [the process for proposing changes](https://guides.github.com/i `script/cibuild` +## Publishing Gem +In order to publish the Gem bump the version in *this file*, commit, create a tag with the new version number, and finally push the commit and tag to the repo. + ## Code of conduct This project is governed by [the Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.