File tree Expand file tree Collapse file tree 6 files changed +4
-3
lines changed
Expand file tree Collapse file tree 6 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,9 @@ TEST_DIR ?= ./test/e2e/apisix/
3636# CRD Reference Documentation
3737CRD_REF_DOCS_VERSION ?= v0.1.0
3838CRD_REF_DOCS ?= $(LOCALBIN ) /crd-ref-docs
39- CRD_DOCS_CONFIG ?= docs/crd/config.yaml
39+ CRD_DOCS_CONFIG ?= docs/assets/ crd/config.yaml
4040CRD_DOCS_OUTPUT ?= docs/en/latest/api-reference.md
41+ CRD_DOCS_TEMPLATE ?= docs/assets/template
4142
4243# go
4344VERSYM ="github.com/apache/apisix-ingress-controller/internal/version._buildVersion"
@@ -361,7 +362,7 @@ generate-crd-docs: manifests ## Generate CRD reference documentation in a single
361362 --source-path=./api \
362363 --config=$(CRD_DOCS_CONFIG ) \
363364 --renderer=markdown \
364- --templates-dir=./docs/template \
365+ --templates-dir=$( CRD_DOCS_TEMPLATE ) \
365366 --output-path=$(CRD_DOCS_OUTPUT ) \
366367 --max-depth=100
367368 @echo " CRD reference documentation generated at $( CRD_DOCS_OUTPUT) "
@@ -374,7 +375,7 @@ generate-crd-docs-grouped: manifests ## Generate CRD reference documentation gro
374375 --source-path=./api \
375376 --config=$(CRD_DOCS_CONFIG ) \
376377 --renderer=markdown \
377- --templates-dir=./docs/template \
378+ --templates-dir=$( CRD_DOCS_TEMPLATE ) \
378379 --output-path=docs/crd/groups \
379380 --output-mode=group
380381 @echo " CRD reference documentation generated in docs/crd/groups directory"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments