diff --git a/src/views/docs-view/server.ts b/src/views/docs-view/server.ts index 84424c41ed..effa868f41 100644 --- a/src/views/docs-view/server.ts +++ b/src/views/docs-view/server.ts @@ -418,9 +418,9 @@ export function getStaticGenerationFunctions< * Note: If we need more granularity here, we could change this to be * part of `rootDocsPath` configuration in `src/data/.json`. */ - const isHcp = product.slug == 'hcp' - const isSentinel = product.slug == 'sentinel' - const isPublicContentRepo = !isHcp && !isSentinel + const isPublicContentRepo = !['hcp', 'sentinel', 'terraform'].includes( + product.slug + ) if (isPublicContentRepo) { layoutProps.githubFileUrl = githubFileUrl }