Skip to content

Commit

Permalink
fix(types): Update slug for OCPI types documentation
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
Alexis Sanchez committed Aug 28, 2023
1 parent b25308e commit a422a43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion convert.d/2.2.1/16-types.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/ocpi/07-types/01-intro.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: intro
sidebar_position: 07
slug: /types
slug: /ocpi/types
---
# 🔧 Types

Expand Down

0 comments on commit a422a43

Please sign in to comment.