File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ COPY . /wire-docs
8
8
RUN nix-env -f /wire-docs/nix/default.nix -iA env && \
9
9
rm -rf /wire-docs
10
10
11
- SHELL ["/bin/bash" , "-c" ]
12
- ENTRYPOINT "/bin/bash"
11
+ WORKDIR /mnt
13
12
14
13
ENV USE_POETRY=0
Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ docs-pdf:
38
38
docs-all :
39
39
docker run --rm -v $$(pwd ) :/mnt $(DOCKER_USER ) /$(DOCKER_IMAGE ) :$(DOCKER_TAG ) make clean html pdf
40
40
41
+ .PHONY : clean
42
+ clean :
43
+ rm -rf " $( BUILDDIR) "
44
+
41
45
# Only build part of the documentation
42
46
# See 'exclude_patterns' in source/conf.py
43
47
docs-administrate :
66
70
endif
67
71
68
72
.PHONY : dev-run
69
- dev-run :
70
- rm -rf " $( BUILDDIR) "
73
+ dev-run : clean
71
74
ifeq ($(USE_POETRY ) , 1)
72
75
source $$HOME/.poetry/env && \
73
76
poetry run sphinx-autobuild \
You can’t perform that action at this time.
0 commit comments