Hi!

This quirk causes problems for me as well. I use Sphinx for generating
course materials, where I occasionally update a chapter, rebuild and
upload corresponding html file to the course site. Usually I forget to
also upload those new copies of picture files and so I get broken
image references in the html.

Why does Sphinx work like that? Is there an option for turning off
this behaviour?

But in general, I'm extremely happy that I discovered Sphinx! Many
thanks for the authors!

best regards,
Aivar


On Jul 28, 12:23 pm, Aaron Ross <aaronelliotr...@gmail.com> wrote:
> Hi all,
>
> We're using sphinx to generate HTML documentation for a Python project. We
> generate the HTML and save it to a versioning system as part of a release
> management system.
>
> I'm totally confused by the way Sphinx generates a different image file each
> time we run a build. For example, the first run of make html copies an image
> to _build/html/_images/notavailable.jpg, then next time a file that contains
> an image is modified, sphinx creates _build/html/_images/notavailable1.jpg
>
> Running a make clean between builds resets the counter, but obviously doing
> a full rebuild everytime is no fun. I've seen a few other posts about this,
> but nothing that clarified for me if this a bug or a feature I don't
> understand.
>
> Is this incrementing image number intentional? Where is the counter stored?
>
> Thanks in advance,
>
> Aaron

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to