mswjs / mswjs.io

Official website and documentation for the Mock Service Worker library.
https://mswjs.io
159 stars 182 forks source link

Docs | minor issue with an unactive link #279

Open adevinwild opened 1 year ago

adevinwild commented 1 year ago

Hi, The link in the API > http section of the Docs sidebar does not become active or highlighted when we are on the page in question.

This is something I've noticed while working on implementing light mode for the website.

Screenshot of the issue

image

Expected result

image
kettanaito commented 1 year ago

Hey, @adevinwild. Thanks for reporting this. I will look into this. Apparently, I missed a use case when writing the active link logic. That should be fixable.