Skip to content

Commit 65ec4b5

Browse files
committed
Fix custom_roles sphinxext
1 parent 45629b1 commit 65ec4b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sphinxext/custom_roles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from docutils import nodes
22
from os.path import sep
3-
from proplot.internals import defaults
3+
from proplot.internals import rcsetup
44

55

66
def get_nodes(rawtext, text, inliner):
@@ -20,7 +20,7 @@ def get_nodes(rawtext, text, inliner):
2020
def rc_role(name, rawtext, text, lineno, inliner, options={}, content=[]): # noqa: U100
2121
node_list = get_nodes(rawtext, text, inliner)
2222
try:
23-
default = defaults._get_default_param(text)
23+
default = rcsetup._get_default_param(text)
2424
except KeyError:
2525
pass
2626
else:

0 commit comments

Comments
 (0)