Remove usused files and refactor crd ref docs generation (#2516)

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2022-08-22 16:38:28 +05:30
committed by GitHub
parent dca306d87f
commit b1f8ad8dca
5 changed files with 7 additions and 17 deletions
+2
View File
@@ -33,3 +33,5 @@ local/
build/
dist/
manifest/
.vscode/
coverage.txt
+5 -4
View File
@@ -42,9 +42,7 @@ debug-vars: print-GOOS print-GOARCH print-GOAMD64 print-VERSION print-TIMESTAMP
check: test-run build-fission-cli clean
code-checks:
hack/verify-gofmt.sh
hack/verify-govet.sh
hack/verify-staticcheck.sh
golangci-lint run
# run basic check scripts
test-run: code-checks
@@ -92,7 +90,10 @@ generate-swagger-doc:
generate-cli-docs:
go run tools/cmd-docs/main.go -o "../fission.io/content/en/docs/reference/fission-cli"
generate-crd-ref-docs:
install-crd-ref-docs:
go install github.com/elastic/crd-ref-docs@master
generate-crd-ref-docs: install-crd-ref-docs
# crd-ref-docs: https://github.com/elastic/crd-ref-docs
crd-ref-docs --source-path=pkg/apis/core/v1 --config=tools/crd-ref-docs/config.yaml --renderer markdown
cp tools/crd-ref-docs/header.md crd_docs.md
-7
View File
@@ -1,7 +0,0 @@
module.exports = async (context) => {
return {
status: 200,
body: "hello, world!\n"
};
}
-5
View File
@@ -1,5 +0,0 @@
# plugins.yaml contains a basic registry of plugins for the CLI
workflows:
version: 0.4.0
url: https://github.com/fission/fission-workflows/releases/tag/0.4.0
usage: Inspect and manage workflow executions
-1
View File
@@ -1,7 +1,6 @@
processor:
ignoreTypes:
- "(CanaryConfig|Environment|Function|HTTPTrigger|KubernetesWatchTrigger|MessageQueueTrigger|Package|TimeTrigger)List$"
ignoreGroupVersions:
render:
# Version of Kubernetes to use when generating links to Kubernetes API documentation.
kubernetesVersion: 1.22