diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 000000000..944880fa1 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.2.0 diff --git a/Gemfile b/Gemfile index b3b1956fc..f24d05f4a 100644 --- a/Gemfile +++ b/Gemfile @@ -2,5 +2,7 @@ source 'https://rubygems.org' gem 'github-pages' gem 'json', '>= 2.0.0' - -gem "webrick", "~> 1.8" +gem 'webrick', '>= 1.8' +gem 'csv', '~> 3.3' +gem 'base64', '~> 0.2.0' +gem 'bigdecimal', '~> 3.1' diff --git a/Gemfile.lock b/Gemfile.lock index 2e71f3824..f77a0774e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,20 +1,23 @@ GEM remote: https://rubygems.org/ specs: - activesupport (7.0.4.3) + activesupport (7.0.7.2) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) addressable (2.8.1) public_suffix (>= 2.0.2, < 6.0) + base64 (0.2.0) + bigdecimal (3.1.9) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.11.1) colorator (1.1.0) - commonmarker (0.23.9) + commonmarker (0.23.10) concurrent-ruby (1.2.2) + csv (3.3.3) dnsruby (1.61.9) simpleidn (~> 0.1) em-websocket (0.5.3) @@ -86,7 +89,7 @@ GEM activesupport (>= 2) nokogiri (>= 1.4) http_parser.rb (0.8.0) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) jekyll (3.9.3) addressable (~> 2.4) @@ -206,14 +209,14 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - mini_portile2 (2.8.1) + mini_portile2 (2.8.9) minima (2.5.1) jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) - minitest (5.18.0) - nokogiri (1.14.3) - mini_portile2 (~> 2.8.0) + minitest (5.19.0) + nokogiri (1.18.9) + mini_portile2 (~> 2.8.2) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) @@ -221,11 +224,11 @@ GEM pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (4.0.7) - racc (1.6.2) + racc (1.8.1) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - rexml (3.2.5) + rexml (3.4.2) rouge (3.26.0) ruby2_keywords (0.0.5) rubyzip (2.3.2) @@ -250,15 +253,18 @@ GEM unf_ext unf_ext (0.0.8.2) unicode-display_width (1.8.0) - webrick (1.8.1) + webrick (1.8.2) PLATFORMS ruby DEPENDENCIES + base64 (~> 0.2.0) + bigdecimal (~> 3.1) + csv (~> 3.3) github-pages json (>= 2.0.0) - webrick (~> 1.8) + webrick (>= 1.8) BUNDLED WITH - 2.3.7 + 2.5.23 diff --git a/_config.yml b/_config.yml index 4481c167a..635db0b94 100644 --- a/_config.yml +++ b/_config.yml @@ -26,3 +26,4 @@ defaults: values: layout: post permalink: /blog/:year/:month/:day/:title/ + image: /images/social/elixir-og-card.jpg diff --git a/_data/elixir-versions.yml b/_data/elixir-versions.yml index e5be50ba9..468bdabbf 100644 --- a/_data/elixir-versions.yml +++ b/_data/elixir-versions.yml @@ -1,10 +1,37 @@ -stable: v1_15 +stable: v1_19 + +v1_19: + name: v1.19 + minimum_otp: 26.0 + recommended_otp: 28.1 + otp_versions: [28, 27, 26] + version: 1.19.4 + +v1_18: + name: v1.18 + minimum_otp: 26.0 + recommended_otp: 27.3.4 + otp_versions: [27, 26, 25] + version: 1.18.4 + +v1_17: + name: v1.17 + minimum_otp: 25.0 + recommended_otp: 27.1.2 + otp_versions: [27, 26, 25] + version: 1.17.3 + +v1_16: + name: v1.16 + minimum_otp: 24.0 + otp_versions: [26, 25, 24] + version: 1.16.3 v1_15: name: v1.15 minimum_otp: 24.0 otp_versions: [26, 25, 24] - version: 1.15.4 + version: 1.15.8 v1_14: name: v1.14 diff --git a/_data/getting-started.yml b/_data/getting-started.yml deleted file mode 100644 index 515e578b9..000000000 --- a/_data/getting-started.yml +++ /dev/null @@ -1,123 +0,0 @@ -- title: Getting Started - dir: /getting-started/ - pages: - - title: Introduction - slug: introduction - - - title: Basic types - slug: basic-types - - - title: Basic operators - slug: basic-operators - - - title: Pattern matching - slug: pattern-matching - - - title: case, cond, and if - slug: case-cond-and-if - - - title: Binaries, strings, and charlists - slug: binaries-strings-and-char-lists - - - title: Keyword lists and maps - slug: keywords-and-maps - - - title: Modules and Functions - slug: modules-and-functions - - - title: Recursion - slug: recursion - - - title: Enumerables and streams - slug: enumerables-and-streams - - - title: Processes - slug: processes - - - title: IO and the file system - slug: io-and-the-file-system - - - title: alias, require, and import - slug: alias-require-and-import - - - title: Module attributes - slug: module-attributes - - - title: Structs - slug: structs - - - title: Protocols - slug: protocols - - - title: Comprehensions - slug: comprehensions - - - title: Sigils - slug: sigils - - - title: try, catch, and rescue - slug: try-catch-and-rescue - - - title: Optional syntax sheet - slug: optional-syntax - - - title: Erlang libraries - slug: erlang-libraries - - - title: Debugging - slug: debugging - - - title: Typespecs and behaviours - slug: typespecs-and-behaviours - - - title: Where to go next - slug: where-to-go-next - -- title: Mix and OTP - dir: /getting-started/mix-otp/ - pages: - - title: Introduction to Mix - slug: introduction-to-mix - - - title: Agent - slug: agent - - - title: GenServer - slug: genserver - - - title: Supervisor and Application - slug: supervisor-and-application - - - title: Dynamic supervisors - slug: dynamic-supervisor - - - title: ETS - slug: ets - - - title: Dependencies and umbrella projects - slug: dependencies-and-umbrella-projects - - - title: Task and gen_tcp - slug: task-and-gen-tcp - - - title: Doctests, patterns and with - slug: docs-tests-and-with - - - title: Distributed tasks and tags - slug: distributed-tasks - - - title: Configuration and releases - slug: config-and-releases - - -- title: Meta-programming in Elixir - dir: /getting-started/meta/ - pages: - - title: Quote and unquote - slug: quote-and-unquote - - - title: Macros - slug: macros - - - title: Domain-specific languages - slug: domain-specific-languages diff --git a/_includes/events.html b/_includes/events.html index e6845ed63..e8ed467c5 100644 --- a/_includes/events.html +++ b/_includes/events.html @@ -1,11 +1,4 @@ -
+ diff --git a/_includes/important-links.html b/_includes/important-links.html index b5f6a72da..c4d5c0702 100644 --- a/_includes/important-links.html +++ b/_includes/important-links.html @@ -1,13 +1,19 @@

