Skip to content

Commit

Permalink
Cleanup docs and build for registry
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed Jul 12, 2020
1 parent 3a0dfef commit 407e2fc
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 77 deletions.
31 changes: 0 additions & 31 deletions .gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion .hashibot.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ behavior "pull_request_size_labeler" "size" {

behavior "pull_request_path_labeler" "cross_provider_labels" {
label_map = {
"documentation" = ["website/**/*"]
"documentation" = ["docs/**/*"]
"dependencies" = ["vendor/**/*"]
}
}
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ script:
- make test
- make testacc
- make vet
- make website-test

branches:
only:
Expand Down
18 changes: 1 addition & 17 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
TEST?=$$(go list ./... |grep -v 'vendor')
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
WEBSITE_REPO=github.com/hashicorp/terraform-website
PKG_NAME=http

default: build
Expand Down Expand Up @@ -45,19 +44,4 @@ test-compile:
fi
go test -c $(TEST) $(TESTARGS)

website:
ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..."
git clone https://$(WEBSITE_REPO) $(GOPATH)/src/$(WEBSITE_REPO)
endif
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)

website-test:
ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..."
git clone https://$(WEBSITE_REPO) $(GOPATH)/src/$(WEBSITE_REPO)
endif
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)

.PHONY: build test testacc vet fmt fmtcheck errcheck vendor-status test-compile website website-test

.PHONY: build test testacc vet fmt fmtcheck errcheck vendor-status test-compile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
layout: "http"
page_title: "HTTP Data Source"
sidebar_current: "docs-http-data-source"
description: |-
Retrieves the content at an HTTP or HTTPS URL.
---
Expand Down
4 changes: 1 addition & 3 deletions website/docs/index.html.markdown → docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
layout: "http"
page_title: "Provider: HTTP"
sidebar_current: "docs-http-index"
page_title: "HTTP Provider"
description: |-
The HTTP provider interacts with HTTP servers.
---
Expand Down
22 changes: 0 additions & 22 deletions website/http.erb

This file was deleted.

0 comments on commit 407e2fc

Please sign in to comment.