diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-10-24 20:27:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 20:27:30 +0900 |
commit | 6e1c78f3b4af68e852a97d8707cf542b1e9b5f7c (patch) | |
tree | f733cde368a76f7f5d2113d64f40fa8c7853e9e3 /tests | |
parent | c8f018bfd3f8dbe58ca4b4929c26d354bc09cf3d (diff) | |
parent | 4f19f400bfb22f0549c69718f193371c6d9208fa (diff) | |
download | sphinx-git-6e1c78f3b4af68e852a97d8707cf542b1e9b5f7c.tar.gz |
Merge pull request #8295 from tk0miya/refactor_root
refactor: Remove rst_epilog from test-root/conf.py
Diffstat (limited to 'tests')
-rw-r--r-- | tests/roots/test-root/conf.py | 2 | ||||
-rw-r--r-- | tests/roots/test-root/markup.txt | 4 | ||||
-rw-r--r-- | tests/test_build_html.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/roots/test-root/conf.py b/tests/roots/test-root/conf.py index b3cc12ae0..c3a890045 100644 --- a/tests/roots/test-root/conf.py +++ b/tests/roots/test-root/conf.py @@ -32,8 +32,6 @@ pygments_style = 'sphinx' show_authors = True numfig = True -rst_epilog = '.. |subst| replace:: global substitution' - html_sidebars = {'**': ['localtoc.html', 'relations.html', 'sourcelink.html', 'customsb.html', 'searchbox.html'], 'index': ['contentssb.html', 'localtoc.html', 'globaltoc.html']} diff --git a/tests/roots/test-root/markup.txt b/tests/roots/test-root/markup.txt index e6adef55e..7cd3e95ea 100644 --- a/tests/roots/test-root/markup.txt +++ b/tests/roots/test-root/markup.txt @@ -22,7 +22,9 @@ Meta markup Generic reST ------------ -A |subst| (the definition is in rst_epilog). +A |subst|! + +.. |subst| replace:: global substitution .. highlight:: none diff --git a/tests/test_build_html.py b/tests/test_build_html.py index 8cd541481..1f9f8eac7 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -258,7 +258,7 @@ def test_html4_output(app, status, warning): (".//pre/strong", 'try_stmt'), (".//pre/a[@href='#grammar-token-try1_stmt']/code/span", 'try1_stmt'), # tests for ``only`` directive - (".//p", 'A global substitution.'), + (".//p", 'A global substitution!'), (".//p", 'In HTML.'), (".//p", 'In both.'), (".//p", 'Always present'), |