Skip to content

Commit 0407f1d

Browse files
Add Terraform Migrate versioned docs (#2808)
1 parent 96a9c78 commit 0407f1d

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed

config/base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"enable_io_beta_cta": true,
3939
"enable_hvd_on_preview_branch": false,
4040
"unified_docs_migrated_repos": [
41+
"terraform-migrate",
4142
"terraform-plugin-framework",
4243
"terraform-plugin-log",
4344
"terraform-plugin-mux",

config/development.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"flags": {
1313
"unified_docs_migrated_repos": [
14+
"terraform-migrate",
1415
"terraform-plugin-framework",
1516
"terraform-plugin-log",
1617
"terraform-plugin-mux",

config/unified-docs-sandbox.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"flags": {
1313
"unified_docs_migrated_repos": [
14+
"terraform-migrate",
1415
"terraform-plugin-framework",
1516
"terraform-plugin-log",
1617
"terraform-plugin-mux",

src/data/terraform.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"internals",
2323
"intro",
2424
"language",
25+
"migrate",
2526
"plugin",
2627
"plugin/framework",
2728
"plugin/log",
@@ -38,6 +39,7 @@
3839
"cli",
3940
"cloud-docs",
4041
"enterprise",
42+
"migrate",
4143
"cdktf",
4244
{
4345
"icon": "provider",
@@ -150,6 +152,12 @@
150152
"name": "Registry Publishing",
151153
"path": "registry",
152154
"productSlugForLoader": "terraform-docs-common"
155+
},
156+
{
157+
"iconName": "docs",
158+
"name": "Terraform Migrate",
159+
"path": "migrate",
160+
"productSlugForLoader": "terraform-migrate"
153161
}
154162
]
155163
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Copyright (c) HashiCorp, Inc.
3+
* SPDX-License-Identifier: MPL-2.0
4+
*/
5+
6+
import DocsView from 'views/docs-view'
7+
import { getRootDocsPathGenerationFunctions } from 'views/docs-view/utils/get-root-docs-path-generation-functions'
8+
9+
const { getStaticPaths, getStaticProps } = getRootDocsPathGenerationFunctions(
10+
'terraform',
11+
'migrate',
12+
{ projectName: 'Terraform Migrate' }
13+
)
14+
15+
export { getStaticProps, getStaticPaths }
16+
export default DocsView

0 commit comments

Comments
 (0)