Hi,

How about sphinx.builders.html.StandaloneHTMLBuilder.render_partial()?
It will generate HTML for specific node and its children.

Thanks,
Takeshi KOMIYA

2016年8月10日水曜日 8時48分41秒 UTC+9 Brad Miller:
>
> Hi,
>
> I've written a custom directive, which may contain other directives.  All 
> is being handled correctly, and the final html file is working fine.
> However, for this particular directive I would like to save the generated 
> html for the node and all of its children.  I don't see a way to do this. 
>  I have my visit_xxx_node and depart_xxx_node functions but those are just 
> appending to body.  I don't see anywhere in any of the documentation or 
> examples where I might get the generated html for a particular node and its 
> children.
>
> Any ideas?
>
>
> Brad
>

-- 
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.

Reply via email to