Commits

Anonymous committed a023dd5

Add autosummary to tests.

  • Participants
  • Parent commits 9a532aa

Comments (0)

Files changed (3)

File tests/root/autosummary.txt

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

File tests/root/conf.py

 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'
 
 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')
 

File tests/root/contents.txt

    desc
    math
    autodoc
+   autosummary
 
    Python <http://python.org/>