statelyai / xstate

Actor-based state management & orchestration for complex app logic.
https://stately.ai/docs
MIT License
26.97k stars 1.24k forks source link

Docs: some anchor links not working #3901

Closed johtso closed 10 months ago

johtso commented 1 year ago

Description

https://xstate.js.org/docs/packages/xstate-immer/#api

The #createupdatereventtype-recipe anchor link on the immer docs page doesn't match the anchor link that gets dynamically produced from the heading of "createUpdater(eventType, recipe)", which actually becomes #createupdater-eventtype-recipe with an extra hyphen.

Expected result

N/A

Actual result

N/A

Reproduction

N/A

Additional context

No response

davidkpiano commented 1 year ago

Thanks for the report. Seems like something's off with the way Vuepress (or the relevant plugin) is handling links.

We're moving all the documentation to https://stately.ai/docs though, so this should be "solved" there.