Skip to content

Commit

Permalink
Fix ext
Browse files Browse the repository at this point in the history
  • Loading branch information
lukelbd committed Sep 16, 2019
1 parent 9de3a8c commit f569b07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/sphinxext/custom_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ def rc_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
if len(relsource) == 1:
return [], []
levels = relsource[1].count('/') # distance to 'docs' folder
refuri = ('../' * levels +
f'en/latest/rctools.html?highlight={text}#' +
'rcExtraParams' if '.' in text else 'rcGlobals')
refuri = ('../' * levels + f'en/latest/rctools.html?highlight={text}#'
+ ('rcExtraParams' if '.' in text else 'rcGlobals'))

ref = nodes.reference(rawtext, rendered, refuri=refuri)
node_list = [nodes.literal('', '', ref)]
Expand Down
2 changes: 1 addition & 1 deletion proplot/subplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ def __init__(self,
panelpad : float or str, optional
Padding between subplots and axes panels, and between "stacked"
panels. Units are interpreted by `~proplot.utils.units`.Default is
:rc:`subplots.panelpad`.
:rc:`subplots.panelpad`.
includepanels : bool, optional
Whether to include panels when centering *x* axis labels,
*y* axis labels, and figure "super titles" along the edge of the
Expand Down

0 comments on commit f569b07

Please sign in to comment.