Show More
@@ -44,6 +44,7 b' extensions = [' | |||
|
44 | 44 | 'matplotlib.sphinxext.only_directives', |
|
45 | 45 | 'matplotlib.sphinxext.plot_directive', |
|
46 | 46 | 'sphinx.ext.autodoc', |
|
47 | 'sphinx.ext.autosummary', | |
|
47 | 48 | 'sphinx.ext.doctest', |
|
48 | 49 | 'sphinx.ext.inheritance_diagram', |
|
49 | 50 | 'sphinx.ext.intersphinx', |
@@ -415,7 +415,8 b' class ApiDocWriter(object):' | |||
|
415 | 415 | idx = open(path,'wt') |
|
416 | 416 | w = idx.write |
|
417 | 417 | w('.. AUTO-GENERATED FILE -- DO NOT EDIT!\n\n') |
|
418 |
w('.. |
|
|
419 | for f in self.written_modules: | |
|
420 | w(' %s\n' % os.path.join(relpath,f)) | |
|
418 | w('.. autosummary::\n' | |
|
419 | ' :toctree: %s\n\n' % relpath) | |
|
420 | for mod in self.written_modules: | |
|
421 | w(' %s\n' % mod) | |
|
421 | 422 | idx.close() |
General Comments 0
You need to be logged in to leave comments.
Login now