Skip to content

Commit

Permalink
Adjust make targets for documentation to use docker/asciidoctor (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
webmat authored Apr 18, 2019
1 parent 718e73b commit 478fa79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.DEFAULT_GOAL := generate
FIND := find . -type f -not -path './build/*' -not -path './.git/*'
FORCE_GO_MODULES := GO111MODULE=on
OPEN_DOCS ?= "-open"
OPEN_DOCS ?= "--open"
PYTHON := build/ve/bin/python
VERSION := $(shell cat version)

Expand Down Expand Up @@ -45,7 +45,7 @@ docs:
if [ ! -d $(PWD)/build/docs ]; then \
git clone --depth=1 https://github.com/elastic/docs.git ./build/docs ; \
fi
./build/docs/build_docs.pl --doc ./docs/index.asciidoc --chunk=1 $(OPEN_DOCS) -out ./build/html_docs
./build/docs/build_docs --asciidoctor --doc ./docs/index.asciidoc --chunk=1 $(OPEN_DOCS) --out ./build/html_docs

# Format code and files in the repo.
.PHONY: fmt
Expand Down

0 comments on commit 478fa79

Please sign in to comment.