diff --git a/.circleci/config.yml b/.circleci/config.yml index f2a160e05..f8243cd63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -257,16 +257,6 @@ jobs: - checkout - run: make prometheusrules-update-test - doc-toc-validate: - docker: - - image: cimg/base:2023.05 - steps: - - checkout - - run: make toc-user-guide - - run: make toc-app-capabilities - - run: make toc-apimanager-reference - - run: make doc-update-test - workflows: version: 2 operator: @@ -279,7 +269,6 @@ workflows: - assets-validate - prometheusrules-validate - build-operator-image-only - - doc-toc-validate - unit-tests-coverage: requires: - run-unit-tests diff --git a/Makefile b/Makefile index 01d0fb778..f75e25d60 100644 --- a/Makefile +++ b/Makefile @@ -129,15 +129,6 @@ $(GO_BINDATA): .PHONY: go-bindata go-bindata: $(GO_BINDATA) -GH-MD-TOC=$(PROJECT_PATH)/bin/gh-md-toc -$(GH-MD-TOC): - mkdir -p $(PROJECT_PATH)/bin - curl -sSL https://raw.githubusercontent.com/ekalinin/github-markdown-toc/2e36a87fd077dad842163ef62ef1a7fef6ca1ab3/gh-md-toc -o $(GH-MD-TOC) - chmod +x $(GH-MD-TOC) - -.PHONY: gh-md-toc -gh-md-toc: $(GH-MD-TOC) - # Install CRDs into a cluster install: manifests $(KUSTOMIZE) $(KUSTOMIZE) build config/crd | $(KUBECTL) create -f - || $(KUSTOMIZE) build config/crd | $(KUBECTL) replace -f - diff --git a/make/toc.mk b/make/toc.mk deleted file mode 100644 index 9fc39a7fa..000000000 --- a/make/toc.mk +++ /dev/null @@ -1,19 +0,0 @@ - -##@ TOC generation - -.PHONY: toc-user-guide -toc-user-guide: gh-md-toc ## Generate TOC for the main user guide - $(GH-MD-TOC) --insert --no-backup --hide-footer $(PROJECT_PATH)/doc/operator-user-guide.md - -.PHONY: toc-app-capabilities -toc-app-capabilities: gh-md-toc ## Generate TOC for the app capabilities guide - $(GH-MD-TOC) --insert --no-backup --hide-footer $(PROJECT_PATH)/doc/operator-application-capabilities.md - -.PHONY: toc-apimanager-reference -toc-apimanager-reference: gh-md-toc ## Generate TOC for the apimanager reference - $(GH-MD-TOC) --insert --no-backup --hide-footer $(PROJECT_PATH)/doc/apimanager-reference.md - -.PHONY: doc-update-test -doc-update-test: - git diff --exit-code ./doc - [ -z "$$(git ls-files --other --exclude-standard --directory --no-empty-directory ./doc)" ]