From 697146f33ad7289dcddfd75db70465befa36a1c1 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sun, 31 Jan 2021 04:05:34 +0100 Subject: [PATCH 01/22] Setup theme-color in head tags This is picked up by browsers (mostly mobile browsers) and used e.g. to style the browser header. This is of great use especially for dark themes. closes #67 --- _layouts/default.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_layouts/default.html b/_layouts/default.html index aa651986a26..80093a456a8 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,6 +5,10 @@ + + + + {% seo %} From 074ccd198c88b10c0363cd29371dd52c387b5aab Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Wed, 14 Jul 2021 13:34:29 -0400 Subject: [PATCH 02/22] Update .github/workflows/ci.yaml --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 03fc0996aaa..751e5455889 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 From dd8bde5e81024c1c53692a03779b88f16d230baf Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Thu, 15 Jul 2021 11:32:07 -0400 Subject: [PATCH 03/22] 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 420815923f6..7c1b11592e1 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 3dd804692e9ed3a8675d43fa6a8e7f9f770b8188 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 12:40:38 -0400 Subject: [PATCH 04/22] Rely on rubocop-github for Ruby formatting --- .rubocop.yml | 9 +++++---- Gemfile | 2 +- jekyll-theme-hacker.gemspec | 26 ++++++++++++++------------ script/validate-html | 12 ++++++------ 4 files changed, 26 insertions(+), 23 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 883e26e368c..67adb70416a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,9 +1,10 @@ +inherit_gem: + rubocop-github: + - config/default.yml + AllCops: Exclude: - _site/**/* -Metrics/LineLength: - Enabled: false - -Gemspec/RequiredRubyVersion: +Layout/LineLength: Enabled: false diff --git a/Gemfile b/Gemfile index 7f4f5e950d1..be173b205f7 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-hacker.gemspec b/jekyll-theme-hacker.gemspec index 36f9073196f..0464ddc223b 100644 --- a/jekyll-theme-hacker.gemspec +++ b/jekyll-theme-hacker.gemspec @@ -1,22 +1,24 @@ # frozen_string_literal: true Gem::Specification.new do |s| - s.name = 'jekyll-theme-hacker' - s.version = '0.1.2' - s.license = 'CC0-1.0' - s.authors = ['Jason Costello', 'GitHub, Inc.'] - s.email = ['opensource+jekyll-theme-hacker@github.com'] - s.homepage = 'https://github.com/pages-themes/hacker' - s.summary = 'Hacker is a Jekyll theme for GitHub Pages' + s.name = "jekyll-theme-hacker" + s.version = "0.1.2" + s.license = "CC0-1.0" + s.authors = ["Jason Costello", "GitHub, Inc."] + s.email = ["opensource+jekyll-theme-hacker@github.com"] + s.homepage = "https://github.com/pages-themes/hacker" + s.summary = "Hacker 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 df4ec22e75a..43d8fca8945 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 ce82bec8cefb4b746c3ab7e3279627e7dac6d74d Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Thu, 15 Jul 2021 12:44:39 -0400 Subject: [PATCH 05/22] 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 751e5455889..d9249a52545 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 42645df761f575f79e7301d2347dcbdee21a8eb8 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:24:07 -0400 Subject: [PATCH 06/22] Fix rubocop to work with vendor/ gems --- ...40b622142f1c98125abcfe89a76a661b0e8e343910 | 1 + ...414ac85400b69176e0ef6f4928f74df96f2dbab25e | 164 ++++++++++++++++++ ...f1482881e8d7fbe1db52164ec903a8ccb9f4fc254e | 2 + ...1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 | 6 + ...0b56f4fed73dd469e64dc4bc3e17b277407ee85469 | 2 + ...c8996fb92427ae41e4649b934ca495991b7852b855 | 2 + .rubocop.yml | 1 + script/cibuild | 4 +- 8 files changed, 180 insertions(+), 2 deletions(-) create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 create mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 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 00000000000..8872bcc93c4 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 @@ -0,0 +1 @@ +I"�{"title"=>"Hacker theme", "description"=>"Hacker is a theme for GitHub Pages.", "show_downloads"=>true, "google_analytics"=>nil, "theme"=>"jekyll-theme-hacker", "source"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/hacker", "destination"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/hacker/_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/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e new file mode 100644 index 00000000000..aecb66f7107 --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e @@ -0,0 +1,164 @@ +I"P

