Skip to content

Commit 08ca704

Browse files
authored
Merge pull request #852 from timofurrer/feature/master-to-main
Improve provider documentation
2 parents bdeab25 + 54913cb commit 08ca704

File tree

5 files changed

+44
-13
lines changed

5 files changed

+44
-13
lines changed

.github/terraform_logo.svg

Lines changed: 7 additions & 0 deletions
Loading

.github/workflows/pr-check-conflicts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
push:
88
branches:
99
- main
10-
- master
10+
1111
# For removing the merge-conflict label.
1212
pull_request_target:
1313
types: [synchronize]

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
<img src="https://www.datocms-assets.com/2885/1629941242-logo-terraform-main.svg" width="600px">
1+
<a href="https://terraform.io">
2+
<img src=".github/terraform_logo.svg" alt="Terraform logo" title="Terraform" align="right" height="50" />
3+
</a>
24

35
# Terraform Provider for Gitlab
46

5-
- [Documentation](https://www.terraform.io/docs/providers/gitlab/index.html)
6-
- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby)
7-
- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)
8-
- Build status: [![Tests](https://github.com/gitlabhq/terraform-provider-gitlab/actions/workflows/push.yml/badge.svg)](https://github.com/gitlabhq/terraform-provider-gitlab/actions/workflows/push.yml)
7+
[![Tests](https://github.com/gitlabhq/terraform-provider-gitlab/actions/workflows/push.yml/badge.svg)](https://github.com/gitlabhq/terraform-provider-gitlab/actions/workflows/push.yml)
98

10-
## Requirements
9+
- [Documentation](https://www.terraform.io/docs/providers/gitlab/index.html)
10+
- [Issues](https://github.com/gitlabhq/terraform-provider-gitlab/issues)
1111

12-
- [Terraform](https://www.terraform.io/downloads.html) >= 0.12.x
12+
The Terraform Gitlab Provider is a plugin for Terraform that allows for the full lifecycle management of
13+
GitLab resources, like users, groups and projects.
1314

1415
## Contributing
1516

16-
Check out the [CONTRIBUTING.md](/CONTRIBUTING.md) guide for tips on how to contribute and develop the provider.
17+
Check out the [CONTRIBUTING.md](/CONTRIBUTING.md) guide for tips on how to contribute and develop the provider.

docs/index.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
---
2-
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "gitlab Provider"
2+
page_title: "GitLab Provider"
43
subcategory: ""
54
description: |-
6-
5+
Terraform Provider for GitLab
76
---
87

9-
# gitlab Provider
8+
Use the GitLab provider to interact with GitLab resources, like
9+
users, groups, projects and more. You must configure the provider with
10+
the proper credentials before you can use it.
1011

12+
Use the navigation to the left to read about the valid data sources and resources.
1113

14+
This provider requires at least [Terraform 0.12](https://www.terraform.io/downloads.html).
1215

1316
## Example Usage
1417

templates/index.md.tmpl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
page_title: "GitLab Provider"
3+
subcategory: ""
4+
description: |-
5+
Terraform Provider for GitLab
6+
---
7+
8+
Use the GitLab provider to interact with GitLab resources, like
9+
users, groups, projects and more. You must configure the provider with
10+
the proper credentials before you can use it.
11+
12+
Use the navigation to the left to read about the valid data sources and resources.
13+
14+
This provider requires at least [Terraform 0.12](https://www.terraform.io/downloads.html).
15+
16+
## Example Usage
17+
18+
{{tffile "examples/provider/provider.tf"}}
19+
20+
{{ .SchemaMarkdown | trimspace }}

0 commit comments

Comments
 (0)