Skip to main content

UrlPreparer

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

Preparer used to retrieve documentation files from a remote repository

Signature:

class UrlPreparer implements PreparerBase 

Implements: PreparerBase

Methods

MethodModifiersDescription
fromConfig(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.