literalinclude directive does not support file paths with spaces
I want to use the
literalinclude directive on a path containing a space. I assumed there was some way to escape spaces in order to pass them into .rst directives, but I tried surrounding the path in double-quotes and escaping with a backslash, and in both cases I got:
ERROR: Error in "literalinclude" directive: maximum 1 argument(s) allowed, 2 supplied.
I've tried setting
final_argument_whitespace = True
in the LiteralInclude class (actually overriding this in my conf.py), and it works fine. Since there's only 1 argument to the directive, this seems reasonable to me...