From cc5b27701fb59ac97d91d86ddd7a3eb88bea89d8 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Fri, 16 Jan 2026 23:56:12 +0100 Subject: [PATCH 01/23] master -> main --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3e470d..4c58561 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Documentation Site for Errbit This project builds documentation for Errbit by checking out all prior -released versions of Errbit from Git (plus master) and processing the +released versions of Errbit from Git (plus main) and processing the docs folder for each one into its own section. # Building From 6a8684fb36449e68db33ae1f57872db6e9ddb812 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:35:21 +0100 Subject: [PATCH 02/23] Ruby 3.4.8 --- .ruby-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .ruby-version diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..7921bd0 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.4.8 From a8514fa5966d71e423568dcee431a917f6a7fca4 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:35:42 +0100 Subject: [PATCH 03/23] Update gems --- Gemfile.lock | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 78a715b..4a19b30 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,7 +13,8 @@ GEM aws-sdk-resources (2.11.197) aws-sdk-core (= 2.11.197) aws-sigv4 (1.0.3) - byebug (9.0.5) + byebug (13.0.0) + reline (>= 0.6.0) coderay (1.1.1) colorator (1.1.0) colored (1.2) @@ -22,8 +23,9 @@ GEM deep_merge (~> 1.0.0) deep_merge (1.0.1) dotenv (1.0.2) - ffi (1.9.17) + ffi (1.17.3) forwardable-extended (2.6.0) + io-console (0.8.2) jekyll (3.3.1) addressable (~> 2.4) colorator (~> 1.0) @@ -46,10 +48,11 @@ GEM rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) mercenary (0.3.6) - method_source (0.8.2) - mini_portile2 (2.1.0) - nokogiri (1.7.0) - mini_portile2 (~> 2.1.0) + method_source (1.1.0) + mini_portile2 (2.8.9) + nokogiri (1.19.0) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) nokogumbo (1.4.10) nokogiri oga (2.2) @@ -57,22 +60,25 @@ GEM ruby-ll (~> 2.1) pathutil (0.14.0) forwardable-extended (~> 2.6) - pry (0.10.3) - coderay (~> 1.1.0) - method_source (~> 0.8.1) - slop (~> 3.4) - pry-byebug (3.4.0) - byebug (~> 9.0) - pry (~> 0.10) + pry (0.16.0) + coderay (~> 1.1) + method_source (~> 1.0) + reline (>= 0.6.0) + pry-byebug (3.12.0) + byebug (~> 13.0) + pry (>= 0.13, < 0.17) public_suffix (2.0.5) + racc (1.8.1) rb-fsevent (0.9.8) rb-inotify (0.9.7) ffi (>= 0.5.0) + reline (0.6.3) + io-console (~> 0.5) rouge (1.11.1) ruby-ll (2.1.2) ansi ast - rugged (0.21.0) + rugged (1.9.0) s3_website (3.4.0) colored (= 1.2) configure-s3-website (= 2.3.0) @@ -80,7 +86,6 @@ GEM thor (~> 0.18) safe_yaml (1.0.4) sass (3.4.23) - slop (3.6.0) thor (0.20.3) PLATFORMS @@ -97,4 +102,4 @@ DEPENDENCIES s3_website BUNDLED WITH - 1.17.2 + 4.0.4 From fac0d5f041623796b0082ccdef80ed08760cc5ad Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:36:36 +0100 Subject: [PATCH 04/23] Update binstubs --- bin/aws.rb | 12 ++++++++++++ bin/byebug | 12 ++++++++++++ bin/coderay | 12 ++++++++++++ bin/configure-s3-website | 12 ++++++++++++ bin/dotenv | 12 ++++++++++++ 5 files changed, 60 insertions(+) diff --git a/bin/aws.rb b/bin/aws.rb index 3570065..4125adb 100755 --- a/bin/aws.rb +++ b/bin/aws.rb @@ -1,5 +1,6 @@ #!/usr/bin/env ruby # frozen_string_literal: true + # # This file was generated by Bundler. # @@ -11,6 +12,17 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) +bundle_binstub = File.expand_path("../bundle", __FILE__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + require "rubygems" require "bundler/setup" diff --git a/bin/byebug b/bin/byebug index d9bf0f4..16f20bb 100755 --- a/bin/byebug +++ b/bin/byebug @@ -1,5 +1,6 @@ #!/usr/bin/env ruby # frozen_string_literal: true + # # This file was generated by Bundler. # @@ -11,6 +12,17 @@ require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) +bundle_binstub = File.expand_path("../bundle", __FILE__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + require "rubygems" require "bundler/setup" diff --git a/bin/coderay b/bin/coderay index e248d24..f08e818 100755 --- a/bin/coderay +++ b/bin/coderay @@ -1,5 +1,6 @@ #!/usr/bin/env ruby # frozen_string_literal: true + # # This file was generated by Bundler. # @@ -11,6 +12,17 @@ require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) +bundle_binstub = File.expand_path("../bundle", __FILE__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + require "rubygems" require "bundler/setup" diff --git a/bin/configure-s3-website b/bin/configure-s3-website index d391fbf..2cef4c2 100755 --- a/bin/configure-s3-website +++ b/bin/configure-s3-website @@ -1,5 +1,6 @@ #!/usr/bin/env ruby # frozen_string_literal: true + # # This file was generated by Bundler. # @@ -11,6 +12,17 @@ require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) +bundle_binstub = File.expand_path("../bundle", __FILE__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + require "rubygems" require "bundler/setup" diff --git a/bin/dotenv b/bin/dotenv index c563e95..a8ec8c7 100755 --- a/bin/dotenv +++ b/bin/dotenv @@ -1,5 +1,6 @@ #!/usr/bin/env ruby # frozen_string_literal: true + # # This file was generated by Bundler. # @@ -11,6 +12,17 @@ require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) +bundle_binstub = File.expand_path("../bundle", __FILE__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + require "rubygems" require "bundler/setup" From 426e5102485409e35ae8d628cc6b3476fa340430 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:42:39 +0100 Subject: [PATCH 05/23] Replace nokogumbo with nokogiri (nokogumbo was merged in nokogiri) --- .travis.yml | 2 +- Gemfile | 2 +- Gemfile.lock | 7 ++-- bin/bundle | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+), 5 deletions(-) create mode 100755 bin/bundle diff --git a/.travis.yml b/.travis.yml index 7b071c1..e50eaf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,4 @@ script: - docker run -e AWS_ACCESS_KEY_ID="$AWS_ACCESS_KEY_ID" -e AWS_SECRET_ACCESS_KEY="$AWS_SECRET_ACCESS_KEY" --user $UID --volume "$PWD:/srv" errbit-docs-builder bundle exec s3_website push cache: directories: - - vendor/bundle + - vendor/bundle diff --git a/Gemfile b/Gemfile index 9d76d27..b011f3a 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' gem 'dotenv' gem 'jekyll' gem 'kramdown' -gem 'nokogumbo' +gem 'nokogiri' gem 'oga' gem 'pry-byebug' gem 'rugged' diff --git a/Gemfile.lock b/Gemfile.lock index 4a19b30..8648395 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -53,8 +53,8 @@ GEM nokogiri (1.19.0) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogumbo (1.4.10) - nokogiri + nokogiri (1.19.0-x86_64-darwin) + racc (~> 1.4) oga (2.2) ast ruby-ll (~> 2.1) @@ -90,12 +90,13 @@ GEM PLATFORMS ruby + x86_64-darwin-24 DEPENDENCIES dotenv jekyll kramdown - nokogumbo + nokogiri oga pry-byebug rugged diff --git a/bin/bundle b/bin/bundle new file mode 100755 index 0000000..524dfd3 --- /dev/null +++ b/bin/bundle @@ -0,0 +1,105 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'bundle' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require "rubygems" + +m = Module.new do + module_function + + def invoked_as_script? + File.expand_path($0) == File.expand_path(__FILE__) + end + + def env_var_version + ENV["BUNDLER_VERSION"] + end + + def cli_arg_version + return unless invoked_as_script? # don't want to hijack other binstubs + return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` + bundler_version = nil + update_index = nil + ARGV.each_with_index do |a, i| + if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN + bundler_version = a + end + next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ + bundler_version = $1 || ">= 0.a" + update_index = i + end + bundler_version + end + + def gemfile + gemfile = ENV["BUNDLE_GEMFILE"] + return gemfile if gemfile && !gemfile.empty? + + File.expand_path("../../Gemfile", __FILE__) + end + + def lockfile + lockfile = + case File.basename(gemfile) + when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) + else "#{gemfile}.lock" + end + File.expand_path(lockfile) + end + + def lockfile_version + return unless File.file?(lockfile) + lockfile_contents = File.read(lockfile) + return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ + Regexp.last_match(1) + end + + def bundler_version + @bundler_version ||= begin + env_var_version || cli_arg_version || + lockfile_version || "#{Gem::Requirement.default}.a" + end + end + + def load_bundler! + ENV["BUNDLE_GEMFILE"] ||= gemfile + + # must dup string for RG < 1.8 compatibility + activate_bundler(bundler_version.dup) + end + + def activate_bundler(bundler_version) + if Gem::Version.correct?(bundler_version) && Gem::Version.new(bundler_version).release < Gem::Version.new("2.0") + bundler_version = "< 2" + end + gem_error = activation_error_handling do + gem "bundler", bundler_version + end + return if gem_error.nil? + require_error = activation_error_handling do + require "bundler/version" + end + return if require_error.nil? && Gem::Requirement.new(bundler_version).satisfied_by?(Gem::Version.new(Bundler::VERSION)) + warn "Activating bundler (#{bundler_version}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_version}'`" + exit 42 + end + + def activation_error_handling + yield + nil + rescue StandardError, LoadError => e + e + end +end + +m.load_bundler! + +if m.invoked_as_script? + load Gem.bin_path("bundler", "bundle") +end From 0899dc440bbb102bc297bf4bbe947921b781853c Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:43:10 +0100 Subject: [PATCH 06/23] Update git ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d696873..145f669 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /tmp /.sass-cache /.env +/.idea From 7e35e2ba16c0526c63dc1c7931a6d17e43fda018 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:54:45 +0100 Subject: [PATCH 07/23] Fix ruby warnings --- Gemfile | 5 +++++ Gemfile.lock | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/Gemfile b/Gemfile index b011f3a..569d5b3 100644 --- a/Gemfile +++ b/Gemfile @@ -8,3 +8,8 @@ gem 'oga' gem 'pry-byebug' gem 'rugged' gem 's3_website' + +# jekyll-3.3.1/lib/jekyll.rb:25: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 4.0.0. +gem "logger" +# safe_yaml-1.0.4/lib/safe_yaml/transform.rb:1: warning: base64 was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. +gem "base64" diff --git a/Gemfile.lock b/Gemfile.lock index 8648395..11dd369 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,6 +13,7 @@ GEM aws-sdk-resources (2.11.197) aws-sdk-core (= 2.11.197) aws-sigv4 (1.0.3) + base64 (0.3.0) byebug (13.0.0) reline (>= 0.6.0) coderay (1.1.1) @@ -47,6 +48,7 @@ GEM listen (3.0.8) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) + logger (1.7.0) mercenary (0.3.6) method_source (1.1.0) mini_portile2 (2.8.9) @@ -93,9 +95,11 @@ PLATFORMS x86_64-darwin-24 DEPENDENCIES + base64 dotenv jekyll kramdown + logger nokogiri oga pry-byebug From eb9368f1205824ab99dd7c982760b4880e39be8d Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:55:54 +0100 Subject: [PATCH 08/23] Fix ruby warnings --- Gemfile | 2 ++ Gemfile.lock | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 569d5b3..ce6ac87 100644 --- a/Gemfile +++ b/Gemfile @@ -13,3 +13,5 @@ gem 's3_website' gem "logger" # safe_yaml-1.0.4/lib/safe_yaml/transform.rb:1: warning: base64 was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. gem "base64" +# liquid-3.0.6/lib/liquid/standardfilters.rb:2: warning: bigdecimal was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. +gem "bigdecimal" diff --git a/Gemfile.lock b/Gemfile.lock index 11dd369..628dd61 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,6 +14,7 @@ GEM aws-sdk-core (= 2.11.197) aws-sigv4 (1.0.3) base64 (0.3.0) + bigdecimal (4.0.1) byebug (13.0.0) reline (>= 0.6.0) coderay (1.1.1) @@ -96,6 +97,7 @@ PLATFORMS DEPENDENCIES base64 + bigdecimal dotenv jekyll kramdown From 54b95fbd3e1ceac49787c8dd8ca713421f87be6e Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sat, 17 Jan 2026 00:57:46 +0100 Subject: [PATCH 09/23] Fix ruby warnings --- Gemfile | 4 ++++ Gemfile.lock | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Gemfile b/Gemfile index ce6ac87..d30df29 100644 --- a/Gemfile +++ b/Gemfile @@ -15,3 +15,7 @@ gem "logger" gem "base64" # liquid-3.0.6/lib/liquid/standardfilters.rb:2: warning: bigdecimal was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. gem "bigdecimal" +# jekyll-3.3.1/lib/jekyll/site.rb:2: warning: csv was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. +gem "csv" + +gem "rexml" diff --git a/Gemfile.lock b/Gemfile.lock index 628dd61..5b6766c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -23,6 +23,7 @@ GEM configure-s3-website (2.3.0) aws-sdk (~> 2) deep_merge (~> 1.0.0) + csv (3.3.5) deep_merge (1.0.1) dotenv (1.0.2) ffi (1.17.3) @@ -77,6 +78,7 @@ GEM ffi (>= 0.5.0) reline (0.6.3) io-console (~> 0.5) + rexml (3.4.4) rouge (1.11.1) ruby-ll (2.1.2) ansi @@ -98,6 +100,7 @@ PLATFORMS DEPENDENCIES base64 bigdecimal + csv dotenv jekyll kramdown @@ -105,6 +108,7 @@ DEPENDENCIES nokogiri oga pry-byebug + rexml rugged s3_website From 9fc15c4641a2b0f58fcf7662a3eef061d99ab851 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 14:14:02 +0100 Subject: [PATCH 10/23] Ruby 4.0.1 --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index 7921bd0..1454f6e 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.4.8 +4.0.1 From 8d7bc52f89ab25506b1e8cc9149f88c3035656af Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 14:19:27 +0100 Subject: [PATCH 11/23] Fix --- lib/doc_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/doc_parser.rb b/lib/doc_parser.rb index 918c2ab..14c7ef4 100644 --- a/lib/doc_parser.rb +++ b/lib/doc_parser.rb @@ -1,4 +1,4 @@ -require 'nokogumbo' +# require 'nokogumbo' # Kramdown escapes certain HTML tags for unknown reasons, but if there are line # breaks before and after, kramdown understands that these tags are HTML and From 003fc7591e21608eebcde5d2543bc59a4a2a26d2 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 14:19:34 +0100 Subject: [PATCH 12/23] Fix --- lib/doc_builder.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/doc_builder.rb b/lib/doc_builder.rb index 1e6bf25..82a5fab 100644 --- a/lib/doc_builder.rb +++ b/lib/doc_builder.rb @@ -3,7 +3,7 @@ require 'fileutils' require 'oga' -# Walk the github refs looking for all release tags and gathering up all the +# Walk the GitHub refs looking for all release tags and gathering up all the # files from the docs/ folder for each release (plus master). class DocBuilder attr_reader :versions @@ -19,8 +19,8 @@ def run build_tree(tag.target.tree, tag.name.dup) end - master = @repo.branches['master'] - build_tree(master.target.tree, 'master') + main = @repo.branches["main"] + build_tree(main.target.tree, "main") end def build_tree(tree, version) From da96c6033b711d825e68e5d6fdf0917e96c9c661 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 14:31:49 +0100 Subject: [PATCH 13/23] Fix --- lib/doc_builder.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/doc_builder.rb b/lib/doc_builder.rb index 82a5fab..6a734b9 100644 --- a/lib/doc_builder.rb +++ b/lib/doc_builder.rb @@ -100,9 +100,9 @@ def delete_entries(entries) # master first, then descending numerically (by semver semantics) def sort_versions @versions.sort! do |a,b| - if a == 'master' + if a == 'main' -1 - elsif b == 'master' + elsif b == 'main' 1 else va = a.sub(/^v/, '') From c72cedc48c827d03ee95bbc4ad18543135914cf6 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 14:38:01 +0100 Subject: [PATCH 14/23] Update jekyll --- Gemfile | 29 ++++------- Gemfile.lock | 117 ++++++++++++++++++++++++++++----------------- lib/doc_builder.rb | 4 +- lib/doc_parser.rb | 2 +- 4 files changed, 86 insertions(+), 66 deletions(-) diff --git a/Gemfile b/Gemfile index d30df29..df19004 100644 --- a/Gemfile +++ b/Gemfile @@ -1,21 +1,10 @@ -source 'https://rubygems.org' +source "https://rubygems.org" -gem 'dotenv' -gem 'jekyll' -gem 'kramdown' -gem 'nokogiri' -gem 'oga' -gem 'pry-byebug' -gem 'rugged' -gem 's3_website' - -# jekyll-3.3.1/lib/jekyll.rb:25: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 4.0.0. -gem "logger" -# safe_yaml-1.0.4/lib/safe_yaml/transform.rb:1: warning: base64 was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. -gem "base64" -# liquid-3.0.6/lib/liquid/standardfilters.rb:2: warning: bigdecimal was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. -gem "bigdecimal" -# jekyll-3.3.1/lib/jekyll/site.rb:2: warning: csv was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. -gem "csv" - -gem "rexml" +gem "dotenv" +gem "jekyll" +gem "kramdown" +gem "nokogiri" +gem "oga" +gem "pry-byebug" +gem "rugged" +gem "s3_website" diff --git a/Gemfile.lock b/Gemfile.lock index 5b6766c..5b7f989 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,57 +1,84 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.5.0) - public_suffix (~> 2.0, >= 2.0.2) + addressable (2.8.8) + public_suffix (>= 2.0.2, < 8.0) ansi (1.5.0) - ast (2.3.0) - aws-sdk (2.11.197) - aws-sdk-resources (= 2.11.197) - aws-sdk-core (2.11.197) + ast (2.4.3) + aws-eventstream (1.4.0) + aws-sdk (2.11.632) + aws-sdk-resources (= 2.11.632) + aws-sdk-core (2.11.632) aws-sigv4 (~> 1.0) jmespath (~> 1.0) - aws-sdk-resources (2.11.197) - aws-sdk-core (= 2.11.197) - aws-sigv4 (1.0.3) + aws-sdk-resources (2.11.632) + aws-sdk-core (= 2.11.632) + aws-sigv4 (1.12.1) + aws-eventstream (~> 1, >= 1.0.2) base64 (0.3.0) bigdecimal (4.0.1) byebug (13.0.0) reline (>= 0.6.0) - coderay (1.1.1) + coderay (1.1.3) colorator (1.1.0) colored (1.2) + concurrent-ruby (1.3.6) configure-s3-website (2.3.0) aws-sdk (~> 2) deep_merge (~> 1.0.0) csv (3.3.5) deep_merge (1.0.1) dotenv (1.0.2) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) ffi (1.17.3) + ffi (1.17.3-x86_64-darwin) forwardable-extended (2.6.0) + google-protobuf (4.33.4) + bigdecimal + rake (>= 13) + http_parser.rb (0.8.1) + i18n (1.14.8) + concurrent-ruby (~> 1.0) io-console (0.8.2) - jekyll (3.3.1) + jekyll (4.4.1) addressable (~> 2.4) + base64 (~> 0.2) colorator (~> 1.0) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 1.1) - kramdown (~> 1.3) - liquid (~> 3.0) - mercenary (~> 0.3.3) + csv (~> 3.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + json (~> 2.6) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (~> 0.3, >= 0.3.6) pathutil (~> 0.9) - rouge (~> 1.7) + rouge (>= 3.0, < 5.0) safe_yaml (~> 1.0) - jekyll-sass-converter (1.5.0) - sass (~> 3.4) - jekyll-watch (1.5.0) - listen (~> 3.0, < 3.1) - jmespath (1.4.0) - kramdown (1.13.2) - liquid (3.0.6) - listen (3.0.8) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-sass-converter (3.1.0) + sass-embedded (~> 1.75) + jekyll-watch (2.2.1) + listen (~> 3.0) + jmespath (1.6.2) + json (2.18.0) + kramdown (2.5.1) + rexml (>= 3.3.9) + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.10.0) + logger + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) logger (1.7.0) - mercenary (0.3.6) + mercenary (0.4.0) method_source (1.1.0) mini_portile2 (2.8.9) nokogiri (1.19.0) @@ -59,10 +86,10 @@ GEM racc (~> 1.4) nokogiri (1.19.0-x86_64-darwin) racc (~> 1.4) - oga (2.2) + oga (3.4) ast ruby-ll (~> 2.1) - pathutil (0.14.0) + pathutil (0.16.2) forwardable-extended (~> 2.6) pry (0.16.0) coderay (~> 1.1) @@ -71,16 +98,17 @@ GEM pry-byebug (3.12.0) byebug (~> 13.0) pry (>= 0.13, < 0.17) - public_suffix (2.0.5) + public_suffix (7.0.2) racc (1.8.1) - rb-fsevent (0.9.8) - rb-inotify (0.9.7) - ffi (>= 0.5.0) + rake (13.3.1) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) reline (0.6.3) io-console (~> 0.5) rexml (3.4.4) - rouge (1.11.1) - ruby-ll (2.1.2) + rouge (4.7.0) + ruby-ll (2.1.4) ansi ast rugged (1.9.0) @@ -89,26 +117,29 @@ GEM configure-s3-website (= 2.3.0) dotenv (~> 1.0) thor (~> 0.18) - safe_yaml (1.0.4) - sass (3.4.23) + safe_yaml (1.0.5) + sass-embedded (1.97.2) + google-protobuf (~> 4.31) + rake (>= 13) + sass-embedded (1.97.2-x86_64-darwin) + google-protobuf (~> 4.31) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) thor (0.20.3) + unicode-display_width (2.6.0) + webrick (1.9.2) PLATFORMS ruby x86_64-darwin-24 DEPENDENCIES - base64 - bigdecimal - csv dotenv jekyll kramdown - logger nokogiri oga pry-byebug - rexml rugged s3_website diff --git a/lib/doc_builder.rb b/lib/doc_builder.rb index 6a734b9..96d5a14 100644 --- a/lib/doc_builder.rb +++ b/lib/doc_builder.rb @@ -100,9 +100,9 @@ def delete_entries(entries) # master first, then descending numerically (by semver semantics) def sort_versions @versions.sort! do |a,b| - if a == 'main' + if a == "main" -1 - elsif b == 'main' + elsif b == "main" 1 else va = a.sub(/^v/, '') diff --git a/lib/doc_parser.rb b/lib/doc_parser.rb index 14c7ef4..4a368d3 100644 --- a/lib/doc_parser.rb +++ b/lib/doc_parser.rb @@ -1,4 +1,4 @@ -# require 'nokogumbo' +require "nokogiri" # Kramdown escapes certain HTML tags for unknown reasons, but if there are line # breaks before and after, kramdown understands that these tags are HTML and From 59b7e25aa1aac855b80d6c72e00fc0bfc8337def Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 14:43:11 +0100 Subject: [PATCH 15/23] Update --- Dockerfile | 5 +---- Dockerfile.old | 4 ++++ docker-compose.yml | 4 ++++ 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 Dockerfile.old create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile index e9350b0..a8b24c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1 @@ -FROM ruby:2.6-stretch -RUN apt-get update && apt-get install -y cmake openjdk-8-jre -ENV BUNDLE_PATH=vendor/bundle -WORKDIR /srv +FROM caddy:2.10.2 diff --git a/Dockerfile.old b/Dockerfile.old new file mode 100644 index 0000000..e9350b0 --- /dev/null +++ b/Dockerfile.old @@ -0,0 +1,4 @@ +FROM ruby:2.6-stretch +RUN apt-get update && apt-get install -y cmake openjdk-8-jre +ENV BUNDLE_PATH=vendor/bundle +WORKDIR /srv diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..08f3e10 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,4 @@ +services: + caddy: + build: + context: . From 6167a7aafcbbe414e6d599e2c2214008830b343d Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 14:57:41 +0100 Subject: [PATCH 16/23] Update --- Caddyfile | 14 ++++++++++++++ Dockerfile | 10 +++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Caddyfile diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..2b96137 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,14 @@ +{ + auto_https off + persist_config off + metrics + servers { + protocols h1 + } + admin :2019 +} + +http://errbit.com { + root * /www # sets the root of all other directives + file_server # tells Caddy to serve the static files found at the root +} diff --git a/Dockerfile b/Dockerfile index a8b24c8..41e4e73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,9 @@ -FROM caddy:2.10.2 +FROM docker.io/library/caddy:2.10.2 + +COPY Caddyfile /etc/caddy/ + +WORKDIR /www + +COPY _site/ . + +EXPOSE 80/tcp From b1408c61ba2334d8fd7d61f810d1ad76a78a93ac Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 15:20:54 +0100 Subject: [PATCH 17/23] Fix --- .gitignore | 2 ++ Caddyfile | 6 ++++++ docker-compose.yml | 3 +++ 3 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 145f669..e5784c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ +/.jekyll-cache /_site /docs /tmp /.sass-cache /.env /.idea +/.DS_Store diff --git a/Caddyfile b/Caddyfile index 2b96137..5a53b95 100644 --- a/Caddyfile +++ b/Caddyfile @@ -6,8 +6,14 @@ protocols h1 } admin :2019 + debug } +#http://localhost { +# root * /www # sets the root of all other directives +# file_server # tells Caddy to serve the static files found at the root +#} + http://errbit.com { root * /www # sets the root of all other directives file_server # tells Caddy to serve the static files found at the root diff --git a/docker-compose.yml b/docker-compose.yml index 08f3e10..77021a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,3 +2,6 @@ services: caddy: build: context: . + ports: + - "8080:80" + - "2019:2019" From 8c6ae23e231d35bfac99cbe3782f309e275fc647 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 16:14:25 +0100 Subject: [PATCH 18/23] Cleanup --- .bundle/config | 2 -- .travis.yml | 16 ---------------- Dockerfile.old | 4 ---- s3_website.yml | 9 --------- 4 files changed, 31 deletions(-) delete mode 100644 .bundle/config delete mode 100644 .travis.yml delete mode 100644 Dockerfile.old delete mode 100644 s3_website.yml diff --git a/.bundle/config b/.bundle/config deleted file mode 100644 index e66ea7b..0000000 --- a/.bundle/config +++ /dev/null @@ -1,2 +0,0 @@ ---- -BUNDLE_BIN: bin diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e50eaf1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: minimal -services: - - docker -env: - global: - - ERRBIT_PATH=/tmp/errbit -before_script: - - git clone https://github.com/errbit/errbit.git $ERRBIT_PATH - - docker build --tag errbit-docs-builder . - - docker run --user $UID --volume "$PWD:/srv" errbit-docs-builder bundle install -script: - - docker run -e ERRBIT_PATH="$ERRBIT_PATH" --user $UID --volume "$PWD:/srv" --volume "$ERRBIT_PATH:$ERRBIT_PATH" errbit-docs-builder bundle exec jekyll build - - docker run -e AWS_ACCESS_KEY_ID="$AWS_ACCESS_KEY_ID" -e AWS_SECRET_ACCESS_KEY="$AWS_SECRET_ACCESS_KEY" --user $UID --volume "$PWD:/srv" errbit-docs-builder bundle exec s3_website push -cache: - directories: - - vendor/bundle diff --git a/Dockerfile.old b/Dockerfile.old deleted file mode 100644 index e9350b0..0000000 --- a/Dockerfile.old +++ /dev/null @@ -1,4 +0,0 @@ -FROM ruby:2.6-stretch -RUN apt-get update && apt-get install -y cmake openjdk-8-jre -ENV BUNDLE_PATH=vendor/bundle -WORKDIR /srv diff --git a/s3_website.yml b/s3_website.yml deleted file mode 100644 index 6a682e6..0000000 --- a/s3_website.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -s3_bucket: errbit.com -max_age: - "assets/*": 6000 - "*": 300 -gzip: - - .html - - .css - - .js From 79a5686e5cf0903edd6acfa90927b99f7a7cd289 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 16:15:17 +0100 Subject: [PATCH 19/23] Cleanup --- _config.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/_config.yml b/_config.yml index b0e9b30..7a15fd6 100644 --- a/_config.yml +++ b/_config.yml @@ -1,12 +1,14 @@ --- encoding: utf-8 exclude: + - README.md - Gemfile - Gemfile.lock - bin - - s3_website.yml - CNAME - lib + - tmp + - vendor kramdown: input: GFM gfm_quirks: paragraph_end @@ -15,12 +17,3 @@ defaults: - values: layout: "default" -exclude: - - README.md - - Gemfile - - Gemfile.lock - - s3_website.yml - - tmp - - lib - - bin - - vendor From 759a72a48e9d7d50056c08a15d46ade14adcdbe8 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 16:16:17 +0100 Subject: [PATCH 20/23] Remove s3_website gem --- Gemfile | 1 - Gemfile.lock | 23 ----------------------- 2 files changed, 24 deletions(-) diff --git a/Gemfile b/Gemfile index df19004..660c6d7 100644 --- a/Gemfile +++ b/Gemfile @@ -7,4 +7,3 @@ gem "nokogiri" gem "oga" gem "pry-byebug" gem "rugged" -gem "s3_website" diff --git a/Gemfile.lock b/Gemfile.lock index 5b7f989..88144e1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,29 +5,14 @@ GEM public_suffix (>= 2.0.2, < 8.0) ansi (1.5.0) ast (2.4.3) - aws-eventstream (1.4.0) - aws-sdk (2.11.632) - aws-sdk-resources (= 2.11.632) - aws-sdk-core (2.11.632) - aws-sigv4 (~> 1.0) - jmespath (~> 1.0) - aws-sdk-resources (2.11.632) - aws-sdk-core (= 2.11.632) - aws-sigv4 (1.12.1) - aws-eventstream (~> 1, >= 1.0.2) base64 (0.3.0) bigdecimal (4.0.1) byebug (13.0.0) reline (>= 0.6.0) coderay (1.1.3) colorator (1.1.0) - colored (1.2) concurrent-ruby (1.3.6) - configure-s3-website (2.3.0) - aws-sdk (~> 2) - deep_merge (~> 1.0.0) csv (3.3.5) - deep_merge (1.0.1) dotenv (1.0.2) em-websocket (0.5.3) eventmachine (>= 0.12.9) @@ -66,7 +51,6 @@ GEM sass-embedded (~> 1.75) jekyll-watch (2.2.1) listen (~> 3.0) - jmespath (1.6.2) json (2.18.0) kramdown (2.5.1) rexml (>= 3.3.9) @@ -112,11 +96,6 @@ GEM ansi ast rugged (1.9.0) - s3_website (3.4.0) - colored (= 1.2) - configure-s3-website (= 2.3.0) - dotenv (~> 1.0) - thor (~> 0.18) safe_yaml (1.0.5) sass-embedded (1.97.2) google-protobuf (~> 4.31) @@ -125,7 +104,6 @@ GEM google-protobuf (~> 4.31) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - thor (0.20.3) unicode-display_width (2.6.0) webrick (1.9.2) @@ -141,7 +119,6 @@ DEPENDENCIES oga pry-byebug rugged - s3_website BUNDLED WITH 4.0.4 From b3fde0076103837cdbef7528a114be305cd37862 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 16:16:50 +0100 Subject: [PATCH 21/23] Update dotenv gem to 3.2.0 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 88144e1..725f3a6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,7 +13,7 @@ GEM colorator (1.1.0) concurrent-ruby (1.3.6) csv (3.3.5) - dotenv (1.0.2) + dotenv (3.2.0) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) From 4dfe2e8b50c33d026dc492ef762a757fa5003766 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 18:02:58 +0100 Subject: [PATCH 22/23] Remove binstubs --- bin/aws.rb | 29 ----------- bin/bundle | 105 --------------------------------------- bin/bundler | 17 ------- bin/byebug | 29 ----------- bin/coderay | 29 ----------- bin/configure-s3-website | 29 ----------- bin/dotenv | 29 ----------- bin/github-markup | 17 ------- bin/kramdown | 17 ------- bin/listen | 17 ------- bin/nokogiri | 17 ------- bin/rougify | 17 ------- bin/ruby-ll | 17 ------- bin/s3_website | 17 ------- bin/safe_yaml | 17 ------- bin/sass | 17 ------- bin/sass-convert | 17 ------- bin/scss | 17 ------- bin/thor | 17 ------- 19 files changed, 471 deletions(-) delete mode 100755 bin/aws.rb delete mode 100755 bin/bundle delete mode 100755 bin/bundler delete mode 100755 bin/byebug delete mode 100755 bin/coderay delete mode 100755 bin/configure-s3-website delete mode 100755 bin/dotenv delete mode 100755 bin/github-markup delete mode 100755 bin/kramdown delete mode 100755 bin/listen delete mode 100755 bin/nokogiri delete mode 100755 bin/rougify delete mode 100755 bin/ruby-ll delete mode 100755 bin/s3_website delete mode 100755 bin/safe_yaml delete mode 100755 bin/sass delete mode 100755 bin/sass-convert delete mode 100755 bin/scss delete mode 100755 bin/thor diff --git a/bin/aws.rb b/bin/aws.rb deleted file mode 100755 index 4125adb..0000000 --- a/bin/aws.rb +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'aws.rb' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -bundle_binstub = File.expand_path("../bundle", __FILE__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ - load(bundle_binstub) - else - abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") - end -end - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("aws-sdk-core", "aws.rb") diff --git a/bin/bundle b/bin/bundle deleted file mode 100755 index 524dfd3..0000000 --- a/bin/bundle +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'bundle' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "rubygems" - -m = Module.new do - module_function - - def invoked_as_script? - File.expand_path($0) == File.expand_path(__FILE__) - end - - def env_var_version - ENV["BUNDLER_VERSION"] - end - - def cli_arg_version - return unless invoked_as_script? # don't want to hijack other binstubs - return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` - bundler_version = nil - update_index = nil - ARGV.each_with_index do |a, i| - if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN - bundler_version = a - end - next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ - bundler_version = $1 || ">= 0.a" - update_index = i - end - bundler_version - end - - def gemfile - gemfile = ENV["BUNDLE_GEMFILE"] - return gemfile if gemfile && !gemfile.empty? - - File.expand_path("../../Gemfile", __FILE__) - end - - def lockfile - lockfile = - case File.basename(gemfile) - when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) - else "#{gemfile}.lock" - end - File.expand_path(lockfile) - end - - def lockfile_version - return unless File.file?(lockfile) - lockfile_contents = File.read(lockfile) - return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ - Regexp.last_match(1) - end - - def bundler_version - @bundler_version ||= begin - env_var_version || cli_arg_version || - lockfile_version || "#{Gem::Requirement.default}.a" - end - end - - def load_bundler! - ENV["BUNDLE_GEMFILE"] ||= gemfile - - # must dup string for RG < 1.8 compatibility - activate_bundler(bundler_version.dup) - end - - def activate_bundler(bundler_version) - if Gem::Version.correct?(bundler_version) && Gem::Version.new(bundler_version).release < Gem::Version.new("2.0") - bundler_version = "< 2" - end - gem_error = activation_error_handling do - gem "bundler", bundler_version - end - return if gem_error.nil? - require_error = activation_error_handling do - require "bundler/version" - end - return if require_error.nil? && Gem::Requirement.new(bundler_version).satisfied_by?(Gem::Version.new(Bundler::VERSION)) - warn "Activating bundler (#{bundler_version}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_version}'`" - exit 42 - end - - def activation_error_handling - yield - nil - rescue StandardError, LoadError => e - e - end -end - -m.load_bundler! - -if m.invoked_as_script? - load Gem.bin_path("bundler", "bundle") -end diff --git a/bin/bundler b/bin/bundler deleted file mode 100755 index d6107f0..0000000 --- a/bin/bundler +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'bundler' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("bundler", "bundler") diff --git a/bin/byebug b/bin/byebug deleted file mode 100755 index 16f20bb..0000000 --- a/bin/byebug +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'byebug' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -bundle_binstub = File.expand_path("../bundle", __FILE__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ - load(bundle_binstub) - else - abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") - end -end - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("byebug", "byebug") diff --git a/bin/coderay b/bin/coderay deleted file mode 100755 index f08e818..0000000 --- a/bin/coderay +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'coderay' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -bundle_binstub = File.expand_path("../bundle", __FILE__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ - load(bundle_binstub) - else - abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") - end -end - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("coderay", "coderay") diff --git a/bin/configure-s3-website b/bin/configure-s3-website deleted file mode 100755 index 2cef4c2..0000000 --- a/bin/configure-s3-website +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'configure-s3-website' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -bundle_binstub = File.expand_path("../bundle", __FILE__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ - load(bundle_binstub) - else - abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") - end -end - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("configure-s3-website", "configure-s3-website") diff --git a/bin/dotenv b/bin/dotenv deleted file mode 100755 index a8ec8c7..0000000 --- a/bin/dotenv +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'dotenv' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -bundle_binstub = File.expand_path("../bundle", __FILE__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ - load(bundle_binstub) - else - abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") - end -end - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("dotenv", "dotenv") diff --git a/bin/github-markup b/bin/github-markup deleted file mode 100755 index dbe86ee..0000000 --- a/bin/github-markup +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'github-markup' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("github-markup", "github-markup") diff --git a/bin/kramdown b/bin/kramdown deleted file mode 100755 index d4b31f6..0000000 --- a/bin/kramdown +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'kramdown' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("kramdown", "kramdown") diff --git a/bin/listen b/bin/listen deleted file mode 100755 index 65fe244..0000000 --- a/bin/listen +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'listen' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("listen", "listen") diff --git a/bin/nokogiri b/bin/nokogiri deleted file mode 100755 index c1f0ca4..0000000 --- a/bin/nokogiri +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'nokogiri' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("nokogiri", "nokogiri") diff --git a/bin/rougify b/bin/rougify deleted file mode 100755 index a46ae62..0000000 --- a/bin/rougify +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'rougify' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("rouge", "rougify") diff --git a/bin/ruby-ll b/bin/ruby-ll deleted file mode 100755 index b80b724..0000000 --- a/bin/ruby-ll +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'ruby-ll' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("ruby-ll", "ruby-ll") diff --git a/bin/s3_website b/bin/s3_website deleted file mode 100755 index e8ec6c5..0000000 --- a/bin/s3_website +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 's3_website' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("s3_website", "s3_website") diff --git a/bin/safe_yaml b/bin/safe_yaml deleted file mode 100755 index 5979200..0000000 --- a/bin/safe_yaml +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'safe_yaml' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("safe_yaml", "safe_yaml") diff --git a/bin/sass b/bin/sass deleted file mode 100755 index ef9f699..0000000 --- a/bin/sass +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'sass' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("sass", "sass") diff --git a/bin/sass-convert b/bin/sass-convert deleted file mode 100755 index 13936f1..0000000 --- a/bin/sass-convert +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'sass-convert' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("sass", "sass-convert") diff --git a/bin/scss b/bin/scss deleted file mode 100755 index 76c0dce..0000000 --- a/bin/scss +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'scss' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("sass", "scss") diff --git a/bin/thor b/bin/thor deleted file mode 100755 index 63f10e5..0000000 --- a/bin/thor +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true -# -# This file was generated by Bundler. -# -# The application 'thor' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("thor", "thor") From aa46982c86d74e0a33733daf87fd3f7200810eac Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Sun, 18 Jan 2026 18:08:57 +0100 Subject: [PATCH 23/23] Cleanup --- Caddyfile | 3 +-- docker-compose.yml | 1 - lib/doc_builder.rb | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Caddyfile b/Caddyfile index 5a53b95..fc6266a 100644 --- a/Caddyfile +++ b/Caddyfile @@ -5,10 +5,9 @@ servers { protocols h1 } - admin :2019 - debug } +# Uncomment if you want to test changes locally! #http://localhost { # root * /www # sets the root of all other directives # file_server # tells Caddy to serve the static files found at the root diff --git a/docker-compose.yml b/docker-compose.yml index 77021a7..f6a0254 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,4 +4,3 @@ services: context: . ports: - "8080:80" - - "2019:2019" diff --git a/lib/doc_builder.rb b/lib/doc_builder.rb index 96d5a14..be31bf0 100644 --- a/lib/doc_builder.rb +++ b/lib/doc_builder.rb @@ -4,7 +4,7 @@ require 'oga' # Walk the GitHub refs looking for all release tags and gathering up all the -# files from the docs/ folder for each release (plus master). +# files from the docs/ folder for each release (plus main). class DocBuilder attr_reader :versions