Commits

Anonymous committed 3e1f5e1

Fix test.

  • Participants
  • Parent commits c3fc7e3

Comments (0)

Files changed (2)

File sphinx/ext/autosummary/__init__.py

     app.setup_extension('sphinx.ext.autodoc')
     app.add_node(autosummary_toc,
                  html=(autosummary_toc_visit_html, autosummary_noop),
-                 latex=(autosummary_toc_visit_latex, autosummary_noop))
+                 latex=(autosummary_toc_visit_latex, autosummary_noop),
+                 text=(autosummary_noop, autosummary_noop))
     app.add_directive('autosummary', Autosummary)
     app.add_role('autolink', autolink_role)
     app.connect('doctree-read', process_autosummary_toc)

File tests/root/autosummary.txt

 Autosummary test
 ================
 
-.. autosummary:: sphinx.application
-   :toctree: xyz
+.. autosummary::
+   :toctree: generated
+
+   sphinx.application