Skip to content

Commit

Permalink
Update documentation for TF registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Nixon committed Aug 9, 2020
1 parent c938753 commit 0b07363
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 284 deletions.
4 changes: 0 additions & 4 deletions docs/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions docs/Gemfile

This file was deleted.

248 changes: 0 additions & 248 deletions docs/Gemfile.lock

This file was deleted.

3 changes: 0 additions & 3 deletions docs/_config.yml

This file was deleted.

11 changes: 1 addition & 10 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
---
title: "Home"
description: |-
The Jenkins provider is used to interact with the Jenkins API. The provider needs to be configured with the proper credentials before it can be used.
---
# Jenkins Provider

The Jenkins provider is used to interact with the Jenkins API. The provider needs to be configured with the proper credentials before it can be used.

## Available Resources

* [jenkins_folder](resource_jenkins_folder.md)
* [jenkins_job](resource_jenkins_job.md)

## Example Usage

```hcl
Expand Down
7 changes: 0 additions & 7 deletions docs/makefile

This file was deleted.

9 changes: 4 additions & 5 deletions docs/resource_jenkins_folder.md → docs/resources/folder.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
---
# jenkins_folder Resource

# jenkins_folder
Manages a folder within Jenkins.

Manages a folder within Jenkins. The Jenkins installation that uses this resource is expected to have the [Cloudbees Folders Plugin](https://plugins.jenkins.io/cloudbees-folder) installed in their system.
~> The Jenkins installation that uses this resource is expected to have the [Cloudbees Folders Plugin](https://plugins.jenkins.io/cloudbees-folder) installed in their system.

## Example Usage

Expand All @@ -12,7 +11,7 @@ resource jenkins_folder example {
name = "folder-name"
}
resource jenkins_folder example-child {
resource jenkins_folder example_child {
name = "${jenkins_folder.example.name}/child-name"
}
```
Expand Down
5 changes: 1 addition & 4 deletions docs/resource_jenkins_job.md → docs/resources/job.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
---
---

# jenkins_job
# jenkins_job Resource

Manages a job within Jenkins.

Expand Down

0 comments on commit 0b07363

Please sign in to comment.