File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ override LDFLAGS += \
34
34
-X ${VERSION_PACKAGE}.gitCommit=${GIT_COMMIT} \
35
35
-X ${VERSION_PACKAGE}.buildDate=${BUILD_DATE}
36
36
37
+
38
+ MKDOCS_DOCKER_IMAGE? =squidfunk/mkdocs-material:4.1.1
39
+ MKDOCS_RUN_ARGS? =
40
+
41
+
37
42
.PHONY : all
38
43
all : prereq controller
39
44
@@ -137,3 +142,8 @@ run-test:
137
142
--kubeconfig /kube/config \
138
143
--argocd-server-addr $(ARGOCD_SERVER ) \
139
144
--grpc-web
145
+
146
+
147
+ .PHONY : serve-docs
148
+ serve-docs :
149
+ docker run ${MKDOCS_RUN_ARGS} --rm -it -p 8000:8000 -v ${CURRENT_DIR} :/docs ${MKDOCS_DOCKER_IMAGE} serve -a 0.0.0.0:8000
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ important targets are:
27
27
* ` manifests ` - this will build the installation manifests for Kubernetes from
28
28
the Kustomize sources
29
29
30
+ * ` serve-docs ` will render the documentation at localhost:8000 (requires Docker)
31
+
30
32
### Windows Developer Tips
31
33
32
34
If you are running the cmd shell and are running into issues running ` make all ` , consider using Git bash.
You can’t perform that action at this time.
0 commit comments