Skip to content

Commit 4408fe0

Browse files
shelley.besscehoffman
authored andcommitted
Modified docs, renamed and moved to datasource folder
Signed-off-by: shelley.bess <[email protected]>
1 parent d569375 commit 4408fe0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

website/docs/r/datasource_project.html.markdown renamed to website/docs/d/project.html.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
---
22
layout: "gitlab"
3-
page_title: "GitLab: gitlab_datasource_project"
3+
page_title: "GitLab: gitlab_project"
44
sidebar_current: "docs-gitlab-data-source-project"
55
description: |-
66
View information about a project
77
---
88

9-
# gitlab\_datasource_project
9+
# gitlab\_project
1010

11-
datasource_project provides details about a specific project in the gitlab provider. The results include the name of the project, path, description, default branch, etc.
11+
Provides details about a specific project in the gitlab provider. The results include the name of the project, path, description, default branch, etc.
1212

1313
## Example Usage
1414

1515
```hcl
16-
data "gitlab_project" "test" {
17-
name = "Test Project"
16+
data "gitlab_project" "example" {
17+
id = 30
1818
}
1919
```
2020

2121
## Argument Reference
2222

2323
The following arguments are supported:
2424

25-
* `name` - (Required) The name of the project.
25+
* `id` - (Required) The integer that uniquely identifies the project within the gitlab install.
2626

2727
## Attributes Reference
2828

File renamed without changes.

website/gitlab.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<a href="#">Data Sources</a>
1515
<ul class="nav nav-visible">
1616
<li<%= sidebar_current("docs-gitlab-data-source-project") %>>
17-
<a href="/docs/providers/gitlab/r/datasource_project.html">gitlab_project</a>
17+
<a href="/docs/providers/gitlab/d/project.html">gitlab_project</a>
1818
</li>
1919
<li<%= sidebar_current("docks-gitlab-data-source-user") %>>
20-
<a href="/docs/providers/gitlab/r/datasource_user.html">gitlab_user</a>
20+
<a href="/docs/providers/gitlab/d/user.html">gitlab_user</a>
2121
</li>
2222
</ul>
2323
</li>

0 commit comments

Comments
 (0)