From df9e0340afdfbbc1aaa05b218166298de5abae1d Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Mon, 17 Jul 2017 10:42:10 -0400 Subject: [PATCH] Update doc script Redirection works for http://kompose.io/docs/conversion/ but not for http://kompose.io/docs/conversion.md which is what I originally intended. This PR updates the script to redirect all `.md` doc links. --- script/sync-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/sync-docs.sh b/script/sync-docs.sh index e7329e55..41f76319 100755 --- a/script/sync-docs.sh +++ b/script/sync-docs.sh @@ -65,7 +65,7 @@ for filename in *.md; do jekyll="--- layout: default permalink: /$name/ -redirect_from: \"/docs/$name/\" +redirect_from: \"/docs/$name.md\" --- " echo -e "$jekyll\n$(cat $filename)" > $filename