From b089cd6f090b9ad50e2b57a17b3c034ad2407e09 Mon Sep 17 00:00:00 2001
From: NoisyCoil <noisycoil@tutanota.com>
Date: Wed, 23 Apr 2025 22:44:52 +0200
Subject: [PATCH] add patch 1002_fix_docs_summary.patch to fix docs

---
 debian/patches/1002_fix_docs_summary.patch | 17 +++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 18 insertions(+)
 create mode 100644 debian/patches/1002_fix_docs_summary.patch

diff --git a/debian/patches/1002_fix_docs_summary.patch b/debian/patches/1002_fix_docs_summary.patch
new file mode 100644
index 0000000..ea37d63
--- /dev/null
+++ b/debian/patches/1002_fix_docs_summary.patch
@@ -0,0 +1,17 @@
+Description: Fix mdBook docs SUMMARY.md
+ mdBook summary entries cannot contain duplicate sources
+Author: NoisyCoil <noisycoil@tutanota.com>
+Forwarded: no
+Last-Update: 2025-04-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/docs_src/SUMMARY.md
++++ b/docs_src/SUMMARY.md
+@@ -40,7 +40,6 @@
+ 
+ ## Sensors
+ 
+-- [MSR_RAPL sensor](references/sensor-msr_rapl.md)
+ - [PowercapRAPL sensor](references/sensor-powercap_rapl.md)
+ - [MSRRAPL sensor](references/sensor-msr_rapl.md)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index eaf936f..d307266 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,7 @@
 1001_ordered-float.patch
 1001_procfs.patch
 1001_sysinfo.patch
+1002_fix_docs_summary.patch
 2001_privacy.patch
 2002_docker-sync.patch
 2002_protobuf.patch
-- 
2.47.2

