Package: taurus / 4.7.0+dfsg-1

0001-Remove-embedded-script-avoid-privacy-breach-lintian-.patch Patch series | 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
From: Carlos Pascual <cpascual@cells.es>
Date: Mon, 23 Apr 2018 12:20:17 +0200
Subject: Remove embedded script (avoid privacy-breach lintian error)
Forwarded: not-needed

---
 doc/source/other_versions.rst | 45 +++----------------------------------------
 1 file changed, 3 insertions(+), 42 deletions(-)

diff --git a/doc/source/other_versions.rst b/doc/source/other_versions.rst
index cd58412..47fe03e 100644
--- a/doc/source/other_versions.rst
+++ b/doc/source/other_versions.rst
@@ -3,48 +3,9 @@
 Docs for other Taurus versions
 ==============================
 
-The `main taurus docs <http://taurus-scada.org>`_ are generated for the
-most recent development version.
+This documentation was generated for a specific Taurus release in Debian.
 
-But docs for other branches in the `repository <https://github.com/taurus-org/taurus>`_ are also generated.
-You can find all the currently built docs in the following list:
-
-
-.. raw:: html
-
-   <!-- Create a list of links to builds of the docs for other branches -->
-   <div class="container">
-      <div class="row">
-         <div class="col-sm">
-            <table class="table">
-              <tbody class="tb"></tbody>
-            </table>
-         </div>
-      </div>
-   </div>
-
-   <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
-
-   <script>
-      // TODO: once the DNS gets pointed to github pages instead of RTD, the doc_url can be changed to "http://taurus-scada.org/"
-      var doc_url = "https://taurus-org.github.io/taurus-doc/";
-      var contents_url = "https://api.github.com/repos/taurus-org/taurus-doc/contents/./";
-
-      function list_items(url){
-         $.ajax({url: url}).then(function(data) {
-            $('.tb').html('');
-            $('.tb').append('<tr><td><a target="_blank" href="' + doc_url + '">' + 'develop' + '</a></td></tr>');
-            data.forEach(function(element) {
-               if (element.name.match(/^v-/)) {
-                  $('.tb').append('<tr><td><a target="_blank" href="' + doc_url + element.name + '">' + element.name.slice(2) + '</a></td></tr>');
-               };
-            });
-         });
-      }
-
-      $(document).ready(function() {
-         list_items(contents_url);
-      });
-   </script>
+Documentation for other versions of Taurus can be found in the
+`online docs <http://taurus-scada.org/other_versions.html>`_