File: docs-Link-project-image-to-local-data.patch

package info (click to toggle)
django-cachalot 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,160 kB
  • sloc: python: 5,045; makefile: 157
file content (36 lines) | stat: -rw-r--r-- 1,139 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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Fri, 27 Dec 2024 18:48:57 +0200
Subject: docs: Link project image to local data

It's better to not use some sideloading of the project image, this could
result in privacy breaches.

Forwarded: not-needed
---
 README.rst     | 2 +-
 docs/index.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index b6b098c..078379d 100644
--- a/README.rst
+++ b/README.rst
@@ -120,4 +120,4 @@ Legacy chats:
 
 .. _Andrew Chen Wang: https://github.com/Andrew-Chen-Wang
 
-.. image:: https://raw.github.com/noripyt/django-cachalot/master/django-cachalot.jpg
+.. image:: //usr/share/doc/python-django-cachalot-doc/html/_images/django-cachalot.jpg
diff --git a/docs/index.rst b/docs/index.rst
index 1d1a275..59e619e 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -4,7 +4,7 @@ django-cachalot
 
 Caches your Django ORM queries and automatically invalidates them.
 
-.. image:: https://raw.github.com/noripyt/django-cachalot/master/django-cachalot.jpg
+.. image:: //usr/share/doc/python-django-cachalot-doc/html/_images/django-cachalot.jpg
 
 ----