blockdiag / sphinxcontrib-blockdiag

Other
16 stars 9 forks source link

Broken links for HTML images #1

Closed kubilus1 closed 9 years ago

kubilus1 commented 9 years ago

When generating HTML sphinx docs with blockdiag, nwdiag or seqdiag, all links are broken.

My sphinx layout is like so:

TOP/
        index.rst
        subdir/
                   doc1.rst

doc1.rst is where my *diag are located. The generated tree:

html/
       _images/
                     <bunch of *diag png files>
       subdir/
                  doc1.html

In doc1.html all links are of the format: src=_images/.png

This should be:

src=../_images/<something>.png

pip list:

sphinxcontrib-actdiag (0.8.2) sphinxcontrib-blockdiag (1.5.2) sphinxcontrib-nwdiag (0.9.2) sphinxcontrib-seqdiag (0.8.2)