diff --git a/Makefile b/Makefile index a1a66e79..30ea921a 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,9 @@ local: test-in-docker: sudo docker build -t welder/lorax:latest -f Dockerfile.test . +docs-in-docker: + sudo docker run -it --rm -v `pwd`/docs/html/:/lorax/docs/html/ --security-opt label=disable welder/lorax-composer:latest make docs + ci: check test .PHONY: docs diff --git a/docs/html/README b/docs/html/README new file mode 100644 index 00000000..615e8738 --- /dev/null +++ b/docs/html/README @@ -0,0 +1,5 @@ +To build the docs for this branch run: +make test-in-docker +make docs-in-docker + +If you already have a welder/lorax-composer:latest docker image you can skip running 'test-in-docker'.