Thanks Takayuki. This is not clearly written in the README of dotfigure package where to insert it.
Il giorno sabato 4 ottobre 2014 02:08:47 UTC+2, Takayuki SHIMIZUKAWA ha scritto: > > Hi, > > Sphinx extensions aren't working without sphinx. > > However, dotfigure works for me. > README.txt in the dotfigure-0.4.tar.gz says:: > > from dotfigure import register > register() > from docutils.core import publish_cmdline > publish_cmdline(writer='html') > > Then I inserted ``from dotfigure import register; register()`` to > rst2html.py. > (detail: https://gist.github.com/shimizukawa/2be38a00827a2c3d919a ) > > Please try it. > Regards, > -- > Takayuki SHIMIZUKAWA > http://about.me/shimizukawa > > > 2014-10-03 18:07 GMT+09:00 Enrico <[email protected] <javascript:>>: > > Hi there, > > > > I am trying to use the graphviz extension for an article I am writing. > Till > > now I was able use the directive just in a Sphinx project, adding it to > the > > conf.py file. But how can I use this directive if I want to edit a > single > > reST document without the need to start every time a Sphinx project? I > tried > > the dotfigure package (https://pypi.python.org/pypi/dotfigure/0.4) but > > without success (rstcheck says unknown directive). Thanks for any > > suggestions. > > > > -- > > 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] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/sphinx-users. > > For more options, visit https://groups.google.com/d/optout. > -- 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 http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
