From 9e1c3e066f5f4b4db86e91a08388adfd56f9cfe6 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 3 Oct 2016 17:56:05 -0400 Subject: [PATCH] WIP --- scripts/api-update.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/api-update.sh b/scripts/api-update.sh index 649af31d..c35c0e29 100755 --- a/scripts/api-update.sh +++ b/scripts/api-update.sh @@ -27,10 +27,6 @@ sed -i -- '1s;^;title: API\n;' docs/API.md sed -i -- '1s;^;layout: main\n;' docs/API.md sed -i -- '1s;^;---\n;' docs/API.md -# On-off replacements -sed -i -- 's/#-heap/#heap/g' docs/API.md -sed -i -- 's/#-heap/#heap/g' docs/api/srfi/18.md - # Add Jekyll header and do global replacements cd docs/api for fn in `find . | grep md`; do @@ -44,3 +40,9 @@ for fn in `find . | grep md`; do sed -i -- 's/.md//g' $fn done +# Do any one-off replacements +sed -i -- 's/primitives#)/primitives#section)/g' docs/API.md + +sed -i -- 's/#-heap/#heap/g' docs/API.md +sed -i -- 's/#-heap/#heap/g' docs/api/srfi/18.md +