Skip to content

Commit

Permalink
removing guides and concepts (kptdev#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebz authored and frankfarzan committed Jun 3, 2021
1 parent 532c264 commit 5ce90ed
Show file tree
Hide file tree
Showing 109 changed files with 63 additions and 28,780 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/verifyContent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,5 @@ jobs:
run: |
GOPATH=$(go env GOPATH) go get github.com/monopole/mdrip
GOPATH=$(go env GOPATH) go get sigs.k8s.io/kind@v0.8.1
- name: Verify Guides
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
make site-verify-guides
- name: Verify Examples
run: make site-verify-examples
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,3 @@ This includes:
[docsy docs]: https://www.docsy.dev/docs/
[site/]: site/
[w3 link checker]: https://validator.w3.org/checklink/
[this node package]: site/content/en/guides/consumer/function/catalog/catalog/
16 changes: 3 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,10 @@ generate:
go install ./mdtogo
rm -rf internal/docs/generated
mkdir internal/docs/generated
rm -rf internal/guides/generated
mkdir internal/guides/generated
GOBIN=$(GOBIN) go generate ./...
which addlicense || go get github.com/google/addlicense
$(GOBIN)/addlicense -y 2019 -l apache internal/docs/generated
$(GOBIN)/addlicense -y 2019 -l apache internal/guides/generated
$(GOBIN)/addlicense -y 2021 -l apache internal/docs/generated
go fmt ./internal/docs/generated/...
go fmt ./internal/guides/generated/...

tidy:
go mod tidy
Expand Down Expand Up @@ -86,10 +82,6 @@ docker:
lintdocs:
(cd site && npm run lint-fix)

gencatalog:
rm site/content/en/guides/consumer/function/catalog/*/_index.md
(cd site/content/en/guides/consumer/function/catalog/catalog && npm run gen-docs)

site-generate:
go run ./scripts/generate_site_sidebar > site/sidebar.md
(cd site && find . -iname "00.md" -execdir cp {} README.md \; && sed -i.bak s/00.md//g sidebar.md && rm sidebar.md.bak)
Expand All @@ -102,8 +94,6 @@ site-check:
make site-run-server
./scripts/check-site.sh

site-verify-guides:
./scripts/verifyGuides.sh

site-verify-examples:
./scripts/verifyExamples.sh
@echo TODO: re-enable after sample update
# ./scripts/verifyExamples.sh
206 changes: 0 additions & 206 deletions internal/guides/generated/consumer/apply.go

This file was deleted.

Loading

0 comments on commit 5ce90ed

Please sign in to comment.