mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add autosummary to tests.
This commit is contained in:
parent
8e00cff32c
commit
1861a9ec5d
5
tests/root/autosummary.txt
Normal file
5
tests/root/autosummary.txt
Normal file
@ -0,0 +1,5 @@
|
||||
Autosummary test
|
||||
================
|
||||
|
||||
.. autosummary:: sphinx.application
|
||||
:toctree: xyz
|
@ -5,7 +5,8 @@ import sys, os
|
||||
sys.path.append(os.path.abspath('.'))
|
||||
|
||||
extensions = ['ext', 'sphinx.ext.autodoc', 'sphinx.ext.jsmath',
|
||||
'sphinx.ext.coverage', 'sphinx.ext.todo']
|
||||
'sphinx.ext.coverage', 'sphinx.ext.todo',
|
||||
'sphinx.ext.autosummary']
|
||||
|
||||
jsmath_path = 'dummy.js'
|
||||
|
||||
@ -50,6 +51,8 @@ value_from_conf_py = 84
|
||||
coverage_c_path = ['special/*.h']
|
||||
coverage_c_regexes = {'cfunction': r'^PyAPI_FUNC\(.*\)\s+([^_][\w_]+)'}
|
||||
|
||||
autosummary_generate = ['autosummary']
|
||||
|
||||
# modify tags from conf.py
|
||||
tags.add('confpytag')
|
||||
|
||||
|
@ -19,6 +19,7 @@ Contents:
|
||||
desc
|
||||
math
|
||||
autodoc
|
||||
autosummary
|
||||
|
||||
Python <http://python.org/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user