summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sphinx/builders/html/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/sphinx/builders/html/__init__.py b/sphinx/builders/html/__init__.py
index 8c2e169ae..ccdd4c4e9 100644
--- a/sphinx/builders/html/__init__.py
+++ b/sphinx/builders/html/__init__.py
@@ -960,17 +960,6 @@ class StandaloneHTMLBuilder(Builder):
ctx['sidebars'] = sidebars
ctx['customsidebar'] = customsidebar
- def proc_resource_ref(self, uri: str) -> str:
- """Parse uri of a resource file and return its reference. If its a local file,
- return the name of the file.
- """
- ref = ''
- if isurl(uri):
- ref = uri
- elif uri:
- ref = path.join('_static', path.basename(uri))
- return ref
-
# --------- these are overwritten by the serialization builder
def get_target_uri(self, docname: str, typ: str = None) -> str: