We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3281563 commit 5172f4aCopy full SHA for 5172f4a
1 file changed
docs/source/conf.py
@@ -229,16 +229,17 @@ def linkcode_resolve(domain, info):
229
# to the beginning to give the path of that file from the root folder
230
# of gnss_lib_py and the tests directory adjacent to it
231
232
+ print(f'filepath before: {filepath}')
233
filepath = relpath(filepath, dirname(gnss_lib_py.__file__))
234
filepath = os.path.join('gnss_lib_py', filepath)
235
+ print(f'filepath after: {filepath}')
236
237
if lineno:
238
linestart = lineno
239
linestop = lineno + len(source) - 1
240
else:
241
linestart = ""
242
linestop = ""
- print(f'filepath: {filepath}')
243
codelink = linkcode_url.format(
244
filepath=filepath, linestart=linestart, linestop=linestop)
245
return codelink
0 commit comments