-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check: Verify deprecated
sidebar_current
frontmatter is not present
Closes #23
- Loading branch information
Showing
27 changed files
with
241 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
check/testdata/invalid-legacy-files/data_source_with_sidebar_current.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
subcategory: "Example" | ||
sidebar_current: "example_thing" | ||
layout: "example" | ||
page_title: "Example: example_thing" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Data Source: example_thing | ||
|
||
Byline. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "example_thing" "example" { | ||
name = "example" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name` - (Required) Name of thing. | ||
|
||
## Attribute Reference | ||
|
||
* `id` - Name of thing. |
12 changes: 12 additions & 0 deletions
12
check/testdata/invalid-legacy-files/guide_with_sidebar_current.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
subcategory: "Example" | ||
sidebar_current: "example" | ||
layout: "example" | ||
page_title: "Example Guide" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Example Guide | ||
|
||
Example contents. |
11 changes: 11 additions & 0 deletions
11
check/testdata/invalid-legacy-files/index_with_sidebar_current.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
sidebar_current: "example" | ||
layout: "example" | ||
page_title: "Example Provider" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Example Provider | ||
|
||
Example contents. |
28 changes: 28 additions & 0 deletions
28
check/testdata/invalid-legacy-files/resource_with_sidebar_current.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
subcategory: "Example" | ||
sidebar_current: "example_thing" | ||
layout: "example" | ||
page_title: "Example: example_thing" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Resource: example_thing | ||
|
||
Byline. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "example_thing" "example" { | ||
name = "example" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name` - (Required) Name of thing. | ||
|
||
## Attribute Reference | ||
|
||
* `id` - Name of thing. |
27 changes: 27 additions & 0 deletions
27
check/testdata/invalid-registry-files/data_source_with_sidebar_current.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
subcategory: "Example" | ||
sidebar_current: "example_thing" | ||
page_title: "Example: example_thing" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Data Source: example_thing | ||
|
||
Byline. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "example_thing" "example" { | ||
name = "example" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name` - (Required) Name of thing. | ||
|
||
## Attribute Reference | ||
|
||
* `id` - Name of thing. |
11 changes: 11 additions & 0 deletions
11
check/testdata/invalid-registry-files/guide_with_sidebar_current.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
subcategory: "Example" | ||
sidebar_current: "example" | ||
page_title: "Example: example_thing" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Example Guide | ||
|
||
Example contents. |
10 changes: 10 additions & 0 deletions
10
check/testdata/invalid-registry-files/index_with_sidebar_current.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
sidebar_current: "example" | ||
page_title: "Example Provider" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Example Provider | ||
|
||
Example contents. |
27 changes: 27 additions & 0 deletions
27
check/testdata/invalid-registry-files/resource_with_sidebar_current.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
subcategory: "Example" | ||
sidebar_current: "example_thing" | ||
page_title: "Example: example_thing" | ||
description: |- | ||
Example description. | ||
--- | ||
|
||
# Resource: example_thing | ||
|
||
Byline. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "example_thing" "example" { | ||
name = "example" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name` - (Required) Name of thing. | ||
|
||
## Attribute Reference | ||
|
||
* `id` - Name of thing. |