From d89e2f7aadd2cb595cfc2e0720dcd71f28a17cb7 Mon Sep 17 00:00:00 2001 From: Nidhi P Date: Mon, 14 Mar 2022 16:02:40 -0600 Subject: [PATCH 1/3] add a jekyll redirect --- Gemfile | 3 ++- _config.yml | 4 ++++ index.md | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f365161..76ba37c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ source 'https://rubygems.org' gem 'github-pages' -gem 'html-proofer' \ No newline at end of file +gem 'html-proofer' +gem 'jekyll-redirect-from' diff --git a/_config.yml b/_config.yml index 5e24fa3..a0f7766 100644 --- a/_config.yml +++ b/_config.yml @@ -45,6 +45,10 @@ highlighter: rouge # Since these are pages, it doesn't really matter future: true +# +plugins: + - jekyll-redirect-from + # Exclude non-site files exclude: ['bin', 'README.md'] diff --git a/index.md b/index.md index f33e3c5..3edd0ef 100644 --- a/index.md +++ b/index.md @@ -1,6 +1,7 @@ --- layout: with_carousel title: "SCIRun 5 Documentation" +redirect_to: https://scirun.readthedocs.io/en/latest/ --- From 24b1b484be29ddfc16c58f9662c59fbed2cec497 Mon Sep 17 00:00:00 2001 From: Nidhi P Date: Fri, 18 Mar 2022 12:36:53 -0600 Subject: [PATCH 2/3] try html redirect --- index.html | 1 + index.md | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) create mode 100644 index.html delete mode 100644 index.md diff --git a/index.html b/index.html new file mode 100644 index 0000000..4f5a856 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ + diff --git a/index.md b/index.md deleted file mode 100644 index 3edd0ef..0000000 --- a/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: with_carousel -title: "SCIRun 5 Documentation" -redirect_to: https://scirun.readthedocs.io/en/latest/ ---- - - -### SCIRun 5.0 - -[SCIRun](https://github.com/SCIInstitute/SCIRun) is a problem solving environment developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute. - -SCIRun 5 is a complete rewrite of the GUI front end and graphical components of SCIRun 4, including a more stable and efficient middle layer, with support for Python scripting. - -*Warning! SCIRun 5 is beta software, you may use for real science but beware of instability.* From 7cfe7a9092cef8ae72bc198fdde1a76ec7d292fa Mon Sep 17 00:00:00 2001 From: nids2001 Date: Fri, 25 Mar 2022 14:08:01 -0600 Subject: [PATCH 3/3] Redirect pages using jekyll-redirect --- BasicTutorial.md | 1 + SCIRun5ModuleGeneration.md | 1 + build.md | 1 + dev.md | 1 + faq.md | 1 + index.html | 1 - index.md | 14 ++++++++++++++ modules.md | 1 + other.md | 1 + python.md | 1 + specs.md | 1 + start.md | 1 + support.md | 1 + user.md | 1 + 14 files changed, 26 insertions(+), 1 deletion(-) delete mode 100644 index.html create mode 100644 index.md diff --git a/BasicTutorial.md b/BasicTutorial.md index c5af5ed..ac6d936 100644 --- a/BasicTutorial.md +++ b/BasicTutorial.md @@ -3,6 +3,7 @@ title: Basic Tutorial category: info tags: tutorial layout: default_toc +redirect_to: https://scirun.readthedocs.io/en/latest/user_doc/BasicTutorial.html ---