Skip to content

Commit

Permalink
Update the script to add the sidebar metadata to the x/readme file af…
Browse files Browse the repository at this point in the history
…ter it's pulled in
  • Loading branch information
webbushka committed Dec 1, 2023
1 parent 1dd07b4 commit 5e8e5cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sync_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e8e5cd

Please sign in to comment.