Skip to content

Commit

Permalink
Merge branch 'main' into feat/use-shared-dropdown-panel
Browse files Browse the repository at this point in the history
  • Loading branch information
EnMod committed Sep 9, 2024
2 parents 470d876 + b7223fe commit df7385e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/docs-view/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/<product>.json`.
*/
const isPublicContentRepo = !['hcp', 'sentinel', 'terraform'].includes(
product.slug
)
const isHcp = product.slug == 'hcp'
const isSentinel = product.slug == 'sentinel'
const isPublicContentRepo = !isHcp && !isSentinel
if (isPublicContentRepo) {
layoutProps.githubFileUrl = githubFileUrl
}
Expand Down

0 comments on commit df7385e

Please sign in to comment.