Generators.register()
Home > @backstage/plugin-techdocs-node
> Generators
> register
Register a generator in the generators collection
Signature:
register(generatorKey: SupportedGeneratorKey, generator: GeneratorBase): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
generatorKey |
Unique identifier for the generator | |
generator |
The generator instance to register |
void