Text can be bold, italic, strikethrough or keyword.

+ +

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/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e new file mode 100644 index 00000000000..116a4506b1b --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e @@ -0,0 +1,2 @@ +I"0

Hacker is a theme for GitHub Pages.

+: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 00000000000..87fb7107f37 --- /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/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 new file mode 100644 index 00000000000..d02bf72803d --- /dev/null +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 @@ -0,0 +1,2 @@ +I"

Hacker theme

+: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 00000000000..e135808ffea --- /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/.rubocop.yml b/.rubocop.yml index 67adb70416a..15c823df623 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 ad3c614554d..cfd21445db0 100755 --- a/script/cibuild +++ b/script/cibuild @@ -4,6 +4,6 @@ set -e bundle exec jekyll build bundle exec htmlproofer ./_site --check-html --check-sri -bundle exec rubocop -D +bundle exec rubocop -D --config .rubocop.yml bundle exec script/validate-html -gem build jekyll-theme-hacker.gemspec +gem build jekyll-theme-time-machine.gemspec From 71e2e9b588ffe1f9d1839f69bfde90a751958b01 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:36:03 -0400 Subject: [PATCH 07/22] Remove .jekyll-cache and fix script/cibuild --- .gitignore | 1 + ...40b622142f1c98125abcfe89a76a661b0e8e343910 | 1 - ...414ac85400b69176e0ef6f4928f74df96f2dbab25e | 164 ------------------ ...f1482881e8d7fbe1db52164ec903a8ccb9f4fc254e | 2 - ...1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 | 6 - ...0b56f4fed73dd469e64dc4bc3e17b277407ee85469 | 2 - ...c8996fb92427ae41e4649b934ca495991b7852b855 | 2 - script/cibuild | 2 +- 8 files changed, 2 insertions(+), 178 deletions(-) delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/7b/a6a87a3786354065eb2e1de697a5bccad4d621e1201c38b8ae4fed6a8a9dd1 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 delete mode 100644 .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/e3/b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mode change 100755 => 100644 script/cibuild diff --git a/.gitignore b/.gitignore index 4c972ab54b0..822d5aaf017 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ _site .sass-cache Gemfile.lock *.gem +.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 8872bcc93c4..00000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 +++ /dev/null @@ -1 +0,0 @@ -I"�{"title"=>"Hacker theme", "description"=>"Hacker is a theme for GitHub Pages.", "show_downloads"=>true, "google_analytics"=>nil, "theme"=>"jekyll-theme-hacker", "source"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/hacker", "destination"=>"/Users/parkr/github/pages-themes-maintenance-scripts/repos/hacker/_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/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e deleted file mode 100644 index aecb66f7107..00000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/40/0bf066babc9ca325e8a3414ac85400b69176e0ef6f4928f74df96f2dbab25e +++ /dev/null @@ -1,164 +0,0 @@ -I"P

Text can be bold, italic, strikethrough or keyword.

- -

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/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e deleted file mode 100644 index 116a4506b1b..00000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/5a/f69dcdc03872b641035cf1482881e8d7fbe1db52164ec903a8ccb9f4fc254e +++ /dev/null @@ -1,2 +0,0 @@ -I"0

Hacker is a theme for GitHub Pages.

-: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 87fb7107f37..00000000000 --- 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/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 b/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 deleted file mode 100644 index d02bf72803d..00000000000 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/c0/4247c0c170f2781879600b56f4fed73dd469e64dc4bc3e17b277407ee85469 +++ /dev/null @@ -1,2 +0,0 @@ -I"

Hacker theme

