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:
parent
c4bd004d9d
commit
6fd639dbe5
1 changed files with 8 additions and 4 deletions
|
|
@ -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)
|
||||
but you should follow some basic guidelines:
|
||||
|
||||
- Use the included
|
||||
[`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:
|
||||
- Use the included news entry generator to create a news entry file:
|
||||
|
||||
``` shell
|
||||
$ nix run .#create-news-entry
|
||||
```
|
||||
|
||||
Alternatively, you can directly use the script:
|
||||
|
||||
``` shell
|
||||
$ 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.
|
||||
|
||||
- The entry condition should be as specific as possible. For example,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue