diff --git a/doc/contributing/contributing-to-documentation.chapter.md b/doc/contributing/contributing-to-documentation.chapter.md index 777858b901c3..54f7ebcb41b9 100644 --- a/doc/contributing/contributing-to-documentation.chapter.md +++ b/doc/contributing/contributing-to-documentation.chapter.md @@ -1,11 +1,3 @@ # Contributing to Nixpkgs documentation {#chap-contributing} This section has been moved to [doc/README.md](https://github.com/NixOS/nixpkgs/blob/master/doc/README.md). - -## devmode {#sec-contributing-devmode} - -This section has been moved to [doc/README.md](https://github.com/NixOS/nixpkgs/blob/master/doc/README.md). - -## Syntax {#sec-contributing-markup} - -This section has been moved to [doc/README.md](https://github.com/NixOS/nixpkgs/blob/master/doc/README.md). diff --git a/doc/redirects.json b/doc/redirects.json index f0e7f455d6a5..ffa10799fa6f 100644 --- a/doc/redirects.json +++ b/doc/redirects.json @@ -4663,12 +4663,8 @@ "index.html#reviewing-contributions--merging-pull-requests" ], "chap-contributing": [ - "index.html#chap-contributing" - ], - "sec-contributing-devmode": [ - "index.html#sec-contributing-devmode" - ], - "sec-contributing-markup": [ + "index.html#chap-contributing", + "index.html#sec-contributing-devmode", "index.html#sec-contributing-markup" ], "part-interoperability": [ diff --git a/nixos/doc/manual/contributing-to-this-manual.chapter.md b/nixos/doc/manual/contributing-to-this-manual.chapter.md index 1b296918f9e2..3a7d9a4f61a5 100644 --- a/nixos/doc/manual/contributing-to-this-manual.chapter.md +++ b/nixos/doc/manual/contributing-to-this-manual.chapter.md @@ -1,7 +1,7 @@ # Contributing to this manual {#chap-contributing} The sources of the NixOS manual are in the [nixos/doc/manual](https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual) subdirectory of the [Nixpkgs](https://github.com/NixOS/nixpkgs) repository. -This manual uses the [Nixpkgs manual syntax](https://nixos.org/manual/nixpkgs/unstable/#sec-contributing-markup). +This manual uses the [Nixpkgs manual syntax](https://github.com/NixOS/nixpkgs/blob/master/doc/README.md#syntax). You can quickly check your edits with the following: