diff --git a/Makefile b/Makefile index a6b7d8f147..5ec73288bd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -TEST_ARTIFACTS = prometheus +TEST_ARTIFACTS = prometheus search_index all: test @@ -20,4 +20,10 @@ clean: format: find . -iname '*.go' | grep -v generated | xargs -n1 gofmt -w +search_index: + godoc -index -write_index -index_files='search_index' + +documentation: search_index + godoc -http=:6060 -index -index_files='search_index' + .PHONY: build clean format test