mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refactor: Remove unused method
This commit is contained in:
parent
9d975b65bd
commit
c50ce99c9d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user