provider/gitlab: Improve gitlab documentation (#14827)

* fix gitlab naming

seems like some github stuff was not renamed

* gitlab is using group or user instead of organisations

* add namespace_id to gitlab_project documentation

* it's not possible to manage group members
This commit is contained in:
grafjo 2017-05-31 20:00:45 +02:00 committed by Paul Stack
parent c0503a9c26
commit f39c5b7c9b
2 changed files with 7 additions and 8 deletions

View File

@ -3,14 +3,13 @@ layout: "gitlab"
page_title: "Provider: GitLab"
sidebar_current: "docs-gitlab-index"
description: |-
The GitLab provider is used to interact with GitLab organization resources.
The GitLab provider is used to interact with GitLab group or user resources.
---
# GitLab Provider
The GitLab provider is used to interact with GitLab organization resources.
The GitLab provider is used to interact with GitLab group or user resources.
The provider allows you to manage your GitLab organization's members and teams easily.
It needs to be configured with the proper credentials before it can be used.
Use the navigation to the left to read about the available resources.

View File

@ -3,13 +3,13 @@ layout: "gitlab"
page_title: "GitLab: gitlab_project"
sidebar_current: "docs-gitlab-resource-project-x"
description: |-
Creates and manages projects within Gitlab
Creates and manages projects within GitLab groups or within your user
---
# gitlab\_project
This resource allows you to create and manage projects within your
GitLab organization.
GitLab group or within your user.
## Example Usage
@ -29,11 +29,11 @@ The following arguments are supported:
* `name` - (Required) The name of the project.
* `description` - (Optional) A description of the project.
* `namespace_id` - (Optional) The namespace to create this project in.
* `namespace_id` - (Optional) The namespace (group or user) of the project. Defaults to your user.
See [`gitlab_group`](group.html) for an example.
* `description` - (Optional) A description of the project.
* `default_branch` - (Optional) The default branch for the project.
* `issues_enabled` - (Optional) Enable issue tracking for the project.