diff --git a/.gitignore b/.gitignore index 60afe2f..b466dba 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ go.work # Built Visual Studio Code Extensions *.vsix +# Vuild outputs +tmp/ +out/ diff --git a/makefile b/makefile index 51e2d38..f3acc88 100644 --- a/makefile +++ b/makefile @@ -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.