Skip to content

Commit

Permalink
Remove website (#533)
Browse files Browse the repository at this point in the history
* Remove website

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

---------

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay committed Aug 1, 2023
1 parent eec531f commit 2e973db
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 575 deletions.
28 changes: 0 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ IMG_REPO ?= tempo-operator
IMG ?= ${IMG_PREFIX}/${IMG_REPO}:v${OPERATOR_VERSION}
BUNDLE_IMG ?= ${IMG_PREFIX}/${IMG_REPO}-bundle:v${OPERATOR_VERSION}


# Website generation variables
WEBSITE_DIR ?= website
WEBSITE_BASE_URL ?= https://tempo-operator.netlify.app
HUGO_VERSION = v0.80.0


# When the VERBOSE variable is set to 1, all the commands are shown
ifeq ("$(VERBOSE)","true")
echo_prefix=">>>>"
Expand Down Expand Up @@ -201,7 +194,6 @@ GEN_CRD = $(LOCALBIN)/gen-crd-api-reference-docs-$(GEN_CRD_VERSION)
OPERATOR_SDK ?= $(LOCALBIN)/operator-sdk-$(OPERATOR_SDK_VERSION)
KIND ?= $(LOCALBIN)/kind
KUTTL ?= $(LOCALBIN)/kubectl-kuttl
HUGO ?= $(LOCALBIN)/hugo-$(HUGO_VERSION)

# Options for KIND version to use
export KUBE_VERSION ?= 1.27
Expand Down Expand Up @@ -458,26 +450,6 @@ docs/operator/feature-gates.md: $(FEATURE_GATES_TARGET) gen-crd-api-reference-do
sed -i 's/##/\n##/' $@
sed -i 's/+newline/\n/' $@

.PHONY: web-pre
web-pre: docs/operator/api.md docs/operator/feature-gates.md
@echo ">> preprocessing docs for website"
@git submodule update --init --recursive
cp CONTRIBUTING.md docs/prologue/contributing.md
sed -i 's/(LICENSE)/(https:\/\/raw.githubusercontent.com\/grafana\/tempo-operator\/main\/LICENSE)/' docs/prologue/contributing.md
sed -i 's/(README.md)/(https:\/\/github.com\/grafana\/tempo-operator#readme)/' docs/prologue/contributing.md
cd $(WEBSITE_DIR)/themes/doks/ && npm install && rm -rf content

.PHONY: web
web: web-pre hugo ## Run production build of the tempo-operator.dev website
cd $(WEBSITE_DIR) && $(HUGO) -b $(WEBSITE_BASE_URL)

.PHONY: web-serve
web-serve: web-pre ## Run local preview version of the tempo-operator.dev website
@cd $(WEBSITE_DIR) && $(HUGO) serve

hugo:
test -s $(HUGO) || $(call go-get-tool,$(HUGO),--tags extended github.com/gohugoio/hugo,$(HUGO_VERSION))

##@ Release
CHLOGGEN_VERSION=v0.3.0
CHLOGGEN ?= $(LOCALBIN)/chloggen-$(CHLOGGEN_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is a Kubernetes operator for [Grafana Tempo](https://github.com/grafana/tem

## Documentation

* [Operator documentation](https://tempo-operator.netlify.app)
* [Operator documentation](https://grafana.com/docs/tempo/next/setup/operator/)
* [Tempo CRD design](https://docs.google.com/document/d/1avSSf__R226l2b3hbcpXlYH7w6iKtXZsd9VTcpxDqng/edit)


Expand Down
13 changes: 0 additions & 13 deletions docs/_index.md

This file was deleted.

29 changes: 0 additions & 29 deletions docs/operator/compatibility.md

This file was deleted.

9 changes: 0 additions & 9 deletions docs/prologue/_index.md

This file was deleted.

28 changes: 0 additions & 28 deletions docs/prologue/introduction.md

This file was deleted.

114 changes: 0 additions & 114 deletions docs/prologue/quickstart.md

This file was deleted.

Loading

0 comments on commit 2e973db

Please sign in to comment.