Skip to content

Commit 5172f4a

Browse files
committed
Update conf.py
1 parent 3281563 commit 5172f4a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,16 +229,17 @@ def linkcode_resolve(domain, info):
229229
# to the beginning to give the path of that file from the root folder
230230
# of gnss_lib_py and the tests directory adjacent to it
231231

232+
print(f'filepath before: {filepath}')
232233
filepath = relpath(filepath, dirname(gnss_lib_py.__file__))
233234
filepath = os.path.join('gnss_lib_py', filepath)
235+
print(f'filepath after: {filepath}')
234236

235237
if lineno:
236238
linestart = lineno
237239
linestop = lineno + len(source) - 1
238240
else:
239241
linestart = ""
240242
linestop = ""
241-
print(f'filepath: {filepath}')
242243
codelink = linkcode_url.format(
243244
filepath=filepath, linestart=linestart, linestop=linestop)
244245
return codelink

0 commit comments

Comments
 (0)