[docutils:patches] #159 issue a warning when an image file does not exist

"Günter Milde" via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/patches/159/8c40714f8bb054cdca71be1d9431753cc7961430.patches@docutils.p.sourceforge.net>
- **status**: pending-remind --> closed-rejected



---

**[patches:#159] issue a warning when an image file does not exist**

**Status:** closed-rejected
**Group:** None
**Created:** Wed Jul 24, 2019 08:45 PM UTC by Nathaniel Beaver
**Last Updated:** Wed Aug 26, 2020 12:21 PM UTC
**Owner:** nobody
**Attachments:**

- [0001-Issue-warning-if-image-file-does-not-exist.patch](https://sourceforge.net/p/docutils/patches/159/attachment/0001-Issue-warning-if-image-file-does-not-exist.patch) (1.5 kB; text/x-patch)


rst2html does not issue a warning when an image file does not exist. For example, this will not produce a warning if the file "this-does-no-exist.png" does not exist:

~~~
.. image:: this-does-not-exist.png
~~~

I have attached a patch that issues a warning when file insertion is enabled and the image URI is a file URL or a path.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.