|
|
|
@ -207,7 +207,7 @@ class SphinxMapperBase:
|
|
|
|
|
def load(self, patterns, dirs, ignore=None):
|
|
|
|
|
"""Load objects from the filesystem into the ``paths`` dictionary."""
|
|
|
|
|
paths = list(self.find_files(patterns=patterns, dirs=dirs, ignore=ignore))
|
|
|
|
|
for path in sphinx.util.status_iterator(
|
|
|
|
|
for path in sphinx.util.display.status_iterator(
|
|
|
|
|
paths,
|
|
|
|
|
colorize("bold", "[AutoAPI] Reading files... "),
|
|
|
|
|
"darkgreen",
|
|
|
|
@ -290,7 +290,7 @@ class SphinxMapperBase:
|
|
|
|
|
|
|
|
|
|
def map(self, options=None):
|
|
|
|
|
"""Trigger find of serialized sources and build objects"""
|
|
|
|
|
for _, data in sphinx.util.status_iterator(
|
|
|
|
|
for _, data in sphinx.util.display.status_iterator(
|
|
|
|
|
self.paths.items(),
|
|
|
|
|
colorize("bold", "[AutoAPI] ") + "Mapping Data... ",
|
|
|
|
|
length=len(self.paths),
|
|
|
|
@ -308,7 +308,7 @@ class SphinxMapperBase:
|
|
|
|
|
raise NotImplementedError
|
|
|
|
|
|
|
|
|
|
def output_rst(self, root, source_suffix):
|
|
|
|
|
for _, obj in sphinx.util.status_iterator(
|
|
|
|
|
for _, obj in sphinx.util.display.status_iterator(
|
|
|
|
|
self.objects.items(),
|
|
|
|
|
colorize("bold", "[AutoAPI] ") + "Rendering Data... ",
|
|
|
|
|
length=len(self.objects),
|
|
|
|
|