Highlight current doc topic in the sidebar identified by their slugs in the index

I’m using relative paths for the URL’s (t/one-slug) which seem to work fine?