From: Carsten Schoenert Date: Thu, 27 May 2021 18:58:54 +0200 Subject: Sphinx: Don't link to external images Some screenshots were included by using linking to images added to raw.githubusercontent.com which might become a security breach and also are only available if the user has access to the internet. Using instead local stored images to prevent potential issues due the external linking. Forwarded: not-needed --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 6a090a8..6b98e56 100644 --- a/README.rst +++ b/README.rst @@ -57,21 +57,21 @@ Features - supports Django REST Framework API versioning with ``URLPathVersioning`` and ``NamespaceVersioning``; other DRF or custom versioning schemes are not currently supported -.. figure:: https://raw.githubusercontent.com/axnsan12/drf-yasg/1.0.2/screenshots/redoc-nested-response.png +.. figure:: ../images/redoc-nested-response.png :width: 100% :figwidth: image :alt: redoc screenshot **Fully nested request and response schemas.** -.. figure:: https://raw.githubusercontent.com/axnsan12/drf-yasg/1.0.2/screenshots/swagger-ui-list.png +.. figure:: ../images/swagger-ui-list.png :width: 100% :figwidth: image :alt: swagger-ui screenshot **Choose between redoc and swagger-ui.** -.. figure:: https://raw.githubusercontent.com/axnsan12/drf-yasg/1.0.2/screenshots/swagger-ui-models.png +.. figure:: ../images/swagger-ui-models.png :width: 100% :figwidth: image :alt: model definitions screenshot