Skip to content

Commit

Permalink
Cleanup two-digit version fallout leftover from 2.10 release
Browse files Browse the repository at this point in the history
Regexes in `make set-version` do not match two-digit release versions.
We don't use two-digit release versions, unless accident happens.

Co-authored-by: Szymon Fiedler <[email protected]>
  • Loading branch information
mostlyobvious and fidel committed Feb 6, 2024
1 parent a185c26 commit 29d7509
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions railseventstore.org/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
require "arbre"

class ArbreTemplate < ::Tilt::Template
def prepare; end
def prepare
end

def precompiled_template(locals)
<<-END
Expand All @@ -29,12 +30,17 @@ def precompiled_template(locals)
latency: 1

set :markdown_engine, :redcarpet
set :markdown, tables: true, autolink: true, fenced_code_blocks: true, with_toc_data: true, no_intra_emphasis: true
set :markdown,
tables: true,
autolink: true,
fenced_code_blocks: true,
with_toc_data: true,
no_intra_emphasis: true

set :res_version_v1, "1.3.1"
set :res_version_v2, "2.10"
set :res_version_v2, "2.14.0"
set :res_version_v3, "3.0.0"
set :res_version, "2.10"
set :res_version, "2.14.0"

page "/"
page "/docs/v1/*", locals: { version: "v1" }, layout: "documentation"
Expand Down

0 comments on commit 29d7509

Please sign in to comment.