Merge pull request #6335 from backstage/iameap/techdocs-cache

[TechDocs] Optional static resource caching
This commit is contained in:
Otto Sichert
2021-12-06 10:38:30 +01:00
committed by GitHub
33 changed files with 1232 additions and 138 deletions
+2
View File
@@ -29,6 +29,7 @@ export default async function createPlugin({
config,
discovery,
reader,
cache,
}: PluginEnvironment): Promise<Router> {
// Preparers are responsible for fetching source files for documentation.
const preparers = await Preparers.fromConfig(config, {
@@ -64,5 +65,6 @@ export default async function createPlugin({
logger,
config,
discovery,
cache,
});
}