@backstage/plugin-techdocs-node
Home > @backstage/plugin-techdocs-node
Common functionalities for TechDocs, to be shared between techdocs-backend plugin and techdocs-cli
Classes
Class |
Description |
---|---|
Preparer used to retrieve documentation files from a local directory | |
Collection of docs generators | |
Collection of docs preparers (dir and url) | |
Factory class to create a TechDocs publisher based on defined publisher type in app config. Uses | |
Generates documentation files | |
Preparer used to retrieve documentation files from a remote repository |
Functions
Function |
Description |
---|---|
Returns a preparer response PreparerResponse | |
Returns an entity reference based on the TechDocs annotation type | |
Finds and loads the contents of an mkdocs.yml, mkdocs.yaml file, a file with a specified name or an ad-hoc created file with minimal config. | |
Returns a parsed locations annotation | |
transformDirLocation(entity, dirAnnotation, scmIntegrations) |
TechDocs references of type |
Interfaces
Interface |
Description |
---|---|
A strategy for when to build TechDocs locally, and when to skip building TechDocs (allowing for an external build) | |
Base class for a TechDocs publisher (e.g. Local, Google GCS Bucket, AWS S3, etc.) The publisher handles publishing of the generated static files after the prepare and generate steps of TechDocs. It also provides APIs to communicate with the storage service. | |
Additional configurations for publishers. | |
Extension point type for configuring TechDocs builds. | |
Handles the running of containers to generate TechDocs. Custom implementations, e.g. for Kubernetes or other execution environments, can be inspired by the internal default implementation | |
TechDocs indexable document interface | |
Extension point type for configuring a custom TechDocs generator | |
Extension point type for configuring a custom TechDocs preparer | |
Extension point type for configuring a custom TechDocs publisher |
Variables
Variable |
Description |
---|---|
Extension point for configuring TechDocs builds. | |
Extension point for configuring a custom TechDocs generator | |
Extension point for configuring a custom TechDocs preparer | |
Extension point for configuring a custom TechDocs publisher |
Type Aliases
Type Alias |
Description |
---|---|
A unique identifier of the tree blob, usually the commit SHA or etag from the target. | |
Generates documentation files | |
The generator builder holds the generator ready for run time | |
Options for building generators | |
The values that the generator will receive. | |
TechDocs entity triplet migration request | |
Parsed location annotation | |
Definition of a TechDocs preparer | |
Definition for a TechDocs preparer builder | |
Options for building preparers | |
Options for configuring the content preparation process. | |
Result of the preparation step. | |
Definition for a TechDocs publisher builder | |
Options for building publishers | |
Key for all the different types of TechDocs publishers that are supported. | |
Request publish definition | |
Response containing metadata about where files were published and what may have been published or updated. | |
Result for the validation check. | |
Location where documentation files are stored | |
List of supported generator options | |
Type to hold metadata found in techdocs_metadata.json and associated with each site |