From f535ccf49375eaf36af2de7961778aebf77682eb Mon Sep 17 00:00:00 2001 From: lixxbox Date: Sun, 16 Jan 2022 21:13:09 +0100 Subject: [PATCH] docs: add redirect dor configuration --- docs/Gemfile | 1 + docs/_config.yml | 3 +++ docs/configurations/necessary-cfg.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/docs/Gemfile b/docs/Gemfile index 4b3a2bcd..e2c69aa0 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -20,6 +20,7 @@ source "https://rubygems.org" group :jekyll_plugins do gem "jekyll-feed", "~> 0.12" gem "jekyll-remote-theme" + gem "jekyll-redirect-from" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/docs/_config.yml b/docs/_config.yml index c814a998..2fd9d9ec 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -17,3 +17,6 @@ defaults: path: "" # an empty string here means all files in the project values: image: assets/img/rtfm.png + +plugins: + - jekyll-redirect-from \ No newline at end of file diff --git a/docs/configurations/necessary-cfg.md b/docs/configurations/necessary-cfg.md index c659f88a..c0bce0c8 100644 --- a/docs/configurations/necessary-cfg.md +++ b/docs/configurations/necessary-cfg.md @@ -4,6 +4,8 @@ title: Configuration nav_order: 5 has_children: false permalink: /configuration +redirect_from: + - /necessary-configuration --- # Required configuration