Skip to content

Commit

Permalink
Fix .proplotrc file link
Browse files Browse the repository at this point in the history
  • Loading branch information
lukelbd committed Sep 16, 2019
1 parent ad8617f commit 6f9f0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sphinxext/custom_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def rc_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
return [], []
levels = relsource[1].count('/') # distance to 'docs' folder
refuri = ('../' * levels +
f'en/latest/rctools.html?highlight={text}#.proplotrc-file')
f'en/latest/rctools.html?highlight={text}#proplotrc-file')

ref = nodes.reference(rawtext, rendered, refuri=refuri)
node_list = [nodes.literal('', '', ref)]
Expand Down

0 comments on commit 6f9f0d0

Please sign in to comment.