Skip to content

Commit d1fbfff

Browse files
committed
rename function
1 parent b095a32 commit d1fbfff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sphinx/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def setup(app):
413413

414414

415415
# select correct base URL depending on the build system context
416-
def get_base_url():
416+
def get_source_files_base_url():
417417
"""
418418
Get the base URL for the source code to generate links to GitHub source.
419419
If the build is on ReadTheDocs and it's a stable version, use the
@@ -491,7 +491,7 @@ def get_linenos(obj):
491491
return start, start + len(lines) - 1
492492

493493

494-
URL_BASE = get_base_url() # Source code URL for Edit on GitHub links
494+
URL_BASE = get_source_files_base_url() # Edit on GitHub source code links
495495

496496

497497
def make_github_url(file_name):

0 commit comments

Comments
 (0)