event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.67k stars 139 forks source link

Going to /docs/events/MyEventName should redirect to the latest version #689

Closed kaplanbora closed 1 month ago

kaplanbora commented 1 month ago

Some of our users like just change the endpoint to go their event's page. But to get the actual page of the event, you have to pass the version as well, like /docs/events/MyEventName/0.0.1/. Otherwise, you see the screen below.

image

It would be much better if it would redirect to the latest version instead.

boyney123 commented 1 month ago

Makes sense to me!

boyney123 commented 1 month ago

Thanks @carlosallexandre , this is now fixed in @eventcatalog/core@2.3.2

kaplanbora commented 1 month ago

Thank you for the quick implementation!