Skip to content

Commit 864461f

Browse files
committed
Use locally the same build target as remote (dirhtml)
1 parent 1a79b00 commit 864461f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ help:
1414
.PHONY: help Makefile
1515

1616
livehtml:
17-
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html
17+
sphinx-autobuild -b dirhtml $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/dirhtml
1818

1919
# Catch-all target: route all unknown targets to Sphinx using the new
2020
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
2121
%: Makefile
22-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
22+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ We prefer contributions to our documentation to be in English, but if you wish t
2525
```
2626
docker compose up
2727
```
28-
28+
2929
The live preview will be available at: [http://localhost:8000/](http://localhost:8000/)
30-
30+
3131
#### To build site:
3232

3333
```
34-
docker compose exec cryptomator-docs sphinx-build -M html /source /build/html
34+
docker compose exec cryptomator-docs sphinx-build -M dirhtml /source /build/dirhtml
3535
```
3636

3737
### Without Using Docker
@@ -52,8 +52,8 @@ We prefer contributions to our documentation to be in English, but if you wish t
5252
#### To build site:
5353

5454
```
55-
make clean html
56-
```
55+
make clean dirhtml
56+
```
5757

5858
<!--
5959
How tow record `.gif`s:

docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- ./build:/build
99
command: >
1010
sphinx-autobuild
11-
-b html
11+
-b dirhtml
1212
/source
13-
/build/html
14-
--host 0.0.0.0
13+
/build/dirhtml
14+
--host 0.0.0.0

0 commit comments

Comments
 (0)