www.ziglang.org icon indicating copy to clipboard operation
www.ziglang.org copied to clipboard

Language Reference: `master` hyperlink broken when `0.13.0` is selected.

Open jeffective opened this issue 1 year ago • 1 comments

Zig Version

0.14.0-dev.66+1fdf13a14

Steps to Reproduce and Observed Behavior

go to the lang ref https://ziglang.org/documentation/master/

click 0.13.0 https://ziglang.org/documentation/0.13.0/ and observe that master cannot be clicked to go back to master. image

Expected Behavior

When you click 0.13.0 you should be able to click master to return to master.

Works correctly when you click 0.12.0 etc. image

jeffective avatar Jul 07 '24 00:07 jeffective

Can confirm. It's this line right here: https://github.com/ziglang/www.ziglang.org/blob/72cbd7c2d19f5f0b2b5cbfdeb9f288b5b2df9392/src/documentation/0.13.0/index.html#L319

where I guess it's supposed to be using something like this here: https://github.com/ziglang/www.ziglang.org/blob/72cbd7c2d19f5f0b2b5cbfdeb9f288b5b2df9392/src/documentation/0.12.0/index.html#L306C19-L306C25

Rexicon226 avatar Jul 07 '24 01:07 Rexicon226