mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00:00
Automate the documentation server.
This commit is contained in:
parent
6072143505
commit
11ec53f1b5
8
Makefile
8
Makefile
@ -1,4 +1,4 @@
|
|||||||
TEST_ARTIFACTS = prometheus
|
TEST_ARTIFACTS = prometheus search_index
|
||||||
|
|
||||||
all: test
|
all: test
|
||||||
|
|
||||||
@ -20,4 +20,10 @@ clean:
|
|||||||
format:
|
format:
|
||||||
find . -iname '*.go' | grep -v generated | xargs -n1 gofmt -w
|
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
|
.PHONY: build clean format test
|
||||||
|
Loading…
Reference in New Issue
Block a user