From a422a4349bab0111e70a4b9385629ca15206cfaf Mon Sep 17 00:00:00 2001 From: Alexis Sanchez Date: Mon, 28 Aug 2023 12:11:27 +0200 Subject: [PATCH] fix(types): Update slug for OCPI types documentation This commit updates the slug for the OCPI types documentation in the file `convert.d/2.2.1/16-types.sh` and `website/docs/ocpi/07-types/01-intro.md`. The new slug is `/ocpi/types`. --- convert.d/2.2.1/16-types.sh | 2 +- website/docs/ocpi/07-types/01-intro.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/convert.d/2.2.1/16-types.sh b/convert.d/2.2.1/16-types.sh index ee590de..88b23c7 100755 --- a/convert.d/2.2.1/16-types.sh +++ b/convert.d/2.2.1/16-types.sh @@ -14,7 +14,7 @@ function fix_types() { file="$ROOT/website/docs/ocpi/07-types/01-intro.md" tempfile="$file.tmp" - echo -e "---\nid: intro\nsidebar_position: 07\nslug: /types\n---" | cat - "$file" > "$tempfile" + echo -e "---\nid: intro\nsidebar_position: 07\nslug: /ocpi/types\n---" | cat - "$file" > "$tempfile" mv "$tempfile" "$file" gsed -i 's|^# Types$|# 🔧 Types|g' "$file" diff --git a/website/docs/ocpi/07-types/01-intro.md b/website/docs/ocpi/07-types/01-intro.md index c4e7104..dfc614e 100644 --- a/website/docs/ocpi/07-types/01-intro.md +++ b/website/docs/ocpi/07-types/01-intro.md @@ -1,7 +1,7 @@ --- id: intro sidebar_position: 07 -slug: /types +slug: /ocpi/types --- # 🔧 Types