From c89f562902d7d372cb260f3b34dde7f1f928a24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=91=D0=B0?= =?UTF-8?q?=D0=B4=D1=8F=D0=B5=D0=B2?= Date: Tue, 4 Apr 2023 20:14:00 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=86=D0=B5=D0=BB=D1=8C=20doc=20=D0=B2=20?= =?UTF-8?q?makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ makefile | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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.