mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1123: Allow whitespaces in filenames given to :rst:dir:literalinclude.
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -163,6 +163,7 @@ Bugs fixed
|
||||
* #1127: Fix traceback when autodoc tries to tokenize a non-Python file.
|
||||
* #1126: Fix double-hyphen to en-dash conversion in wrong places such as
|
||||
command-line option names in LaTeX.
|
||||
* #1123: Allow whitespaces in filenames given to :rst:dir:`literalinclude`.
|
||||
* #1117: Handle .pyx files in sphinx-apidoc.
|
||||
* #1112: Avoid duplicate download files when referenced from documents in
|
||||
different ways (absolute/relative).
|
||||
|
||||
@@ -92,7 +92,7 @@ class LiteralInclude(Directive):
|
||||
has_content = False
|
||||
required_arguments = 1
|
||||
optional_arguments = 0
|
||||
final_argument_whitespace = False
|
||||
final_argument_whitespace = True
|
||||
option_spec = {
|
||||
'linenos': directives.flag,
|
||||
'tab-width': int,
|
||||
|
||||
Reference in New Issue
Block a user