mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #6744: support for seealso directive should be via an environment
This commit is contained in:
@@ -135,6 +135,17 @@ def test_writer(app, status, warning):
|
||||
|
||||
assert 'Footnotes' not in result
|
||||
|
||||
assert ('\\begin{sphinxseealso}{See also}\n\n'
|
||||
'\\sphinxAtStartPar\n'
|
||||
'something, something else, something more\n'
|
||||
'\\begin{description}\n'
|
||||
'\\sphinxlineitem{\\sphinxhref{http://www.google.com}{Google}}\n'
|
||||
'\\sphinxAtStartPar\n'
|
||||
'For everything.\n'
|
||||
'\n'
|
||||
'\\end{description}\n'
|
||||
'\n\n\\end{sphinxseealso}\n\n' in result)
|
||||
|
||||
|
||||
@pytest.mark.sphinx('latex', testroot='warnings', freshenv=True)
|
||||
def test_latex_warnings(app, status, warning):
|
||||
|
||||
Reference in New Issue
Block a user