Hi all.
I have a custom directive defined as an extension (in a similar way as TODO example on sphinx page.
Problem is that this extension is used for html output via visit_my_node/depart_my_node methods, but I would have liked to implement a similar thing for docx builder.
I saw in the documentation that I should probably use a translator, but I can't really figure out how.
How should I proceed?
Hi all.
I have a custom directive defined as an extension (in a similar way as TODO example on sphinx page.
Problem is that this extension is used for html output via visit_my_node/depart_my_node methods, but I would have liked to implement a similar thing for docx builder.
I saw in the documentation that I should probably use a translator, but I can't really figure out how.
How should I proceed?