diff options
author | pennae <github@quasiparticle.net> | 2023-01-10 12:34:37 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2023-01-10 12:34:37 +0100 |
commit | 53fc887582fba4fd4938ce1b647d6152ea374ed1 (patch) | |
tree | 6042178980e8252bd81963d9ede8db0d21821e6d /nixos/modules/services/matrix | |
parent | b15f4d0f9735f3dbce30b7d8c490627f5d9394e5 (diff) | |
download | nixpkgs-53fc887582fba4fd4938ce1b647d6152ea374ed1.tar nixpkgs-53fc887582fba4fd4938ce1b647d6152ea374ed1.tar.gz nixpkgs-53fc887582fba4fd4938ce1b647d6152ea374ed1.tar.bz2 nixpkgs-53fc887582fba4fd4938ce1b647d6152ea374ed1.tar.lz nixpkgs-53fc887582fba4fd4938ce1b647d6152ea374ed1.tar.xz nixpkgs-53fc887582fba4fd4938ce1b647d6152ea374ed1.tar.zst nixpkgs-53fc887582fba4fd4938ce1b647d6152ea374ed1.zip |
nixos/manual: move "edit the MD file" comments to generated XML
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r-- | nixos/modules/services/matrix/mjolnir.nix | 1 | ||||
-rw-r--r-- | nixos/modules/services/matrix/mjolnir.xml | 2 | ||||
-rw-r--r-- | nixos/modules/services/matrix/synapse.nix | 1 | ||||
-rw-r--r-- | nixos/modules/services/matrix/synapse.xml | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/matrix/mjolnir.nix b/nixos/modules/services/matrix/mjolnir.nix index d568beb2e7a..cbf7b93329d 100644 --- a/nixos/modules/services/matrix/mjolnir.nix +++ b/nixos/modules/services/matrix/mjolnir.nix @@ -236,7 +236,6 @@ in }; meta = { - # Don't edit the docbook xml directly, edit the md and generate it using md-to-db.sh doc = ./mjolnir.xml; maintainers = with maintainers; [ jojosch ]; }; diff --git a/nixos/modules/services/matrix/mjolnir.xml b/nixos/modules/services/matrix/mjolnir.xml index 2d2d5d3d9e2..5bd2919e437 100644 --- a/nixos/modules/services/matrix/mjolnir.xml +++ b/nixos/modules/services/matrix/mjolnir.xml @@ -1,3 +1,5 @@ +<!-- Do not edit this file directly, edit its companion .md instead + and regenerate this file using nixos/doc/manual/md-to-db.sh --> <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-mjolnir"> <title>Mjolnir (Matrix Moderation Tool)</title> <para> diff --git a/nixos/modules/services/matrix/synapse.nix b/nixos/modules/services/matrix/synapse.nix index fff2e31abe6..3087d879b9d 100644 --- a/nixos/modules/services/matrix/synapse.nix +++ b/nixos/modules/services/matrix/synapse.nix @@ -801,7 +801,6 @@ in { meta = { buildDocsInSandbox = false; - # Don't edit the docbook xml directly, edit the md and generate it using md-to-db.sh doc = ./synapse.xml; maintainers = teams.matrix.members; }; diff --git a/nixos/modules/services/matrix/synapse.xml b/nixos/modules/services/matrix/synapse.xml index 62c3c62d3d1..686aec93ab6 100644 --- a/nixos/modules/services/matrix/synapse.xml +++ b/nixos/modules/services/matrix/synapse.xml @@ -1,3 +1,5 @@ +<!-- Do not edit this file directly, edit its companion .md instead + and regenerate this file using nixos/doc/manual/md-to-db.sh --> <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-matrix"> <title>Matrix</title> <para> |