-: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 e135808ffea..00000000000 --- 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/script/cibuild b/script/cibuild old mode 100755 new mode 100644 index cfd21445db0..308ad64a91b --- 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-hacker.gemspec From 7939bab34dc45d8749a53a7cb5a97cc688d9665c Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:40:33 -0400 Subject: [PATCH 08/22] 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 b37cc36628d1e1f90faee54bf8a54976c6042580 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 15 Jul 2021 14:50:15 -0400 Subject: [PATCH 09/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 424e1097347..786caf45c2a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # The Hacker theme -[![Build Status](https://travis-ci.org/pages-themes/hacker.svg?branch=master)](https://travis-ci.org/pages-themes/hacker) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-hacker) +[Build Status](https://github.com/pages-themes/hacker/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-hacker) *Hacker is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/hacker), or even [use it today](#usage).* From 8bad3b7eeec13f665ab40c94c128a888f969963c Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Fri, 16 Jul 2021 18:57:19 +0200 Subject: [PATCH 10/22] Add head-custom.html include, factor out theme-color setting. --- _includes/head-custom-theme-colors.html | 5 +++++ _includes/head-custom.html | 9 +++++++++ _layouts/default.html | 5 +---- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 _includes/head-custom-theme-colors.html create mode 100644 _includes/head-custom.html diff --git a/_includes/head-custom-theme-colors.html b/_includes/head-custom-theme-colors.html new file mode 100644 index 00000000000..a30e7084adf --- /dev/null +++ b/_includes/head-custom-theme-colors.html @@ -0,0 +1,5 @@ + + + + + diff --git a/_includes/head-custom.html b/_includes/head-custom.html new file mode 100644 index 00000000000..94fd40b382e --- /dev/null +++ b/_includes/head-custom.html @@ -0,0 +1,9 @@ + + + +{% include head-custom-theme-colors.html %} + + + + + diff --git a/_layouts/default.html b/_layouts/default.html index 80093a456a8..db8218fbc46 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,10 +5,7 @@ - - - - + {% include head-custom.html %} {% seo %} From 42af5b53f29ddcb214d3317cde7cef5464052b23 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Fri, 16 Jul 2021 19:10:08 +0200 Subject: [PATCH 11/22] Improve comment in `head-custom.html` Co-authored-by: Parker Moore <237985+parkr@users.noreply.github.com> --- _includes/head-custom.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/head-custom.html b/_includes/head-custom.html index 94fd40b382e..eae554404ee 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,4 +1,4 @@ - + {% include head-custom-theme-colors.html %} From 0f99774a0aa2ebab38ae69aa27a372ccece5d958 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Fri, 16 Jul 2021 19:12:57 +0200 Subject: [PATCH 12/22] README: Add hint on how to customize by providing _includes. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 786caf45c2a..69a8265f642 100644 --- a/README.md +++ b/README.md @@ -60,10 +60,11 @@ 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/hacker/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/hacker/tree/master/_includes) provide a starting point and are included by the [original layout template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html). +2. For more invasive changes, [copy the original template](https://github.com/pages-themes/hacker/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 ### Overriding GitHub-generated URLs From bc5732f4b33f2ae47f9e5d8d6595e54318d2fef6 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sun, 18 Jul 2021 03:02:15 +0200 Subject: [PATCH 13/22] Improve wording in README. Co-authored-by: Parker Moore <237985+parkr@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 69a8265f642..f4e3582e316 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ If you'd like to add your own custom styles: If you'd like to change the theme's HTML layout: 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/hacker/tree/master/_includes) provide a starting point and are included by the [original layout template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html). -2. For more invasive changes, [copy the original template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html) from the theme's repository
(*Pro-tip: click "raw" to make copying easier*) +2. For more extensive changes, [copy the original template](https://github.com/pages-themes/hacker/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 From 61560906e02cec2d53a76262fb5cecc0dd031f2b Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 13:46:13 -0400 Subject: [PATCH 14/22] Add _sass/hacker.scss to allow importing with theme name while using jekyll-remote-theme --- _sass/hacker.scss | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 _sass/hacker.scss diff --git a/_sass/hacker.scss b/_sass/hacker.scss new file mode 100644 index 00000000000..b535d24dfbb --- /dev/null +++ b/_sass/hacker.scss @@ -0,0 +1,4 @@ +// Placeholder file. If your site uses +// @import "https://github.com/%7B%7B%20site.theme%20%7D%7D"; +// Then using this theme with jekyll-remote-theme will work fine. +@import "https://github.com/jekyll-theme-hacker"; From fd3f6c12e1afb2f3470be50fb8b97fa4d451f068 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:47:03 -0400 Subject: [PATCH 15/22] Add head-custom.html to allow easier customization of the --- _includes/head-custom-google-analytics.html | 10 ++++++++++ _includes/head-custom.html | 7 +++++-- _layouts/default.html | 11 ----------- 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 _includes/head-custom-google-analytics.html diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html new file mode 100644 index 00000000000..8a3ae5c9ca1 --- /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 index eae554404ee..44cdb83f523 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,9 +1,12 @@ - + {% include head-custom-theme-colors.html %} - + +{% include head-custom-google-analytics.html %} + + diff --git a/_layouts/default.html b/_layouts/default.html index db8218fbc46..1c8c883a480 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -34,16 +34,5 @@

{{ site.description | default: site.github.project_tagline }}

{{ content }} - - {% if site.google_analytics %} - - {% endif %} From c21f95f2056cbb4ed4f6a4ece5512f581fed6537 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 16:56:22 -0400 Subject: [PATCH 16/22] Update README.md --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f4e3582e316..4c2fac074ba 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # The Hacker theme -[Build Status](https://github.com/pages-themes/hacker/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-hacker) +[![.github/workflows/ci.yaml](https://github.com/pages-themes/hacker/actions/workflows/ci.yaml/badge.svg)](https://github.com/pages-themes/hacker/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-hacker) *Hacker is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/hacker), or even [use it today](#usage).* @@ -13,7 +13,9 @@ To use the Hacker theme: 1. Add the following to your site's `_config.yml`: ```yml - theme: jekyll-theme-hacker + remote_theme: pages-themes/hacker@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] ``` @@ -66,6 +68,10 @@ If you'd like to change the theme's HTML layout: 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 Templates often rely on URLs supplied by GitHub such as links to your repository or links to download your project. If you'd like to override one or more default URLs: @@ -107,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 4c942506cf8d5329a9cbc66b1eff75ad86a49e34 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 29 Jul 2021 13:56:34 -0400 Subject: [PATCH 17/22] jekyll-theme-hacker :gem: v0.2.0 --- jekyll-theme-hacker.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll-theme-hacker.gemspec b/jekyll-theme-hacker.gemspec index 0464ddc223b..893e841f9b8 100644 --- a/jekyll-theme-hacker.gemspec +++ b/jekyll-theme-hacker.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = "jekyll-theme-hacker" - s.version = "0.1.2" + s.version = "0.2.0" s.license = "CC0-1.0" s.authors = ["Jason Costello", "GitHub, Inc."] s.email = ["opensource+jekyll-theme-hacker@github.com"] From dbea24696ef7bd27b8d317389b4b1f64af26c7b8 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Tue, 2 Jan 2024 16:07:20 -0600 Subject: [PATCH 18/22] 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 00000000000..e48c355dad2 --- /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 5cea62c2f6098ba8876c1ca80efc716bb1b92959 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Wed, 3 Jan 2024 17:32:04 -0600 Subject: [PATCH 19/22] 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 e48c355dad2..2e939a01811 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 58bf1e75a6e881a23ed7f4922b5b0465b0039573 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Wed, 3 Jan 2024 17:34:55 -0600 Subject: [PATCH 20/22] 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 d9249a52545..0323d522ef3 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 91732ecd65d9a368c1275aecda9c1dca2365ca3d Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Wed, 3 Jan 2024 17:36:09 -0600 Subject: [PATCH 21/22] 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 43d8fca8945..8f51642ea54 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 b14e2cb56a0f94b0f4f15e3bc3c5a1569c3fde26 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Fri, 5 Jan 2024 12:48:59 -0600 Subject: [PATCH 22/22] Update CONTRIBUTING.md --- docs/CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 37bc385828b..f59423126a9 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.