mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix test.
This commit is contained in:
parent
74dd919170
commit
9f12d678aa
@ -317,7 +317,8 @@ def setup(app):
|
||||
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)
|
||||
|
@ -1,5 +1,7 @@
|
||||
Autosummary test
|
||||
================
|
||||
|
||||
.. autosummary:: sphinx.application
|
||||
:toctree: xyz
|
||||
.. autosummary::
|
||||
:toctree: generated
|
||||
|
||||
sphinx.application
|
||||
|
Loading…
Reference in New Issue
Block a user