(self, patterns, dirs, ignore=None)
return True
Load objects from the filesystem into the ``paths`` dictionary

        Also include an attribute on the object, ``relative_path`` which is the
        shortened, relative path the package/module
Load objects from the filesystem into the ``paths`` dictionary
Load objects from the filesystem into the paths dictionary
def load(self, patterns, dirs, ignore=None):
        """Load objects from the filesystem into the ``paths`` dictionary

        Also include an attribute on the object, ``relative_path`` which is the
        shortened, relative path the package/module
        """
        dir_root_files = list(self._find_files(patterns, dirs, ignore))
        if not self._need_to_load(dir_root_files):
            LOGGER.debug(
                "[AutoAPI] Skipping read stage because source files have not changed."
            )
            return False

        for dir_root, path in sphinx.util.status_iterator(
            dir_root_files,
            bold("[AutoAPI] Reading files... "),
            length=len(dir_root_files),
            stringify_func=(lambda x: x[1]),
        ):
            data = self.read_file(path=path, dir_root=dir_root)
            if data:
                data["relative_path"] = os.path.relpath(path, dir_root)
                self.paths[path] = data

        return True
def load ( self , patterns , dirs , ignore = None ) : dir_root_files = list ( self . _find_files ( patterns , dirs , ignore ) ) if not self . _need_to_load ( dir_root_files ) : LOGGER . debug ( "[AutoAPI] Skipping read stage because source files have not changed." ) return False for dir_root , path in sphinx . util . status_iterator ( dir_root_files , bold ( "[AutoAPI] Reading files... " ) , length = len ( dir_root_files ) , stringify_func = ( lambda x : x [ 1 ] ) , ) : data = self . read_file ( path = path , dir_root = dir_root ) if data : data [ "relative_path" ] = os . path . relpath ( path , dir_root ) self . paths [ path ] = data return True