File: docs-Don-t-sideload-an-animated-GIF-file.patch

package info (click to toggle)
sphinxcontrib-mermaid 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,760 kB
  • sloc: python: 691; javascript: 275; makefile: 24; sh: 17
file content (27 lines) | stat: -rw-r--r-- 933 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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 11 Jun 2023 09:40:40 +0200
Subject: docs: Don't sideload an animated GIF file

Don't relay on the availability of (while writing)
https://user-images.githubusercontent.com/16781833/228022911-c26d1e01-7f71-4ab7-bb33-ce53056f8343.gif

and reference instead to a local stored file.

Forwarded: Not-Needed
---
 README.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.rst b/README.rst
index dcb3da0..10a5a80 100644
--- a/README.rst
+++ b/README.rst
@@ -119,7 +119,7 @@ Directive options
 
 ``:zoom:``: can be used to enable zooming the diagram. For a global config see ``mermaid_d3_zoom`` below.
 
-.. figure:: https://user-images.githubusercontent.com/16781833/228022911-c26d1e01-7f71-4ab7-bb33-ce53056f8343.gif
+.. figure:: directive.gif
    :align: center
 
    A preview after adding ``:zoom:`` option only to the first diagram example above: