Skip to main content
Version: Next

DirectoryPreparer

Home > @backstage/plugin-techdocs-node > DirectoryPreparer

Preparer used to retrieve documentation files from a local directory

Signature:

class DirectoryPreparer implements PreparerBase 

Implements: PreparerBase

Methods

MethodModifiersDescription
fromConfig(config, options)staticReturns a directory preparer instance
prepare(entity, options)Given an Entity definition from the Software Catalog, go and prepare a directory with contents from the location in temporary storage and return the path.
shouldCleanPreparedDirectory()Indicates whether the prepared directory should be cleaned after generation.