Files
backstage/.changeset/techdocs-eleven-planes-teach.md
T
Himanshu Mishra 11242ac41e Apply suggestions from code review
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-12 08:55:17 +01:00

789 B

@backstage/techdocs-common, @backstage/plugin-techdocs-backend
@backstage/techdocs-common @backstage/plugin-techdocs-backend
patch patch

Applies only if you use TechDocs local builder instead of building on CI/CD i.e. if techdocs.builder in your app-config.yaml is set to 'local'

Improvements

  1. Do not check for updates in the repository if a check has been made in the last 60 seconds. This is to prevent the annoying check for update on every page switch or load.
  2. No need to maintain an in-memory etag storage, and use the one stored in techdocs_metadata.json file alongside generated docs.

New feature

  1. You can now use a mix of basic and recommended setup i.e. techdocs.builder is 'local' but using an external cloud storage instead of local storage. Previously, in this setup, the docs would never get updated.