Merge pull request #6759 from zmstone/feat-show-config-doc-in-dashboard
feat: show config doc in dashboard
This commit is contained in:
commit
d87824c55b
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ export EMQX_DEFAULT_BUILDER = ghcr.io/emqx/emqx-builder/4.4-2:23.3.4.9-3-alpine3
|
|||
export EMQX_DEFAULT_RUNNER = alpine:3.14
|
||||
export OTP_VSN ?= $(shell $(CURDIR)/scripts/get-otp-vsn.sh)
|
||||
export PKG_VSN ?= $(shell $(CURDIR)/pkg-vsn.sh)
|
||||
export EMQX_DASHBOARD_VERSION ?= v0.17.0
|
||||
export EMQX_DASHBOARD_VERSION ?= v0.18.0
|
||||
export DOCKERFILE := deploy/docker/Dockerfile
|
||||
export DOCKERFILE_TESTING := deploy/docker/Dockerfile.testing
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
|
2
build
2
build
|
@ -64,7 +64,7 @@ make_doc() {
|
|||
libs_dir2="$("$FIND" "_build/$PROFILE/lib/" -maxdepth 2 -name ebin -type d)"
|
||||
# shellcheck disable=SC2086
|
||||
erl -noshell -pa $libs_dir1 $libs_dir2 -eval \
|
||||
"F = filename:join(['_build', '${PROFILE}', lib, emqx_dashboard, priv, 'config.md']), \
|
||||
"F = filename:join(['_build', '${PROFILE}', lib, emqx_dashboard, priv, www, static, 'config.md']), \
|
||||
io:format(\"===< Generating: ~s~n\", [F]),
|
||||
ok = emqx_conf:gen_doc(F), \
|
||||
halt(0)."
|
||||
|
|
Loading…
Reference in New Issue