Merge pull request #8295 from tk0miya/refactor_root

refactor: Remove rst_epilog from test-root/conf.py
This commit is contained in:
Takeshi KOMIYA 2020-10-24 20:27:30 +09:00 committed by GitHub
commit 6e1c78f3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -32,8 +32,6 @@ pygments_style = 'sphinx'
show_authors = True show_authors = True
numfig = True numfig = True
rst_epilog = '.. |subst| replace:: global substitution'
html_sidebars = {'**': ['localtoc.html', 'relations.html', 'sourcelink.html', html_sidebars = {'**': ['localtoc.html', 'relations.html', 'sourcelink.html',
'customsb.html', 'searchbox.html'], 'customsb.html', 'searchbox.html'],
'index': ['contentssb.html', 'localtoc.html', 'globaltoc.html']} 'index': ['contentssb.html', 'localtoc.html', 'globaltoc.html']}

View File

@ -22,7 +22,9 @@ Meta markup
Generic reST Generic reST
------------ ------------
A |subst| (the definition is in rst_epilog). A |subst|!
.. |subst| replace:: global substitution
.. highlight:: none .. highlight:: none

View File

@ -258,7 +258,7 @@ def test_html4_output(app, status, warning):
(".//pre/strong", 'try_stmt'), (".//pre/strong", 'try_stmt'),
(".//pre/a[@href='#grammar-token-try1_stmt']/code/span", 'try1_stmt'), (".//pre/a[@href='#grammar-token-try1_stmt']/code/span", 'try1_stmt'),
# tests for ``only`` directive # tests for ``only`` directive
(".//p", 'A global substitution.'), (".//p", 'A global substitution!'),
(".//p", 'In HTML.'), (".//p", 'In HTML.'),
(".//p", 'In both.'), (".//p", 'In both.'),
(".//p", 'Always present'), (".//p", 'Always present'),