[PATCH 1/2] docs: Recognize Deepin for dependency hints
From: Dongliang Mu
Date: Tue Oct 27 2026 - 13:05:26 EST
Deepin uses apt, but the checker falls back to generic hints because its
distribution name is missing from the OS mapping. Route Deepin to the
Debian hint handler so it suggests apt-get installation commands.
Signed-off-by: Dongliang Mu <dzm91@xxxxxxxxxxx>
---
tools/docs/sphinx-pre-install | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/docs/sphinx-pre-install b/tools/docs/sphinx-pre-install
index 965c9b093a41..d1af82e1466d 100755
--- a/tools/docs/sphinx-pre-install
+++ b/tools/docs/sphinx-pre-install
@@ -1137,6 +1137,7 @@ class SphinxDependencyChecker(MissingCheckers):
re.compile("Devuan"): self.give_debian_hints,
re.compile("Kali"): self.give_debian_hints,
re.compile("Mint"): self.give_debian_hints,
+ re.compile("Deepin"): self.give_debian_hints,
re.compile("openSUSE"): self.give_opensuse_hints,
--
2.51.0