File: Remove-UML-diagram-in-documentation-source

package info (click to toggle)
autosuspend 7.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,244 kB
  • sloc: python: 5,414; xml: 13; makefile: 10; javascript: 1
file content (92 lines) | stat: -rw-r--r-- 2,199 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
From: Geoffroy Youri Berret <kaliko@debian.org>
Date: Sun, 2 Mar 2025 09:46:23 +0100
Subject: Remove UML diagram in documentation source

Prevent package from leaving testing due to removal of plantuml removal.
Drop it if plantuml is fixed cf. #1039999, #1040000 or removed from
autosuspend doc build-dep.
---
 doc/source/conf.py   |  1 -
 doc/source/index.rst | 57 ----------------------------------------------------
 2 files changed, 58 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index f7adfba..d2fe746 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -12,7 +12,6 @@ extensions = [
     "sphinx.ext.napoleon",
     "sphinx.ext.autodoc",
     "sphinx_autodoc_typehints",
-    "sphinxcontrib.plantuml",
     "sphinx_issues",
     "recommonmark",
 ]
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 4ecee30..8153a3b 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -9,63 +9,6 @@
 
 .. include:: description.inc
 
-The following diagram visualizes the periodic processing performed by |project|.
-
-.. uml::
-
-   @startuml
-
-   skinparam shadowing false
-   skinparam backgroundcolor #eeeeee
-
-   skinparam Padding 8
-
-   skinparam ActivityBackgroundColor #FFFFFF
-   skinparam ActivityDiamondBackgroundColor #FFFFFF
-   skinparam ActivityBorderColor #333333
-   skinparam ActivityDiamondBorderColor #333333
-   skinparam ArrowColor #333333
-
-   start
-
-   :Execute activity checks;
-
-   if (Is the system active?) then (no)
-
-     if (Was the system idle before?) then (no)
-       :Remember current time as start of system inactivity;
-     else (yes)
-     endif
-
-     if (Is system idle long enough?) then (yes)
-
-       :Execute wake up checks;
-
-       if (Is a wake up required soon?) then (yes)
-         stop
-       else
-         if (Is any wake up required?) then (yes)
-           #BBFFBB:Schedule the earliest wake up;
-         else (no)
-         endif
-       endif
-
-       #BBFFBB:Suspend the system;
-
-     else (no)
-       stop
-     endif
-
-   else (yes)
-     :Forget start of system inactivity;
-     stop
-   endif
-
-   stop
-
-   @enduml
-
-
 .. toctree::
    :maxdepth: 2
    :caption: Usage