changeset: Info about techdocs generator api change

This commit is contained in:
Himanshu Mishra
2021-01-11 22:39:05 +01:00
parent 2165901c00
commit f7ecdbb397
+5 -2
View File
@@ -1,6 +1,9 @@
---
'@backstage/techdocs-common': patch
'@backstage/plugin-techdocs-backend': patch
---
Improve techdocs-common Generator API for it to be used by techdocs-cli. No breaking changes.
Generator can now accept an output directory.
Improve techdocs-common Generator API for it to be used by techdocs-cli. TechDocs generator.run function now takes
an input AND an output directory. Most probably you use techdocs-common via plugin-techdocs-backend, and so there
is no breaking change for you.
But if you use techdocs-common separately, you need to create an output directory and pass into the generator.