The default setting for master_doc is changed to 'index'

This commit is contained in:
Takeshi KOMIYA
2018-09-03 21:38:31 +09:00
parent bc02abcb77
commit abcb5bd5ec
42 changed files with 57 additions and 52 deletions

View File

@@ -20,7 +20,7 @@ from sphinx import addnodes
def test_autodoc(app, status, warning):
app.builder.build_all()
content = pickle.loads((app.doctreedir / 'contents.doctree').bytes())
content = pickle.loads((app.doctreedir / 'index.doctree').bytes())
assert isinstance(content[3], addnodes.desc)
assert content[3][0].astext() == 'autodoc_dummy_module.test'
assert content[3][1].astext() == 'Dummy function using dummy.*'