mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
The default setting for master_doc is changed to 'index'
This commit is contained in:
@@ -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.*'
|
||||
|
||||
Reference in New Issue
Block a user