diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-09-29 21:33:53 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-29 21:33:53 +0900 |
commit | c98a0280044253b3658a4d7d266dcfe390a838cf (patch) | |
tree | d4d500f2dad3bbdab82820f1f4bb2ae5bc97a6ff /tests/test_builder.py | |
parent | d2c3d54bb9a46c5e7a0d14c3345e489d7592de9a (diff) | |
parent | 973c3ffa25f6f14e53382f7a45ffbeee9d252b3c (diff) | |
download | sphinx-git-c98a0280044253b3658a4d7d266dcfe390a838cf.tar.gz |
Merge pull request #5385 from tk0miya/change_master_doc_to_index
The default setting for master_doc is changed to 'index'
Diffstat (limited to 'tests/test_builder.py')
-rw-r--r-- | tests/test_builder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_builder.py b/tests/test_builder.py index d58091e8d..dbc9d3dae 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -22,7 +22,7 @@ def test_incremental_reading(app): # before second reading, add, modify and remove source files (app.srcdir / 'new.txt').write_text('New file\n========\n') - app.env.all_docs['contents'] = 0 # mark as modified + app.env.all_docs['index'] = 0 # mark as modified (app.srcdir / 'autodoc.txt').unlink() # second reading @@ -31,7 +31,7 @@ def test_incremental_reading(app): # "includes" and "images" are in there because they contain references # to nonexisting downloadable or image files, which are given another # chance to exist - assert set(updated) == set(['contents', 'new', 'includes', 'images']) + assert set(updated) == set(['index', 'new', 'includes', 'images']) assert 'autodoc' not in app.env.all_docs assert 'autodoc' not in app.env.found_docs |