mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-12 05:54:50 -05:00
Merge pull request #9053 from tk0miya/title_node_for_toctree_caption
Fix #8870: Use title node for the caption of toctree
This commit is contained in:
+2
-5
@@ -622,11 +622,8 @@ def test_html_meta(app):
|
||||
assert expected_expr in result
|
||||
expected_expr = '<meta content="I18N, SPHINX, MARKUP" name="keywords" />'
|
||||
assert expected_expr in result
|
||||
if docutils.__version_info__ < (0, 17):
|
||||
expected_expr = '<p class="caption"><span class="caption-text">HIDDEN TOC</span></p>'
|
||||
assert expected_expr in result
|
||||
else:
|
||||
expected_expr = '<p><span class="caption-text">HIDDEN TOC</span></p>'
|
||||
expected_expr = '<p class="caption"><span class="caption-text">HIDDEN TOC</span></p>'
|
||||
assert expected_expr in result
|
||||
|
||||
|
||||
@sphinx_intl
|
||||
|
||||
Reference in New Issue
Block a user