NixOS / nix.dev

Official documentation for getting things done with Nix.
https://nix.dev
Creative Commons Attribution Share Alike 4.0 International
2.43k stars 242 forks source link

Broken links to single-page Nix manuals #1032

Closed AlexMills0 closed 3 days ago

AlexMills0 commented 4 weeks ago

The links shown in the screenshot do not work.

I will try to fix this (and submit a pull request) later, if nobody else beats me to it.

I am new to this and welcome all feedback.

Screenshot_20240814_180145

fricklerhandwerk commented 4 weeks ago

Hm, that should not happen. I'll check what's going on when I run the next version bump, soon-ish.

fricklerhandwerk commented 4 weeks ago

Aha, if you inspect what the links point to you'll notice that mutable version prefix is latest for all of them. Check the source:

https://github.com/NixOS/nix.dev/blob/master/source/reference/nix-manual.md?plain=1#L37-L45

Those instances need to be changed to the prefix corresponding to the actual version we want to point to. @AlexMills0 do you want to make a patch for that? Would be a great first contribution!