sphinx-needs icon indicating copy to clipboard operation
sphinx-needs copied to clipboard

Option to save the generated image a a relative path

Open revati-naik opened this issue 10 months ago • 1 comments

I am using the sphinx-markdown-builder and in the output markdown file, I see the tag for needpie. However, the path to the image file is absolute. Can we instead have a relative path?

Can we set the path to save the image via a tag in needpie?

The output I see is

![image](/home/firstname.lastname/some/path/need_pie.png

revati-naik avatar Apr 02 '24 18:04 revati-naik

I'm not sure if we can do here much, as needpie is generating relative paths for the default builders like html. So from my point of view the functions works as expected. And I can't say, why this is not working with sphinx-markdown-builder.

Maybe someone can help here and knows some internal details about sphinx-markdown-builder.

danwos avatar Apr 02 '24 20:04 danwos

heya, closing this, since it is not supported in sphinx, I'm afraid it will not be supported in sphinx-needs

chrisjsewell avatar Sep 02 '24 09:09 chrisjsewell