Skip to content

Commit

Permalink
use build flags for docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Sep 27, 2024
1 parent 89006ee commit 76cf3e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ specs:
@go run ./scripts/gen-spec.go
.PHONY: specs

docs-zetacored:
docs-zetacored: install-zetacore
@echo "--> Generating zetacored documentation"
@bash ./scripts/gen-docs-zetacored.sh
.PHONY: docs-zetacored
Expand Down
2 changes: 0 additions & 2 deletions scripts/gen-docs-zetacored.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ DIR=docs/cli/zetacored

rm -rf $DIR

go install ./cmd/zetacored

zetacored docs --path $DIR

# Recursive function to process files
Expand Down

0 comments on commit 76cf3e3

Please sign in to comment.