webgpu / webgpufundamentals

https://webgpufundamentals.org
BSD 3-Clause "New" or "Revised" License
624 stars 88 forks source link

Issue with navigation in translated articles #97

Closed ErdtR closed 6 months ago

ErdtR commented 6 months ago

Issue: Navigation from one trasnlated article to another already translated article doesn't work.

How to reproduce:

Let's use this Inter-stage Variables article as example. For english version of the artciale we got this href value for a previous article which is exactly what we expecting here:

image

Now let's change the language to Ukrainian (Українська). We will get this result:

image

The ../webgpu-fundamentals.html will navigate us to the English version of Fundamentals article. I expect it to be webgpu-fundamentals.html so we can go to already translated version.

@greggman I am not sure if that actually a bug or something I am doing wrong. I was trying to figure it out but lost myself in the gruntfile. In any case I'll be happy to help with this issue.

greggman commented 6 months ago

It looks like a bug. I'll look into it asap.

greggman commented 6 months ago

I pushed a fix. It should update soon.

ErdtR commented 6 months ago

Thanks, now it works as expected. I think we can close the issue.