From d6c9e6361b1161359830a93e091d701958c58f34 Mon Sep 17 00:00:00 2001 From: Manuel Wudka-Robles Date: Wed, 30 Nov 2022 10:06:31 -0800 Subject: [PATCH] Remove unused docs preview tooling The makefile used to have a target for generating docs, but it broke a long time ago. Since no one has fixed it for a long time, it must not be that critical. Removing it, so that it doesn't confuse contributors. --- GNUmakefile | 10 +--- website/tfe.erb | 155 ------------------------------------------------ 2 files changed, 1 insertion(+), 164 deletions(-) delete mode 100644 website/tfe.erb diff --git a/GNUmakefile b/GNUmakefile index f049120a9..1b8fadbbe 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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=tfe default: terraform-provider-tfe @@ -64,12 +63,5 @@ 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) - -.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website sweep +.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile sweep diff --git a/website/tfe.erb b/website/tfe.erb deleted file mode 100644 index 1ae05819f..000000000 --- a/website/tfe.erb +++ /dev/null @@ -1,155 +0,0 @@ -<% wrap_layout :inner do %> - <% content_for :sidebar do %> - - <% end %> - - <%= yield %> -<% end %>