Hi,
You can use self.state.nested_parse() instead at Directive.run().
Thanks,
Takeshi KOMIYA
2016年9月7日水曜日 3時45分06秒 UTC+9 Jason S:
>
> Custom role functions have an inliner:
>
> def myrole(role, rawtext, text, lineno, inliner, options={}, content=[]):
>
> ...
>
>
> But what about a custom Directive? How can I get the inliner from within the
> run() function? I need to call inliner.nested_parse().
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.