diff --git a/doc/README.md b/doc/README.md index 84f2519d35ef..89718ab9adff 100644 --- a/doc/README.md +++ b/doc/README.md @@ -54,9 +54,11 @@ Make sure that your local files aren't added to Git history by adding the follow /**/.direnv ``` -#### `devmode` +#### Live preview -Use [`devmode`](../pkgs/by-name/de/devmode/README.md) for a live preview when editing the manual. +Run [`devmode`](../pkgs/by-name/de/devmode/README.md) for a live preview while editing the manual: it rebuilds on every change and reloads the page in your browser automatically. + +Changes to the renderer 'pkgs/by-name/ni/nixos-render-docs' need a manual restart. Run: `devmode` again. ### Testing redirects diff --git a/nixos/doc/manual/contributing-to-this-manual.chapter.md b/nixos/doc/manual/contributing-to-this-manual.chapter.md index 19549c32f277..a98ce7fc9923 100644 --- a/nixos/doc/manual/contributing-to-this-manual.chapter.md +++ b/nixos/doc/manual/contributing-to-this-manual.chapter.md @@ -35,9 +35,11 @@ Make sure that your local files aren't added to Git history by adding the follow /**/.direnv ``` -### `devmode` {#sec-contributing-devmode} +### Live preview {#sec-contributing-devmode} -Use [`devmode`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/de/devmode/README.md) for a live preview when editing the manual. +Run [`devmode`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/de/devmode/README.md) for a live preview while editing the manual: it rebuilds on every change and reloads the page in your browser automatically. + +Changes to the renderer 'pkgs/by-name/ni/nixos-render-docs' need a manual restart. Run: `devmode` again. ## Testing redirects {#sec-contributing-redirects}