summary refs log tree commit diff
path: root/nixos/modules/services/backup
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-01-10 12:34:37 +0100
committerpennae <github@quasiparticle.net>2023-01-10 12:34:37 +0100
commit53fc887582fba4fd4938ce1b647d6152ea374ed1 (patch)
tree6042178980e8252bd81963d9ede8db0d21821e6d /nixos/modules/services/backup
parentb15f4d0f9735f3dbce30b7d8c490627f5d9394e5 (diff)
nixos/manual: move "edit the MD file" comments to generated XML
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r--nixos/modules/services/backup/borgbackup.nix1
-rw-r--r--nixos/modules/services/backup/borgbackup.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/backup/borgbackup.nix b/nixos/modules/services/backup/borgbackup.nix
index 5489aac0111f6..c5fc09dcea028 100644
--- a/nixos/modules/services/backup/borgbackup.nix
+++ b/nixos/modules/services/backup/borgbackup.nix
@@ -226,7 +226,6 @@ let
 
 in {
   meta.maintainers = with maintainers; [ dotlambda ];
-  # Don't edit the docbook xml directly, edit the md and generate it using md-to-db.sh
   meta.doc = ./borgbackup.xml;
 
   ###### interface
diff --git a/nixos/modules/services/backup/borgbackup.xml b/nixos/modules/services/backup/borgbackup.xml
index 1b864d6cdd560..2b9e0baa6d09a 100644
--- a/nixos/modules/services/backup/borgbackup.xml
+++ b/nixos/modules/services/backup/borgbackup.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-borgbase">
   <title>BorgBackup</title>
   <para>