Hi everyone,

is there a way to "inline" replace a directive

.. package-diagram::
   <some directive options>

with

.. graphviz::

   digraph package_diagram{
      <dot representation of the diagram>
   }

during the build process somehow?

My actual use case is to run pylint/pyreverse on a package to generate the 
dot representation of the package diagram. I use an extension specific 
directive to trigger the pylint invokation (.. package-diagram::). After 
the dot code has been generated it needs to be considered with the graphviz 
directive (.. graphviz::) instead of the original extension directive (.. 
package-diagram::). https://github.com/fkromer/sphinxcontrib-pylint

It would be great to get some support.

Thanks in advance,
Florian

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