You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by dz...@apache.org on 2021/08/27 04:10:15 UTC

[drill-site] branch master updated: Add Gemfile and remove unused jekyll-redirect-from.

This is an automated email from the ASF dual-hosted git repository.

dzamo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 5fe7002  Add Gemfile and remove unused jekyll-redirect-from.
5fe7002 is described below

commit 5fe7002f1b105432173db5a1b9743cfd5145cae7
Author: James Turton <ja...@somecomputer.xyz>
AuthorDate: Fri Aug 27 06:09:49 2021 +0200

    Add Gemfile and remove unused jekyll-redirect-from.
---
 .gitignore   | 10 ++-------
 Gemfile      | 11 ++++++++++
 Gemfile.lock | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 README.md    | 19 -----------------
 _config.yml  |  1 -
 5 files changed, 83 insertions(+), 28 deletions(-)

diff --git a/.gitignore b/.gitignore
index 61fd70b..d762556 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+.bundle
+vendor
 .jekyll-metadata
 _site/*
 .sass-cache/*
@@ -16,12 +18,4 @@ target/
 *.patch
 *~
 git.properties
-contrib/native/client/build/
-contrib/native/client/build/*
-CMakeCache.txt
-CMakeFiles
-Makefile
-cmake_install.cmake
-install_manifest.txt
 *.swp
-exec/jdbc-all/dependency-reduced-pom.xml
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..dc46896
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+source "https://rubygems.org"
+
+git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
+
+# gem "rails"
+
+gem "jekyll", "~> 4.2"
+
+gem "jekyll-polyglot", "~> 1.5"
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 0000000..3977062
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,70 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    addressable (2.8.0)
+      public_suffix (>= 2.0.2, < 5.0)
+    colorator (1.1.0)
+    concurrent-ruby (1.1.9)
+    em-websocket (0.5.2)
+      eventmachine (>= 0.12.9)
+      http_parser.rb (~> 0.6.0)
+    eventmachine (1.2.7)
+    ffi (1.15.3)
+    forwardable-extended (2.6.0)
+    http_parser.rb (0.6.0)
+    i18n (1.8.10)
+      concurrent-ruby (~> 1.0)
+    jekyll (4.2.0)
+      addressable (~> 2.4)
+      colorator (~> 1.0)
+      em-websocket (~> 0.5)
+      i18n (~> 1.0)
+      jekyll-sass-converter (~> 2.0)
+      jekyll-watch (~> 2.0)
+      kramdown (~> 2.3)
+      kramdown-parser-gfm (~> 1.0)
+      liquid (~> 4.0)
+      mercenary (~> 0.4.0)
+      pathutil (~> 0.9)
+      rouge (~> 3.0)
+      safe_yaml (~> 1.0)
+      terminal-table (~> 2.0)
+    jekyll-polyglot (1.5.0)
+      jekyll (>= 3.0)
+    jekyll-sass-converter (2.1.0)
+      sassc (> 2.0.1, < 3.0)
+    jekyll-watch (2.2.1)
+      listen (~> 3.0)
+    kramdown (2.3.1)
+      rexml
+    kramdown-parser-gfm (1.1.0)
+      kramdown (~> 2.0)
+    liquid (4.0.3)
+    listen (3.7.0)
+      rb-fsevent (~> 0.10, >= 0.10.3)
+      rb-inotify (~> 0.9, >= 0.9.10)
+    mercenary (0.4.0)
+    pathutil (0.16.2)
+      forwardable-extended (~> 2.6)
+    public_suffix (4.0.6)
+    rb-fsevent (0.11.0)
+    rb-inotify (0.10.1)
+      ffi (~> 1.0)
+    rexml (3.2.5)
+    rouge (3.26.0)
+    safe_yaml (1.0.5)
+    sassc (2.4.0)
+      ffi (~> 1.9)
+    terminal-table (2.0.0)
+      unicode-display_width (~> 1.1, >= 1.1.1)
+    unicode-display_width (1.7.0)
+
+PLATFORMS
+  x86_64-linux
+
+DEPENDENCIES
+  jekyll (~> 4.2)
+  jekyll-polyglot (~> 1.5)
+
+BUNDLED WITH
+   2.2.5
diff --git a/README.md b/README.md
index e230317..8da4aa3 100644
--- a/README.md
+++ b/README.md
@@ -107,25 +107,6 @@ date:
 
 Do not fill in or alter the date: field. Jekyll and git take care of that when you commit the file.
 
-## One Time Setup for Redirecting gh-pages
-
-Locally install the `jekyll-redirect-from` gem:
-
-```
-gem install jekyll-redirect-from
-```
-
-On any page you want to redirect, add the redirect_to: and the URL to the front matter. For example:
-
-```
----
-title: "Configuring Multitenant Resources"
-parent: "Configuring a Multitenant Cluster"
-date:
-redirect_to:
-  - http://<new_url>
----
-```
 # Multilingual
 
 Multilingual support was added to the website in June 2021 using the polyglot Jekyll plugin.  The fallback language is set to English which means that when a translated page is not available the English version will be shown.   This means that a language which is incompletely translated is still deployable with no adverse effects.
diff --git a/_config.yml b/_config.yml
index 88a65c6..af15cc6 100644
--- a/_config.yml
+++ b/_config.yml
@@ -30,7 +30,6 @@ sass:
   style: :compressed
 
 plugins:
-  - jekyll-redirect-from
   - jekyll-polyglot
 
 include: