From 5e8e5cd90a279694c571c3ef2324aef96e024515 Mon Sep 17 00:00:00 2001 From: AJ Webb Date: Fri, 1 Dec 2023 09:54:01 -1000 Subject: [PATCH] Update the script to add the sidebar metadata to the x/readme file after it's pulled in --- sync_script.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sync_script.sh b/sync_script.sh index 60871e8c2..c16908859 100755 --- a/sync_script.sh +++ b/sync_script.sh @@ -65,7 +65,9 @@ for version in "${VERSIONS[@]}"; do done # Add modules page list + cat ../x/README.md | sed 's/\/spec\//\//g' > ./sdk/README.md + echo -e "---\nsidebar_position: 0\n---\n\n$(cat ./sdk/README.md)" > ./sdk/README.md for folder in "sdk"; do if [ "$version" == "main" ]; then