From: Stefano Rivera <stefanor@debian.org>
Date: Tue, 18 Aug 2020 18:01:29 -0700
Subject: Disable 3rd party assets in docs

Fetching assets from external websites can cause a privacy breach.

Bug-Upstream: https://github.com/authlib/authlib/issues/282
---
 docs/_templates/funding.html | 2 --
 docs/oauth1/concepts.rst     | 5 ++---
 docs/oauth2/concepts.rst     | 5 ++---
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/docs/_templates/funding.html b/docs/_templates/funding.html
index 5de39b4..8f5dc1b 100644
--- a/docs/_templates/funding.html
+++ b/docs/_templates/funding.html
@@ -13,8 +13,6 @@
 </style>
 <div class="funding-sponsors">
   <a href="https://auth0.com/overview?utm_source=authlib&utm_medium=devsponsor&utm_campaign=authlib">
-    <img alt="Auth0"
-         src="https://user-images.githubusercontent.com/290496/39297078-89d00928-497d-11e8-8119-0c53afe14cd0.png">
     <div>Auth0</div>
   </a>
 </div>
diff --git a/docs/oauth1/concepts.rst b/docs/oauth1/concepts.rst
index f868e0b..b31bddd 100644
--- a/docs/oauth1/concepts.rst
+++ b/docs/oauth1/concepts.rst
@@ -22,10 +22,9 @@ concepts in OAuth 1.0, the authorization flow of OAuth 1.0, and etc.
     credentials (typically, a username and password pair), using user-
     agent redirection.
 
-Here is an overview of a typical OAuth 1.0 authorization flow:
+Here is an overview of a `typical OAuth 1.0 authorization flow`_:
 
-.. figure:: https://user-images.githubusercontent.com/290496/48671968-2c316080-eb73-11e8-9e6a-9e895cd67262.png
-    :alt: OAuth 1.0 Flow
+.. _typical OAuth 1.0 authorization flow: https://user-images.githubusercontent.com/290496/48671968-2c316080-eb73-11e8-9e6a-9e895cd67262.png
 
 OAuth 1.0 Flow
 --------------
diff --git a/docs/oauth2/concepts.rst b/docs/oauth2/concepts.rst
index 8616222..29e2ab4 100644
--- a/docs/oauth2/concepts.rst
+++ b/docs/oauth2/concepts.rst
@@ -15,10 +15,9 @@ Concepts
     its own behalf.
 
 This section will help developers understand the concepts in OAuth 2.0, but not
-in deep of OAuth 2.0. Here is an overview of a very simple OAuth 2.0 flow:
+in deep of OAuth 2.0. Here is an overview of a `very simple OAuth 2.0 flow`_:
 
-.. figure:: https://user-images.githubusercontent.com/290496/48670041-e5803e00-eb53-11e8-91a9-3776276d6bf6.png
-    :alt: OAuth 2.0 Flow
+.. _very simple OAuth 2.0 flow: https://user-images.githubusercontent.com/290496/48670041-e5803e00-eb53-11e8-91a9-3776276d6bf6.png
 
 
 OAuth 2.0 Roles
