message: Always rebuild docs if stored locally
diff: @@ -106,17 +106,24 @@ export class DocsBuilder {
  const buildMetadataStorage = new BuildMetadataStorage(
  this.entity.metadata.uid,
  );
  - const { target } = getLocationForEntity(this.entity);
  + const { type, target } = getLocationForEntity(this.entity);
  +
  + // Unless docs are stored locally
  + const nonAgeCheckTypes = ['dir', 'file'];
  + if (!nonAgeCheckTypes.includes(type)) {
  const lastCommit = await getLastCommitTimestamp(target, this.logger);
  const storageTimeStamp = buildMetadataStorage.getTimestamp();
  // Check if documentation source is newer than what we have
  if (storageTimeStamp && storageTimeStamp >= lastCommit) {
  this.logger.debug(
  - `[TechDocs] Docs for entity ${getEntityId(this.entity)} is up to date.`,
  + `[TechDocs] Docs for entity ${getEntityId(
  + this.entity,
  + )} is up to date.`,
  );
  return true;
  }
  + }
  this.logger.debug(
  `[TechDocs] Docs for entity ${getEntityId(this.entity)} was outdated.`,
  