mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix style checks
This commit is contained in:
parent
77f9bbd9cc
commit
7cfbc2a702
@ -182,7 +182,7 @@ The doctest extension uses the following configuration values:
|
|||||||
.. confval:: doctest_default_flags
|
.. confval:: doctest_default_flags
|
||||||
|
|
||||||
By default, these options are enabled:
|
By default, these options are enabled:
|
||||||
|
|
||||||
- ``ELLIPSIS``, allowing you to put ellipses in the expected output that
|
- ``ELLIPSIS``, allowing you to put ellipses in the expected output that
|
||||||
match anything in the actual output;
|
match anything in the actual output;
|
||||||
- ``IGNORE_EXCEPTION_DETAIL``, causing everything following the leftmost
|
- ``IGNORE_EXCEPTION_DETAIL``, causing everything following the leftmost
|
||||||
|
@ -40,7 +40,7 @@ It adds this directive:
|
|||||||
included.
|
included.
|
||||||
|
|
||||||
.. versionchanged:: 1.5
|
.. versionchanged:: 1.5
|
||||||
Added ``caption`` option
|
Added ``caption`` option
|
||||||
|
|
||||||
|
|
||||||
New config values are:
|
New config values are:
|
||||||
|
@ -228,7 +228,8 @@ def test_literalinclude_file_whole_of_emptyline(app, status, warning):
|
|||||||
app.builder.build_all()
|
app.builder.build_all()
|
||||||
latex = (app.outdir / 'Python.tex').text(encoding='utf-8').replace('\r\n', '\n')
|
latex = (app.outdir / 'Python.tex').text(encoding='utf-8').replace('\r\n', '\n')
|
||||||
includes = (
|
includes = (
|
||||||
'\\begin{sphinxVerbatim}[commandchars=\\\\\\{\\},numbers=left,firstnumber=1,stepnumber=1]\n'
|
'\\begin{sphinxVerbatim}'
|
||||||
|
'[commandchars=\\\\\\{\\},numbers=left,firstnumber=1,stepnumber=1]\n'
|
||||||
'\n'
|
'\n'
|
||||||
'\n'
|
'\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user