Skip to content

Commit 30106df

Browse files
Migrate terraform-docs-common (#227)
1 parent 8a0de15 commit 30106df

File tree

438 files changed

+61128
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

438 files changed

+61128
-22
lines changed

app/utils/productConfig.mjs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -284,28 +284,28 @@ export const PRODUCT_CONFIG = {
284284
// versionedDocs: true,
285285
// websiteDir: 'website',
286286
// },
287-
// 'terraform-docs-common': {
288-
// /**
289-
// * ✅ Initial migration attempt: SEEMS TO WORK
290-
// *
291-
// * Maybe worth noting: versioned docs is not enabled for `terraform-docs-common`.
292-
// * `branchForLatest` is set to `main`. We treat the single version
293-
// * as `v0.0.x` in our version metadata in the current content API:
294-
// * https://content.hashicorp.com/api/content/terraform-docs-common/version-metadata?partial=true
295-
// */
296-
// /**
297-
// * TODO: `terraform-docs-common` has _both_ an `img` folder, _and_ a
298-
// * `public` folder. Need to investigate how these are used, and whether
299-
// * we need to move both over (eg assetDirs could be an array?)
300-
// */
301-
// assetDir: 'img',
302-
// contentDir: 'docs',
303-
// dataDir: 'data',
304-
// productSlug: 'terraform',
305-
// semverCoerce: semver.coerce,
306-
// versionedDocs: false,
307-
// websiteDir: 'website',
308-
// },
287+
'terraform-docs-common': {
288+
/**
289+
* ✅ Initial migration attempt: SEEMS TO WORK
290+
*
291+
* Maybe worth noting: versioned docs is not enabled for `terraform-docs-common`.
292+
* `branchForLatest` is set to `main`. We treat the single version
293+
* as `v0.0.x` in our version metadata in the current content API:
294+
* https://content.hashicorp.com/api/content/terraform-docs-common/version-metadata?partial=true
295+
*/
296+
/**
297+
* TODO: `terraform-docs-common` has _both_ an `img` folder, _and_ a
298+
* `public` folder. Need to investigate how these are used, and whether
299+
* we need to move both over (eg assetDirs could be an array?)
300+
*/
301+
assetDir: 'img',
302+
contentDir: 'docs',
303+
dataDir: 'data',
304+
productSlug: 'terraform',
305+
semverCoerce: semver.coerce,
306+
versionedDocs: false,
307+
websiteDir: 'website',
308+
},
309309
'terraform-plugin-framework': {
310310
/**
311311
* 🟢🟢🟡 Initial migration attempt: CONTENT NOT FOUND on older versions

0 commit comments

Comments
 (0)