Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Contributing to nix.dev

See also [contributing to 'docs.nixos.org'](#contributing-to-docsnixosorg)

nix.dev is a community effort to collect, create, and maintain learning resources for Nix.

We strongly encourage everyone interested to participate:
Expand Down Expand Up @@ -51,3 +53,24 @@ The following manual steps are required:
nix-shell --run update-nixpkgs-releases
nix-shell --run update-nix-releases
```

## Contributing to docs.nixos.org

Use `nix-shell` or `direnv`

To install dependencies, run this once.

```shell
cd ./site
npm run install
```

Sometimes you need to delete the `node_modules` folder and re-run - especially if you didn't contribute for a long time.

Start the dev server

```shell
npm run dev
```

You can edit files live
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ in
pkgs.python3.pkgs.black
pkgs.vale
pkgs.netlify-cli
pkgs.nodejs_26
];
};
}
Loading