NixOS / NixOS/nix.dev

_redirects in Nix manual is not picked up, leading to broken links

Open
#1,165 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nix
Stars
4k
Forks
339
Avg merge
2d 11h
Merged PRs (30d)
7

Description

Links such as https://nixos.org/manual/nix/stable/language/constructs.html#functions are currently broken.
The redirect to nix.dev works, but we're serving a 404, despite _redirect being included in our nix#nix-manual output.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with doc/manual/source/_redirects and the nix#nix-manual output mentioned in the issue, then reproduce the 404 at the linked Nix manual URL. Compare the generated redirect handling with the working redirect to nix.dev and consult the original report. Done means the documented manual URL resolves instead of returning 404.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.