mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
docs: Remove some outdated references to thumbnailing.md doc.
The doc was removed in 405bc8dabf
This commit is contained in:
committed by
Tim Abbott
parent
737145e4e0
commit
2299aa3382
@@ -662,8 +662,6 @@ class InlineInterestingLinkProcessor(markdown.treeprocessors.Treeprocessor):
|
|||||||
and (not already_thumbnailed)
|
and (not already_thumbnailed)
|
||||||
and user_uploads_or_external(image_url)
|
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
|
# We strip leading '/' from relative URLs here to ensure
|
||||||
# consistency in what gets passed to /thumbnail
|
# consistency in what gets passed to /thumbnail
|
||||||
image_url = image_url.lstrip("/")
|
image_url = image_url.lstrip("/")
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
# See https://zulip.readthedocs.io/en/latest/subsystems/thumbnailing.html
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from urllib.parse import urljoin
|
from urllib.parse import urljoin
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
# See https://zulip.readthedocs.io/en/latest/subsystems/thumbnailing.html
|
|
||||||
from typing import Optional, Union
|
from typing import Optional, Union
|
||||||
|
|
||||||
from django.contrib.auth.models import AnonymousUser
|
from django.contrib.auth.models import AnonymousUser
|
||||||
|
Reference in New Issue
Block a user