-
-
Notifications
You must be signed in to change notification settings - Fork 334
docs/server: refactor & improve serve-docs
; add nix run .#docs
#3349
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
Conversation
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.
Very nice!
Refactor `serve-docs` using `makeWrapper`, make it available as a `serve-docs` package and as the `docs` "app". This means `nix build .#docs` will build the docs while `nix run .#docs` will run the server.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This pull request, with head sha This pull request will be automatically closed by GitHub.As soon as GitHub detects that the sha It is possible for this pull request to remain open if this detection does not happen, this usually happens when a force-push is done on this branch |
This fixes a regression introduced by nix-community#3349
This fixes a regression introduced by nix-community#3349
Refactor
serve-docs
usingmakeWrapper
, make it available as aserve-docs
package and as thedocs
"app".This means
nix build .#docs
will build the docs whilenix run .#docs
will run the server.Also: automatically open the browser using
xdg-open
.Related to nix-community/stylix#1328.