Commits

Georg Brandl committed ca45460

Only output one status for all module code pages.

  • Participants
  • Parent commits 99ee00f

Comments (0)

Files changed (1)

File sphinx/ext/viewcode.py

 
     modnames = set(env._viewcode_modules)
 
+    app.builder.info(' (%d module code pages)' %
+                     len(env._viewcode_modules), nonl=1)
+
     for modname, (code, tags, used) in env._viewcode_modules.iteritems():
         # construct a page name for the highlighted source
         pagename = '_modules/' + modname.replace('.', '/')
             'body': _('<h1>Source code for %s</h1>') % modname + \
                     '\n'.join(lines)
         }
-        app.builder.info(' '+pagename, nonl=1)
         yield (pagename, context, 'page.html')
 
     if not modnames: