At this time this will be used on both the html and latex writers.
The Docutils writers seems to ignore settings it receives that are
specific to other writers, so you can mix and match all the settings you
want.
Here are the settings I like to use:
RESTRUCTUREDTEXT_FILTER_SETTINGS = {'file_insertion_enabled': False,
'cloak_email_addresses': True, 'hyperlink_color': 0}
The first setting works for both html and latex. The second works for
only html, and the third works for only latex.
This patch defaults to an empty settings dictionary, which makes this
patch 100% backwards compatible. It might be a sane and sensible default
to turn off file insertion by default, otherwise docutils chokes and
smug throws a 500 error.