Skip to main content

UrlPreparer.prepare()

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

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.

Signature:

prepare(entity: Entity, options?: PreparerOptions): Promise<PreparerResponse>;

Parameters

ParameterTypeDescription
entityEntityThe entity from the Software Catalog
optionsPreparerOptions(Optional) If etag is provided, it will be used to check if the target has updated since the last build.

Returns:

Promise<PreparerResponse>