diff --git a/docs/.gitignore b/docs/.gitignore index 62a6ce240d..76a7583077 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -9,6 +9,7 @@ .cache-loader .vercel /static/img/*.svg +/static/img/*.png vercel.json # Misc diff --git a/docs/convert-ascii-to-svg.sh b/docs/convert-ascii-to-svg.sh index 097beae8c3..8c3edc4933 100755 --- a/docs/convert-ascii-to-svg.sh +++ b/docs/convert-ascii-to-svg.sh @@ -11,11 +11,11 @@ output_dir=static/img mkdir -p "$output_dir" while read -r bob_file; do - svg_file=$(basename "${bob_file%.*}".svg) - svgbob "$bob_file" --output "$output_dir/$svg_file" + out_file=$(basename "${bob_file%.*}".svg) + svgbob "$bob_file" --output "$output_dir/$out_file" done < <(find art/*.bob) while read -r msc_file; do - svg_file=$(basename "${msc_file%.*}".svg) - mscgen -T svg -o "$output_dir/$svg_file" -i "$msc_file" + out_file=$(basename "${msc_file%.*}".png) + mscgen -T png -o "$output_dir/$out_file" -i "$msc_file" done < <(find art/*.msc) diff --git a/docs/src/cluster/stake-delegation-and-rewards.md b/docs/src/cluster/stake-delegation-and-rewards.md index 1d8afe0fe3..c2cc9119cd 100644 --- a/docs/src/cluster/stake-delegation-and-rewards.md +++ b/docs/src/cluster/stake-delegation-and-rewards.md @@ -126,7 +126,7 @@ Lamports build up over time in a Stake account and any excess over activated sta ## Example Callflow -![Passive Staking Callflow](/img/passive-staking-callflow.svg) +![Passive Staking Callflow](/img/passive-staking-callflow.png) ## Staking Rewards