withastro / starlight

🌟 Build beautiful, accessible, high-performance documentation websites with Astro
https://starlight.astro.build
MIT License
5.02k stars 532 forks source link

Step component items all render as `0` #1953

Closed polarathene closed 5 months ago

polarathene commented 5 months ago

What version of starlight are you using?

4.9.2

What version of astro are you using?

0.23.3

What package manager are you using?

N/A

What operating system are you using?

Windows

What browser are you using?

Chrome

Describe the Bug

While viewing the docs, I noticed the step component isn't rendering correctly:

image


I've not tried to reproduce this, but it is apparent elsewhere in the official docs linked when that component is used.

Link to Minimal Reproducible Example

https://github.com/withastro/starlight/blob/4c040329bdee2caf1bd6a49d9be5d143231b8e83/docs/src/content/docs/guides/components.mdx?plain=1#L383-L397

Participation

HiDeoo commented 5 months ago

Thanks for your report 🙌

This is an issue due to a change that I recently submitted. I have opened a PR to revert the change until a better solution is found.

delucis commented 5 months ago

Thanks for reporting! Should be fixed in v0.23.4