1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

docs: update news.md to highlight create-news-entry command

Update the documentation to inform users they can create news entries
themselves using `nix run .#create-news-entry` without waiting for
maintainers. This makes the contribution process more self-service
and improves the documentation to match the recently exposed flake
package.
This commit is contained in:
Austin Horstman 2025-05-10 10:28:32 -05:00
parent c4bd004d9d
commit 6fd639dbe5

View file

@ -10,15 +10,19 @@ If you do have a change worthy of a news entry then please add one in
[`news.nix`](https://github.com/nix-community/home-manager/blob/master/modules/misc/news.nix) [`news.nix`](https://github.com/nix-community/home-manager/blob/master/modules/misc/news.nix)
but you should follow some basic guidelines: but you should follow some basic guidelines:
- Use the included - Use the included news entry generator to create a news entry file:
[`create-news-entry.sh`](https://github.com/nix-community/home-manager/blob/master/modules/misc/news/create-news-entry.sh)
script to generate a news entry file: ``` shell
$ nix run .#create-news-entry
```
Alternatively, you can directly use the script:
``` shell ``` shell
$ modules/misc/news/create-news-entry.sh $ modules/misc/news/create-news-entry.sh
``` ```
this will create a new file inside `modules/misc/news` directory This will create a new file inside the `modules/misc/news` directory
with some placeholder information that you can edit. with some placeholder information that you can edit.
- The entry condition should be as specific as possible. For example, - The entry condition should be as specific as possible. For example,