-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/doc: Source links are broken, pointing at "release-19.09" #66917
Comments
I suppose those links were never made with unstable in mind, only releases. |
Yeah we don't really differentiate between released and unreleased. Those links just come from the revision field:
|
It appears that it is supposed to be the git revision, but it's falling back:
Lines 151 to 160 in 86f3127
So why doesn't it work? 😕 |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
There are two different things here:
|
The manual rendering has since been reimplemented. The new n-r-d toolchain supports linking to
but that does not appear to be set anywhere. Nixpkgs manual uses Line 137 in 87bc60c
And NixOS manual receives it from argument to nixpkgs/nixos/doc/manual/default.nix Line 125 in 87bc60c
Which is set in the documentation module to a hardcoded version:
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/links-in-unstable-nixos-manual-appendix-are-broken/46395/3 |
Describe the bug
"Declared by" source links are broken in the NixOS manual's
Appendix A. Configuration Options
To Reproduce
Run
nixos-help
Click
next
to go to Appendix AClick on a source link
Expected behavior
I should land at the appropriate link for my Nixpkgs version, e.g. https://github.com/NixOS/nixpkgs/blob/8746c77a383/nixos/modules/config/appstream.nix
Actual behaviour
I land at a broken link for "release-19.09" e.g.
https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/config/appstream.nix
Metadata
The text was updated successfully, but these errors were encountered: