summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Pascual <cpascual@cells.es>2019-01-31 15:52:16 +0100
committerCarlos Pascual <cpascual@cells.es>2019-02-05 11:19:28 +0100
commit3d799f65b548c5704d8f34bf743ca127c326c5fd (patch)
tree78b26b664a194a53ede63cbe62f5186b85b9149d
parent4515d05496027e1bd98c65aefe0c038d699a7319 (diff)
Remove embedded script (avoid privacy-breach lintian error)
Gbp-Pq: Name 0001-Remove-embedded-script-avoid-privacy-breach-lintian-.patch
-rw-r--r--doc/source/other_versions.rst46
1 files changed, 3 insertions, 43 deletions
diff --git a/doc/source/other_versions.rst b/doc/source/other_versions.rst
index 2887e86d..ff15cc2a 100644
--- a/doc/source/other_versions.rst
+++ b/doc/source/other_versions.rst
@@ -3,48 +3,8 @@
Docs for other Sardana versions
===============================
-The `main sardana docs <http://sardana-controls.org>`_ are generated for the
-most recent development version.
-
-But docs for other versions of sardana (previous releases or other branches in
-`repository <https://github.com/sardana-org/sardana>`_ can also be browsed here:
-
-
-.. 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://sardana-controls.org/"
- var doc_url = "https://sardana-org.github.io/sardana-doc/";
- var contents_url = "https://api.github.com/repos/sardana-org/sardana-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>
+This documentation was generated for a specific Sardana release in Debian.
+Documentation for other versions of Sardana can be found in the
+`online docs <http://www.sardana-controls.org/other_versions.html>`_