Skip to content

Commit 9797dc5

Browse files
committed
chore: add docs make target
1 parent e998f6a commit 9797dc5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM python:3-alpine
33
RUN mkdir -p /app
44
WORKDIR /app
55
ENV PYTHONUNBUFFERED 1
6+
RUN apk --update add make && rm -rf /var/cache/apk/*
67
COPY setup.py /app/
78
COPY turbasen /app/turbasen/
89
RUN pip install -e .[dev]

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ test:
1212
build:
1313
docker-compose build dev
1414

15+
.PHONY: docs
16+
docs:
17+
docker-compose run --rm dev ash -c "cd docs && make html"
18+
1519
.PHONY: publish
1620
publish:
1721
python setup.py sdist bdist_egg upload --sign

0 commit comments

Comments
 (0)