Fix on changelog documentions not showing in algolia search
⛳️ Current behavior (updates)
Currently search: results for changelog pages are not working, due to to the path of the page being /changelog/2.0.1 but the link in the search result is sending me to /changelog/v2.0.1.
🚀 New behavior
What I did is by prefixing the content path generated from content layer in getStaticPaths and updating the related anchor tags with prefix v
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
I am not very sure about the approach but please let me know if there any better way I can improve on this
Closes #1430
📝 Description
⛳️ Current behavior (updates)
Currently search: results for changelog pages are not working, due to to the path of the page being
/changelog/2.0.1
but the link in the search result is sending me to/changelog/v2.0.1
.🚀 New behavior
What I did is by prefixing the content path generated from content layer in getStaticPaths and updating the related anchor tags with prefix
v
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
I am not very sure about the approach but please let me know if there any better way I can improve on this