mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08: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
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue