From 2299aa33827f211f1a520855a5f2a26cce0ac20f Mon Sep 17 00:00:00 2001 From: Mateusz Mandera Date: Tue, 12 Jul 2022 22:01:07 +0200 Subject: [PATCH] docs: Remove some outdated references to thumbnailing.md doc. The doc was removed in 405bc8dabff9d8e602b12e53a7855a815e425b95 --- zerver/lib/markdown/__init__.py | 2 -- zerver/lib/thumbnail.py | 1 - zerver/views/thumbnail.py | 1 - 3 files changed, 4 deletions(-) diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.py index 3c88ff0f55..2730b7bece 100644 --- a/zerver/lib/markdown/__init__.py +++ b/zerver/lib/markdown/__init__.py @@ -662,8 +662,6 @@ class InlineInterestingLinkProcessor(markdown.treeprocessors.Treeprocessor): and (not already_thumbnailed) and user_uploads_or_external(image_url) ): - # See docs/thumbnailing.md for some high-level documentation. - # # We strip leading '/' from relative URLs here to ensure # consistency in what gets passed to /thumbnail image_url = image_url.lstrip("/") diff --git a/zerver/lib/thumbnail.py b/zerver/lib/thumbnail.py index dfc448098f..f277f3dac0 100644 --- a/zerver/lib/thumbnail.py +++ b/zerver/lib/thumbnail.py @@ -1,4 +1,3 @@ -# See https://zulip.readthedocs.io/en/latest/subsystems/thumbnailing.html import os import sys from urllib.parse import urljoin diff --git a/zerver/views/thumbnail.py b/zerver/views/thumbnail.py index a40aa22e4e..df242703e3 100644 --- a/zerver/views/thumbnail.py +++ b/zerver/views/thumbnail.py @@ -1,4 +1,3 @@ -# See https://zulip.readthedocs.io/en/latest/subsystems/thumbnailing.html from typing import Optional, Union from django.contrib.auth.models import AnonymousUser