nixos-render-docs: Suggest redirects is a command

This commit is contained in:
Robert Hensing 2025-05-28 19:56:54 +02:00
parent ae87721626
commit 9225715a23

View file

@ -58,16 +58,16 @@ Keys of the redirects mapping must correspond to some identifier in the source.
This can happen when an identifier was added, renamed, or removed.
Added new content?
redirects add-content identifier path
$ redirects add-content identifier path
Moved existing content to a different output path?
redirects move-content identifier path
$ redirects move-content identifier path
Renamed existing identifiers?
redirects rename-identifier old-identifier new-identifier
$ redirects rename-identifier old-identifier new-identifier
Removed content? Redirect to alternatives or relevant release notes.
redirects remove-and-redirect identifier target-identifier
$ redirects remove-and-redirect identifier target-identifier
NOTE: Run `nix-shell doc` or `nix-shell nixos/doc/manual` to make this command available.
""")