Important links

- +
Watch the Elixir
mini-documentary!
@@ -23,15 +29,35 @@

Join the Community

  • @elixirlang on Twitter
  • #elixir on irc.libera.chat
  • Elixir Forum
  • -
  • Elixir on Slack
  • +
  • Elixir on Slack
  • Elixir on Discord
  • -
  • Meetups around the world
  • -
  • Wiki with events and resources maintained by - the community
  • +
  • + IDE/Editor support +
  • +
  • + Meetups around the world +
  • +
  • + Jobs and hiring (community wiki) +
  • +
  • + Events and resources (community wiki) +
  • - Join the Erlang Ecosystem Foundation -
    \ No newline at end of file + Join the Erlang Ecosystem Foundation +
    diff --git a/_includes/mix-otp-preface.html b/_includes/mix-otp-preface.html deleted file mode 100644 index 6354bcdf2..000000000 --- a/_includes/mix-otp-preface.html +++ /dev/null @@ -1,2 +0,0 @@ -> This chapter is part of the Mix and OTP guide and it depends on previous chapters in this guide. -> For more information, read the introduction guide or check out the chapter index in the sidebar. diff --git a/_includes/search.html b/_includes/search.html index 2ab39ede8..9b85975eb 100644 --- a/_includes/search.html +++ b/_includes/search.html @@ -1,15 +1,36 @@ +{% assign stable = site.data.elixir-versions[site.data.elixir-versions.stable].version %} +
    -

    - News: Elixir v1.15 released -

    +

    News: Elixir v1.19.0 released

    diff --git a/_includes/top.html b/_includes/top.html index e030141aa..13ecc8304 100644 --- a/_includes/top.html +++ b/_includes/top.html @@ -38,7 +38,7 @@ - + diff --git a/_layouts/blog.html b/_layouts/blog.html index aa043b029..92a81743d 100644 --- a/_layouts/blog.html +++ b/_layouts/blog.html @@ -7,7 +7,7 @@