Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Remove rst_epilog from test-root/conf.py #8295

Merged
merged 1 commit into from Oct 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/roots/test-root/conf.py
Expand Up @@ -32,8 +32,6 @@
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']}
Expand Down
4 changes: 3 additions & 1 deletion tests/roots/test-root/markup.txt
Expand Up @@ -22,7 +22,9 @@ Meta markup
Generic reST
------------

A |subst| (the definition is in rst_epilog).
A |subst|!

.. |subst| replace:: global substitution

.. highlight:: none

Expand Down
2 changes: 1 addition & 1 deletion tests/test_build_html.py
Expand Up @@ -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'),
Expand Down