-
-
Notifications
You must be signed in to change notification settings - Fork 16.5k
nixos/documentation: add nixpkgs-help #400381
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
base: master
Are you sure you want to change the base?
Conversation
Should I write NixOS tests for this, as this adds an option? Or will this not be necessary? |
a09c2fc
to
db52842
Compare
|
0a06cb7
to
f6904c0
Compare
I think we should be almost done (adding the release note later). However, the anchor links dont seem to work. I just get:
When trying to click any anchor. There seems to be a mismatch in the name, as the anchors reference |
The nixpkgs-manual derivation seems to explicitly move from index.html to manual.html... that seems wrong? (at least without patching references of index.html to manual.html). Not sure why it does that. Is it only really meant to be served with the name index.html, remapped in a webserver or something? nixpkgs/doc/doc-support/package.nix Line 100 in 2966238
|
This indeed looks very wrong. I fixed it in the linked sub-issue's PR (#400816), because the derivation just does not work for the time being. I don't understand what was the thought process behind it, as you cannot even parametrize it / there is no
You can generate it with |
f6904c0
to
baeecfa
Compare
Adds an option to enable a local version of the nixpkgs manual, akin to what's already done with the NixOS manual (`nixpkgs-help` with a desktop entry for easy access).
baeecfa
to
5116dff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This generally looks fine to me, but I would like to ask the @NixOS/documentation-team for their thoughts.
Adds an option to enable a local version of the nixpkgs manual, akin to what's already done with the NixOS manual (
nixpkgs-help
with a desktop entry for easy access). Closes #400374.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.