Merge pull request #26668 from backstage/add-app-next-comment

app-next: add comment explaining why we're importing TechDocs as a legacy plugin and converting it
This commit is contained in:
Patrik Oldsberg
2024-09-13 13:17:39 +03:00
committed by GitHub
+5
View File
@@ -82,6 +82,11 @@ TODO:
/* app.tsx */
/**
* TechDocs does support the new frontend system so this conversion is not
* strictly necessary, but it's left here to provide a demo of the utilities for
* converting legacy plugins.
*/
const convertedTechdocsPlugin = convertLegacyPlugin(techdocsPlugin, {
extensions: [
// TODO: We likely also need a way to convert an entire <Route> tree similar to collectLegacyRoutes