Исправлена цель doc в makefile
Some checks failed
drawio-exporter/pipeline/head There was a failure building this commit

This commit is contained in:
Алексей Бадяев 2023-04-04 20:14:00 +07:00
parent ec6351ec91
commit c89f562902
Signed by: alexey
GPG Key ID: 686FBC1363E4AFAE
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -35,3 +35,6 @@ go.work
# Built Visual Studio Code Extensions
*.vsix
# Vuild outputs
tmp/
out/

View File

@ -6,6 +6,7 @@ PROJECT_NAME := drawio-exporter
TMPDIR ?= $(CURDIR)/tmp
OUTDIR ?= $(CURDIR)/out
BINDIR ?= $(OUTDIR)/bin
DOC_DIR ?= $(OUTDIR)/doc
VERSION ?= $(strip $(shell ./scripts/version.sh))
VERSION_NUMBER := $(strip $(shell ./scripts/version.sh number))
@ -121,7 +122,7 @@ doc-common:
doc-golds: doc-common ## Generate HTML documentation with Golds.
@mkdir -p $(DOC_DIR)/html
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: ## Show this help.