Исправлена цель doc в makefile
Some checks failed
drawio-exporter/pipeline/head There was a failure building this commit
Some checks failed
drawio-exporter/pipeline/head There was a failure building this commit
This commit is contained in:
parent
ec6351ec91
commit
c89f562902
3
.gitignore
vendored
3
.gitignore
vendored
@ -35,3 +35,6 @@ go.work
|
|||||||
# Built Visual Studio Code Extensions
|
# Built Visual Studio Code Extensions
|
||||||
*.vsix
|
*.vsix
|
||||||
|
|
||||||
|
# Vuild outputs
|
||||||
|
tmp/
|
||||||
|
out/
|
||||||
|
3
makefile
3
makefile
@ -6,6 +6,7 @@ PROJECT_NAME := drawio-exporter
|
|||||||
TMPDIR ?= $(CURDIR)/tmp
|
TMPDIR ?= $(CURDIR)/tmp
|
||||||
OUTDIR ?= $(CURDIR)/out
|
OUTDIR ?= $(CURDIR)/out
|
||||||
BINDIR ?= $(OUTDIR)/bin
|
BINDIR ?= $(OUTDIR)/bin
|
||||||
|
DOC_DIR ?= $(OUTDIR)/doc
|
||||||
|
|
||||||
VERSION ?= $(strip $(shell ./scripts/version.sh))
|
VERSION ?= $(strip $(shell ./scripts/version.sh))
|
||||||
VERSION_NUMBER := $(strip $(shell ./scripts/version.sh number))
|
VERSION_NUMBER := $(strip $(shell ./scripts/version.sh number))
|
||||||
@ -121,7 +122,7 @@ doc-common:
|
|||||||
doc-golds: doc-common ## Generate HTML documentation with Golds.
|
doc-golds: doc-common ## Generate HTML documentation with Golds.
|
||||||
@mkdir -p $(DOC_DIR)/html
|
@mkdir -p $(DOC_DIR)/html
|
||||||
golds -gen -dir=$(DOC_DIR)/html -nouses -source-code-reading=rich \
|
golds -gen -dir=$(DOC_DIR)/html -nouses -source-code-reading=rich \
|
||||||
-silent -only-list-exporteds -wdpkgs-listing=solo ./pkg/hexgrid
|
-silent -only-list-exporteds -wdpkgs-listing=solo ./...
|
||||||
|
|
||||||
## Help:
|
## Help:
|
||||||
help: ## Show this help.
|
help: ## Show this help.
|
||||||
|
Loading…
Reference in New Issue
Block a user