File: local_javascript.patch

package info (click to toggle)
snakemake 7.21.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,052 kB
  • sloc: python: 30,995; javascript: 1,290; makefile: 247; sh: 163; ansic: 57; lisp: 9
file content (92 lines) | stat: -rw-r--r-- 4,206 bytes parent folder | download | duplicates (2)
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
Description: Use local Javascript etc for privacy

Some of the badge images legally could be replaced with local copies,
but this would appear to be a live status when it isn't
(or a per-version status that is easy to forget to update),
so use text links instead

This intentionally doesn't cover gui.html, because it would be too
easy to break it (by using the wrong versions) without noticing,
and we can't do all of it anyway (no bootstrap-select)

Author: Kevin Murray <spam@kdmurray.id.au>, Andreas Tille <tille@debian.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -40,6 +40,9 @@ extensions = [
     "myst_parser",
 ]
 
+# Use debian copy of mathjax, to avoid a lintian error
+mathjax_path = "MathJax.js"
+
 # Snakemake theme (made by SciAni).
 html_css_files = ["theme.css"]
 
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -4,40 +4,15 @@
 Snakemake
 =========
 
-.. image:: https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod
-    :target: https://gitpod.io/#https://github.com/snakemake/snakemake
-
-.. image:: https://img.shields.io/conda/dn/bioconda/snakemake.svg?label=Bioconda
-    :target: https://bioconda.github.io/recipes/snakemake/README.html
-
-.. image:: https://img.shields.io/pypi/pyversions/snakemake.svg
-    :target: https://www.python.org
-
-.. image:: https://img.shields.io/pypi/v/snakemake.svg
-    :target: https://pypi.python.org/pypi/snakemake
-
-.. image:: https://img.shields.io/github/workflow/status/snakemake/snakemake/Publish%20to%20Docker%20Hub?color=blue&label=docker%20container&branch=main
-    :target: https://hub.docker.com/r/snakemake/snakemake
-
-.. image:: https://github.com/snakemake/snakemake/workflows/CI/badge.svg?branch=main&label=tests
-    :target: https://github.com/snakemake/snakemake/actions?query=branch%3Amain+workflow%3ACI
-
-.. image:: https://img.shields.io/badge/stack-overflow-orange.svg
-    :target: https://stackoverflow.com/questions/tagged/snakemake
-
-.. image:: https://img.shields.io/twitter/follow/johanneskoester.svg?style=social&label=Follow
-    :target: https://twitter.com/search?l=&q=%23snakemake%20from%3Ajohanneskoester
-
-.. image:: https://img.shields.io/discord/753690260830945390?label=discord%20chat   
-    :alt: Discord
-    :target: https://discord.gg/NUdMtmr
-
-.. image:: https://img.shields.io/github/stars/snakemake/snakemake?style=social
-    :alt: GitHub stars
-    :target: https://github.com/snakemake/snakemake/stargazers
-
-.. .. raw:: html
-          <span class="__dimensions_badge_embed__" data-doi="https://doi.org/10.1093/bioinformatics/bts480" data-legend="always" data-style="large_rectangle"></span><script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script>
+`Bioconda <https://bioconda.github.io/recipes/snakemake/README.html>`_
+`PyPI <https://pypi.python.org/pypi/snakemake>`_
+`Docker <https://hub.docker.com/r/snakemake/snakemake>`_
+`CI status <https://github.com/snakemake/snakemake/actions?query=branch%3Amaster+workflow%3ACI>`_
+`Stack Overflow <https://stackoverflow.com/questions/tagged/snakemake>`_
+`Twitter <https://twitter.com/search?l=&q=%23snakemake%20from%3Ajohanneskoester>`_
+`Discord <https://discord.gg/NUdMtmr>`_
+`GitHub stars <https://github.com/snakemake/snakemake/stargazers>`_
+`Paper <https://doi.org/10.1093/bioinformatics/bts480>`_
 
 The Snakemake workflow management system is a tool to create **reproducible and scalable** data analyses.
 Workflows are described via a human readable, Python based language.
--- a/docs/project_info/citations.rst
+++ b/docs/project_info/citations.rst
@@ -42,10 +42,7 @@ The most comprehensive publication is ou
 Project Pages
 =============
 
-If you publish a Snakemake workflow, consider to add this badge to your project page:
-
-.. image:: https://img.shields.io/badge/snakemake-≥5.6.0-brightgreen.svg?style=flat
-   :target: https://snakemake.readthedocs.io
+If you publish a Snakemake workflow, consider adding a link to `the documentation <https://snakemake.readthedocs.io>`_ with `this badge <https://img.shields.io/badge/snakemake-≥5.6.0-brightgreen.svg?style=flat>`_ to your project page.
 
 The markdown syntax is