Skip to content

Commit 95cefdd

Browse files
docs: Update docs and regenerate (#19)
1 parent e798b8d commit 95cefdd

File tree

4 files changed

+36
-36
lines changed

4 files changed

+36
-36
lines changed

docs/resources/repository.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,28 @@ This resource allows you to create and manage repositories within your GitHub or
1313

1414
```terraform
1515
resource "github_repository" "example" {
16-
name = "testing-repository"
16+
name = "testing-repository"
17+
18+
allow_auto_merge = true
19+
allow_merge_commit = true
20+
allow_rebase_merge = false
21+
allow_squash_merge = true
22+
auto_init = true
23+
delete_branch_on_merge = true
1724
description = "This is a description."
18-
homepage = "https://github.com"
19-
private = true
25+
gitignore_template = "Terraform"
26+
has_discussions = true
2027
has_issues = true
2128
has_projects = true
2229
has_wiki = true
23-
has_discussions = true
24-
auto_init = true
25-
gitignore_template = "Terraform"
30+
homepage = "https://github.com"
31+
is_template = true
2632
license_template = "mpl-2.0"
27-
allow_squash_merge = true
28-
allow_merge_commit = true
29-
allow_rebase_merge = false
30-
allow_auto_merge = true
31-
delete_branch_on_merge = true
32-
squash_merge_commit_title = "PR_TITLE"
33-
squash_merge_commit_message = "COMMIT_MESSAGES"
34-
merge_commit_title = "PR_TITLE"
3533
merge_commit_message = "PR_BODY"
36-
is_template = true
34+
merge_commit_title = "PR_TITLE"
35+
private = true
36+
squash_merge_commit_message = "COMMIT_MESSAGES"
37+
squash_merge_commit_title = "PR_TITLE"
3738
}
3839
```
3940
<!-- schema generated by tfplugindocs -->
@@ -73,9 +74,8 @@ resource "github_repository" "example" {
7374

7475
## Import
7576

76-
Import is supported using the following syntax:
77-
7877
```shell
79-
# Repositories can be imported using the numerical ID of the repository.
78+
# Repositories can be imported using the numerical
79+
# GitHub ID of the repository.
8080
terraform import github_repository.test 123456789
8181
```
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# Repositories can be imported using the numerical ID of the repository.
1+
# Repositories can be imported using the numerical
2+
# GitHub ID of the repository.
23
terraform import github_repository.test 123456789
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
resource "github_repository" "example" {
2-
name = "testing-repository"
2+
name = "testing-repository"
3+
4+
allow_auto_merge = true
5+
allow_merge_commit = true
6+
allow_rebase_merge = false
7+
allow_squash_merge = true
8+
auto_init = true
9+
delete_branch_on_merge = true
310
description = "This is a description."
4-
homepage = "https://github.com"
5-
private = true
11+
gitignore_template = "Terraform"
12+
has_discussions = true
613
has_issues = true
714
has_projects = true
815
has_wiki = true
9-
has_discussions = true
10-
auto_init = true
11-
gitignore_template = "Terraform"
16+
homepage = "https://github.com"
17+
is_template = true
1218
license_template = "mpl-2.0"
13-
allow_squash_merge = true
14-
allow_merge_commit = true
15-
allow_rebase_merge = false
16-
allow_auto_merge = true
17-
delete_branch_on_merge = true
18-
squash_merge_commit_title = "PR_TITLE"
19-
squash_merge_commit_message = "COMMIT_MESSAGES"
20-
merge_commit_title = "PR_TITLE"
2119
merge_commit_message = "PR_BODY"
22-
is_template = true
20+
merge_commit_title = "PR_TITLE"
21+
private = true
22+
squash_merge_commit_message = "COMMIT_MESSAGES"
23+
squash_merge_commit_title = "PR_TITLE"
2324
}

templates/resources.md.tmpl

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,5 @@ description: |-
1919
{{ if .HasImport -}}
2020
## Import
2121

22-
Import is supported using the following syntax:
23-
2422
{{codefile "shell" .ImportFile}}
2523
{{- end }}

0 commit comments

Comments
 (0)