From 464edcaeb090268d659b1c236f6fc48e96651bf1 Mon Sep 17 00:00:00 2001 From: David Young Date: Mon, 21 Jan 2019 08:54:25 +1300 Subject: [PATCH] Improve markua translation --- manuscript/recipes/wekan.md | 1 + scripts/markdown-to-markua.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manuscript/recipes/wekan.md b/manuscript/recipes/wekan.md index fea6460..2ecb6b1 100644 --- a/manuscript/recipes/wekan.md +++ b/manuscript/recipes/wekan.md @@ -34,6 +34,7 @@ You'll need to know the following: 1. Choose an oauth provider, and obtain a client ID and secret 2. Create wekan.env, and populate with the following variables + ``` OAUTH2_PROXY_CLIENT_ID= OAUTH2_PROXY_CLIENT_SECRET= diff --git a/scripts/markdown-to-markua.sh b/scripts/markdown-to-markua.sh index a9c1718..63755f3 100755 --- a/scripts/markdown-to-markua.sh +++ b/scripts/markdown-to-markua.sh @@ -21,7 +21,8 @@ find manuscript -type f -name "*.md" -print0 | xargs -0 sed -i "s/🎥//g" find manuscript -type f -name "*.md" -print0 | xargs -0 sed -i "s/🎵//g" find manuscript -type f -name "*.md" -print0 | xargs -0 sed -i "s/😁//g" - +# Can't use relative paths in a book, so make all paths static +find manuscript -type f -name "*.md" -print0 | xargs -0 sed -i "s/(\//(https:\/\/geek-cookbook.funkypenguin.co.nz\/)/g"